v8.2.0
[8.2.0] - 2024-03-25
Added
- Add methods to evaluate different strain measures of a field container, i.e.
FieldContainer.evaluate.strain(tensor=True, asvoigt=False, k=0)
,FieldContainer.evaluate.log_strain(tensor=True, asvoigt=False)
orFieldContainer.evaluate.green_lagrange_strain(tensor=True, asvoigt=False)
. These methods refer tomath.strain(k=0)
which usesmath.strain_stretch_1d(k=0)
by default with the strain exponentk
of the Seth-Hill strain formulation.
Changed
- Change the return type of
math.eig()
which returns a namedtuple with attributeseigenvalues
andeigenvectors
. Now consistent with NumPy. This also affectsmath.eigh()
. - Change the shape of the array of eigenvectors returned by
math.eig()
from(a, i, ...)
to(i, a, ...)
. Now consistent with NumPy. This also affectsmath.eigh()
. - Switch from a hard-coded logarithmic strain evaluation to a more generalized Seth-Hill strain-stretch relation in
math.strain(fun=math.strain_stretch_1d, k=0)
with a default strain-exponent ofk=0
which returns the logarithmic strain.
What's Changed
- Enhance plots of quadrature schemes by @adtzlr in #723
- Enhance the plots of
GaussLegendreBoundary
by @adtzlr in #724 - Add
FieldContainer.evaluate.strain()
by @adtzlr in #726
Full Changelog: v8.1.0...v8.2.0