22 #include "custom_utilities/constitutive_law_utilities.h"
55 template <
class TConstLawIntegratorType>
64 static constexpr
SizeType Dimension = TConstLawIntegratorType::Dimension;
67 static constexpr
SizeType VoigtSize = TConstLawIntegratorType::VoigtSize;
86 static constexpr
double tolerance = std::numeric_limits<double>::epsilon();
87 static constexpr
double threshold_tolerance = 1.0e-5;
103 ConstitutiveLaw::Pointer
Clone()
const override
105 return Kratos::make_shared<GenericSmallStrainThermalIsotropicDamage<TConstLawIntegratorType>>(*this);
113 mReferenceTemperature(rOther.mReferenceTemperature)
145 void InitializeMaterial(
148 const Vector& rShapeFunctionsValues
172 const double& rValue,
263 return mReferenceTemperature;
272 mReferenceTemperature = ToRefTemperature;
292 double mReferenceTemperature = 0.0;
318 void save(
Serializer &rSerializer)
const override
321 rSerializer.
save(
"ReferenceTemperature", mReferenceTemperature);
327 rSerializer.
load(
"ReferenceTemperature", mReferenceTemperature);
This class includes several utilities necessaries for the computation of the constitutive law.
Definition: advanced_constitutive_law_utilities.h:59
This class includes several utilities necessaries for the computation of the constitutive law.
Definition: constitutive_law_utilities.h:63
This class is the base class which define all the constitutive laws for damage in small deformation.
Definition: generic_small_strain_isotropic_damage.h:58
std::conditional< VoigtSize==6, ElasticIsotropic3D, LinearPlaneStrain >::type BaseType
Definition of the base class.
Definition: generic_small_strain_isotropic_damage.h:70
This class derives from the Isotropic damage CL and adds thermal effects (material properties affecta...
Definition: generic_small_strain_thermal_isotropic_damage.h:58
KRATOS_CLASS_POINTER_DEFINITION(GenericSmallStrainThermalIsotropicDamage)
Counted pointer of GenericYieldSurface.
bool RequiresFinalizeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: generic_small_strain_thermal_isotropic_damage.h:190
GenericSmallStrainThermalIsotropicDamage()
Definition: generic_small_strain_thermal_isotropic_damage.h:96
~GenericSmallStrainThermalIsotropicDamage() override
Definition: generic_small_strain_thermal_isotropic_damage.h:120
void SetReferenceTemperature(const double ToRefTemperature)
Sets the reference temperature.
Definition: generic_small_strain_thermal_isotropic_damage.h:270
double & GetReferenceTemperature()
Retrieve the reference temperature.
Definition: generic_small_strain_thermal_isotropic_damage.h:261
ConstitutiveLaw::Pointer Clone() const override
Definition: generic_small_strain_thermal_isotropic_damage.h:103
bool RequiresInitializeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: generic_small_strain_thermal_isotropic_damage.h:198
GenericSmallStrainThermalIsotropicDamage(const GenericSmallStrainThermalIsotropicDamage &rOther)
Definition: generic_small_strain_thermal_isotropic_damage.h:111
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
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
bool Has(const std::string &ModelerName)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:24
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
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
def SetValue(entity, variable, value)
Definition: coupling_interface_data.py:256
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189