10 #if !defined(KRATOS_LINEAR_ELASTIC_MODEL_H_INCLUDED )
11 #define KRATOS_LINEAR_ELASTIC_MODEL_H_INCLUDED
102 ConstitutiveModel::Pointer Clone()
const override;
153 void CalculateConstitutiveTensor(
ModelDataType& rValues,
Matrix& rConstitutiveMatrix)
override;
155 void CalculateIsochoricConstitutiveTensor(
ModelDataType& rValues,
Matrix& rConstitutiveMatrix)
override;
157 void CalculateVolumetricConstitutiveTensor(
ModelDataType& rValues,
Matrix& rConstitutiveMatrix)
override;
164 void CalculateIsochoricStressAndConstitutiveTensors(
ModelDataType& rValues,
MatrixType& rStressMatrix,
Matrix& rConstitutiveMatrix)
override;
166 void CalculateVolumetricStressAndConstitutiveTensors(
ModelDataType& rValues,
MatrixType& rStressMatrix,
Matrix& rConstitutiveMatrix)
override;
221 rComponentVariables.push_back(DISPLACEMENT);
236 std::string
Info()
const override
238 std::stringstream buffer;
239 buffer <<
"LinearElasticModel";
246 rOStream <<
"LinearElasticModel";
252 rOStream <<
"LinearElasticModel Data";
286 virtual void CalculateAndAddStressTensor(ElasticDataType& rVariables,
VectorType& rStrainVector,
VectorType& rStressVector);
288 virtual void CalculateAndAddIsochoricStressTensor(ElasticDataType& rVariables,
VectorType& rStrainVector,
VectorType& rStressVector);
290 virtual void CalculateAndAddVolumetricStressTensor(ElasticDataType& rVariables,
VectorType& rStrainVector,
VectorType& rStressVector);
295 virtual void CalculateAndAddConstitutiveTensor(ElasticDataType& rVariables,
Matrix& rConstitutiveMatrix);
297 virtual void CalculateAndAddConstitutiveTensor(ElasticDataType& rVariables);
299 virtual void CalculateAndAddIsochoricConstitutiveTensor(ElasticDataType& rVariables,
Matrix& rConstitutiveMatrix);
301 virtual void CalculateAndAddIsochoricConstitutiveTensor(ElasticDataType& rVariables);
304 virtual void CalculateAndAddVolumetricConstitutiveTensor(ElasticDataType& rVariables,
Matrix& rConstitutiveMatrix);
306 virtual void CalculateAndAddVolumetricConstitutiveTensor(ElasticDataType& rVariables);
310 void InitializeElasticData(ModelDataType& rValues, ElasticDataType& rVariables);
360 void save(
Serializer& rSerializer)
const override
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: constitutive_model.hpp:52
Definition: amatrix_interface.h:41
Short class definition.
Definition: linear_elastic_model.hpp:50
ElasticModelData ElasticDataType
Definition: linear_elastic_model.hpp:85
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: linear_elastic_model.hpp:244
std::string Info() const override
Turn back information as a string.
Definition: linear_elastic_model.hpp:236
void SetValue(const Variable< Vector > &rThisVariable, const Vector &rValue, const ProcessInfo &rCurrentProcessInfo) override
Definition: linear_elastic_model.hpp:178
void GetDomainVariablesList(std::vector< Variable< double > > &rScalarVariables, std::vector< Variable< array_1d< double, 3 > > > &rComponentVariables) override
Definition: linear_elastic_model.hpp:216
void SetValue(const Variable< Matrix > &rThisVariable, const Matrix &rValue, const ProcessInfo &rCurrentProcessInfo) override
Definition: linear_elastic_model.hpp:195
KRATOS_CLASS_POINTER_DEFINITION(LinearElasticModel)
Pointer definition of LinearElasticModel.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: linear_elastic_model.hpp:250
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
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
double CalculateStrainEnergy(Element &rElement)
Definition: mpm_energy_calculation_utility.cpp:89
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_model_data.hpp:92
Definition: constitutive_model_data.hpp:383
const MaterialData & GetMaterialParameters() const
Definition: constitutive_model_data.hpp:462
Definition: linear_elastic_model.hpp:54
Flags & State()
Definition: linear_elastic_model.hpp:73
void SetModelData(const ModelDataType &rModelData)
Definition: linear_elastic_model.hpp:66
const ModelDataType & GetModelData() const
Definition: linear_elastic_model.hpp:69
const Flags & GetState() const
Definition: linear_elastic_model.hpp:76
BoundedMatrix< double, 6, 6 > ConstitutiveTensor
Definition: linear_elastic_model.hpp:62
void SetState(Flags &rState)
Definition: linear_elastic_model.hpp:65
const MaterialDataType & GetMaterialParameters() const
Definition: linear_elastic_model.hpp:70