-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orthotropy in MFront solid material models #2774
Orthotropy in MFront solid material models #2774
Conversation
OGSToMFront(Q.transpose() | ||
.template topLeftCorner< | ||
KelvinVectorDimensions<DisplacementDim>::value, | ||
KelvinVectorDimensions<DisplacementDim>::value>() * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the topLeftCorner stuff needed now that we have a 2D (4x4) variant of Q?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be brief, yes.
sigma = Q.template topLeftCorner< | ||
KelvinVectorDimensions<DisplacementDim>::value, | ||
KelvinVectorDimensions<DisplacementDim>::value>() * | ||
MFrontToOGS(sigma); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We rotate sigma back into OGS coordinate system, so epsilon and sigma will be output in xyz. All MFront internal variables (ElasticStrain for example) will be output in the local coordinate system. in the _behaviour.symmetry != mgis::behaviour::Behaviour::Symmetry::ISOTROPIC case we could output a warning that his is the case and users have to be careful. Having the local coordinate system as an output in ParaView for use in transformations would be convenient (but not necessary).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A todo at the place where the rotation should happen added.
With the assumption of e3 = z-axis being the third basis vector in the 2D case.
The tensors are rotated before being passed to MFront. The results of MFront including the stiffness tensor.
Backed up by OGS orthotropic elasticity tests. The results are copied from the OGS' references.
Somehow the template deduction of MSVC could not handle the additional parameters with default values.
OpenGeoSys development has been moved to GitLab. |
Orthotropy in MFront solid material models 2D and 3D cases.
Tested against OGS orthotropic elasticity implementation.