From b11ad8c774e9353558e32fa15b36d9ce834f6c53 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 23 Mar 2023 07:51:34 +0100 Subject: [PATCH] helpful information on strain calculation --- python/damask/_result.py | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/python/damask/_result.py b/python/damask/_result.py index f6dddc9a0..b18d9a11c 100644 --- a/python/damask/_result.py +++ b/python/damask/_result.py @@ -1203,7 +1203,7 @@ class Result: 'label': f"epsilon_{t}^{m}({F['label']})", 'meta': { 'unit': F['meta']['unit'], - 'description': f'strain tensor of order {m} based on {side} stretch tensor '+\ + 'description': f'Seth-Hill strain tensor of order {m} based on {side} stretch tensor '+\ f"of {F['label']} ({F['meta']['description']})", 'creator': 'add_strain' } @@ -1212,10 +1212,11 @@ class Result: F: str = 'F', t: Literal['V', 'U'] = 'V', m: float = 0.0): - """ - Add strain tensor of a deformation gradient. + r""" + Add strain tensor (Seth-Hill family) of a deformation gradient. - For details, see damask.mechanics.strain. + By default, the logarithmic strain based on the + left stretch tensor is added. Parameters ---------- @@ -1249,6 +1250,18 @@ class Result: spatial/Eulerian strain measures (based on 'V') for elastic strains when calculating averages. + The strain is defined as: + + .. math:: + + \vb*{\epsilon}_V^{(m)} = \frac{1}{2m} (\vb{V}^{2m} - \vb{I}) \\\\ + \vb*{\epsilon}_U^{(m)} = \frac{1}{2m} (\vb{U}^{2m} - \vb{I}) + + References + ---------- + | https://en.wikipedia.org/wiki/Finite_strain_theory + | https://de.wikipedia.org/wiki/Verzerrungstensor + """ self._add_generic_pointwise(self._add_strain,{'F':F},{'t':t,'m':m})