-
Notifications
You must be signed in to change notification settings - Fork 244
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
[CLApp] Registering Plane Strain iso+kin plasticity #11999
Conversation
@@ -101,6 +101,30 @@ void KratosConstitutiveLawsApplication::Register() | |||
KRATOS_REGISTER_CONSTITUTIVE_LAW("SmallStrainIsotropicPlasticity3DTrescaMohrCoulomb", mSmallStrainIsotropicPlasticity3DTrescaMohrCoulomb); | |||
KRATOS_REGISTER_CONSTITUTIVE_LAW("SmallStrainIsotropicPlasticity3DDruckerPragerMohrCoulomb", mSmallStrainIsotropicPlasticity3DDruckerPragerMohrCoulomb); | |||
|
|||
KRATOS_REGISTER_CONSTITUTIVE_LAW("SmallStrainIsotropicPlasticityPlaneStrainVonMisesVonMises", mSmallStrainIsotropicPlasticityPlaneStrainVonMisesVonMises); |
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.
MOAR LAWS!
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.
People are asking for them!
@@ -279,8 +279,8 @@ class GenericConstitutiveLawIntegratorKinematicPlasticity | |||
const Vector& rBackStressVector | |||
) | |||
{ | |||
BoundedArrayType deviator = ZeroVector(6); | |||
BoundedArrayType h_capa = ZeroVector(6); | |||
BoundedArrayType deviator = ZeroVector(VoigtSize); |
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.
:)
array_1d<double, VoigtSize> f_flux; // DF/DS | ||
array_1d<double, VoigtSize> g_flux; // DG/DS | ||
array_1d<double, VoigtSize> plastic_strain_increment; | ||
f_flux.clear(); |
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.
I always have doubts what is faster to clear or manually assign values
📝 Description
That's it. Just registering the plane strain version of the plasticity laws. Some minor optimizations in cls.
@SergioJimenezReyes @rubenzorrilla