60 ConstitutiveLaw::Pointer Clone()
const override;
85 void GetLawFeatures(
Features& rFeatures)
override;
92 double& rValue)
override;
99 double& rValue)
override;
106 double TrialYieldFunction(
const Properties& rMaterialProperties,
107 const double& rCurrentStress);
114 bool CheckIfIsPlasticRegime(
Parameters& rValues,
const double& rCurrentStress);
116 void FinalizeMaterialResponsePK2(
Parameters& rValues)
override;
118 void CalculateMaterialResponsePK2(
Parameters& rValues)
override;
120 void CalculateMaterialResponsePK2Custom(
Parameters& rValues,
double& rCurrentAccumulatedPlasticStrain,
double& rCurrentPlasticAlpha);
177 bool mCurrentInElasticFlag =
false;
178 double mPlasticAlpha = 0.0;
179 double mAccumulatedPlasticStrain = 0.0;
201 void save(
Serializer& rSerializer)
const override
204 rSerializer.
save(
"PlasticAlpha", mPlasticAlpha);
205 rSerializer.
save(
"AccumulatedPlasticStrain", mAccumulatedPlasticStrain);
206 rSerializer.
save(
"CurrentInElasticFlag", mCurrentInElasticFlag);
212 rSerializer.
load(
"PlasticAlpha", mPlasticAlpha);
213 rSerializer.
load(
"AccumulatedPlasticStrain", mAccumulatedPlasticStrain);
214 rSerializer.
load(
"CurrentInElasticFlag", mCurrentInElasticFlag);
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
Geometry base class.
Definition: geometry.h:71
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
ConstitutiveLaw BaseType
Definition: truss_plasticity_constitutive_law.h:43
ProcessInfo ProcessInfoType
Definition: truss_plasticity_constitutive_law.h:42
bool RequiresInitializeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: truss_plasticity_constitutive_law.h:122
SizeType GetStrainSize() const override
Definition: truss_plasticity_constitutive_law.h:130
KRATOS_CLASS_POINTER_DEFINITION(TrussPlasticityConstitutiveLaw)
std::size_t SizeType
Definition: truss_plasticity_constitutive_law.h:44
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Parameters GetValue(Parameters &rParameters, const std::string &rEntry)
Definition: add_kratos_parameters_to_python.cpp:53
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
This constitutive law represents a linear hardening plasticity 1D law.
def SetValue(entity, variable, value)
Definition: coupling_interface_data.py:256
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:137
Definition: constitutive_law.h:189