KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Short class definition. More...
#include <linear_elastic_model.hpp>
Classes | |
struct | ElasticModelData |
Public Member Functions | |
Life Cycle | |
LinearElasticModel () | |
Default constructor. More... | |
LinearElasticModel (LinearElasticModel const &rOther) | |
Copy constructor. More... | |
ConstitutiveModel::Pointer | Clone () const override |
Clone. More... | |
LinearElasticModel & | operator= (LinearElasticModel const &rOther) |
Assignment operator. More... | |
~LinearElasticModel () override | |
Destructor. More... | |
Operations | |
void | InitializeModel (ModelDataType &rValues) override |
void | FinalizeModel (ModelDataType &rValues) override |
void | CalculateStrainEnergy (ModelDataType &rValues, double &rDensityFunction) override |
void | CalculateStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) override |
void | CalculateIsochoricStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) override |
void | CalculateVolumetricStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) override |
void | CalculateConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutiveMatrix) override |
void | CalculateIsochoricConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutiveMatrix) override |
void | CalculateVolumetricConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutiveMatrix) override |
void | CalculateStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override |
void | CalculateIsochoricStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override |
void | CalculateVolumetricStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override |
int | Check (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) override |
Access | |
void | SetValue (const Variable< Vector > &rThisVariable, const Vector &rValue, const ProcessInfo &rCurrentProcessInfo) override |
void | SetValue (const Variable< Matrix > &rThisVariable, const Matrix &rValue, const ProcessInfo &rCurrentProcessInfo) override |
void | GetDomainVariablesList (std::vector< Variable< double > > &rScalarVariables, std::vector< Variable< array_1d< double, 3 > > > &rComponentVariables) override |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::ConstitutiveModel | |
KRATOS_DEFINE_LOCAL_FLAG (ADD_HISTORY_VECTOR) | |
KRATOS_DEFINE_LOCAL_FLAG (HISTORY_STRAIN_MEASURE) | |
KRATOS_DEFINE_LOCAL_FLAG (HISTORY_STRESS_MEASURE) | |
ConstitutiveModel () | |
Default constructor. More... | |
ConstitutiveModel (ConstitutiveModel const &rOther) | |
Copy constructor. More... | |
ConstitutiveModel & | operator= (ConstitutiveModel const &rOther) |
Assignment operator. More... | |
virtual | ~ConstitutiveModel () |
Destructor. More... | |
virtual void | InitializeMaterial (const Properties &rProperties) |
virtual bool | Has (const Variable< double > &rThisVariable) |
virtual void | SetValue (const Variable< double > &rVariable, const double &rValue, const ProcessInfo &rCurrentProcessInfo) |
virtual double & | GetValue (const Variable< double > &rThisVariable, double &rValue) |
KRATOS_CLASS_POINTER_DEFINITION (ConstitutiveModel) | |
Pointer definition of ConstitutiveModel. More... | |
Type Definitions | |
typedef ElasticModelData | ElasticDataType |
KRATOS_CLASS_POINTER_DEFINITION (LinearElasticModel) | |
Pointer definition of LinearElasticModel. More... | |
Serialization | |
class | Serializer |
Additional Inherited Members | |
Public Types inherited from Kratos::ConstitutiveModel | |
typedef ConstitutiveModelData::SizeType | SizeType |
typedef ConstitutiveModelData::VectorType | VectorType |
typedef ConstitutiveModelData::MatrixType | MatrixType |
typedef ConstitutiveModelData::ModelData | ModelDataType |
typedef ConstitutiveModelData::MaterialData | MaterialDataType |
typedef ConstitutiveModelData::StrainMeasureType | StrainMeasureType |
typedef ConstitutiveModelData::StressMeasureType | StressMeasureType |
Protected Types inherited from Kratos::ConstitutiveModel | |
using | VoigtIndexType = const unsigned int(*)[2] |
Protected Attributes inherited from Kratos::ConstitutiveModel | |
Flags | mOptions |
VectorType | mHistoryVector |
Short class definition.
Detail class definition.
Kratos::LinearElasticModel::LinearElasticModel | ( | ) |
Default constructor.
Kratos::LinearElasticModel::LinearElasticModel | ( | LinearElasticModel const & | rOther | ) |
Copy constructor.
|
override |
Destructor.
|
protectedvirtual |
|
protectedvirtual |
Calculate Constitutive Tensor
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Calculate Stresses
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overridevirtual |
Calculate Constitutive Tensor
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Calculate Strain Energy Density Functions
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Calculate Stress and Constitutive Tensor
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Calculate Stresses
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Check
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Clone.
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Finalize member data
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
method to ask the plasticity model the list of variables (dofs) needed from the domain
rScalarVariables | : list of scalar dofs |
rComponentVariables | : list of vector dofs |
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::ConstitutiveModel.
|
protected |
|
overridevirtual |
Initialize member data
Reimplemented from Kratos::ConstitutiveModel.
Kratos::LinearElasticModel::KRATOS_CLASS_POINTER_DEFINITION | ( | LinearElasticModel | ) |
Pointer definition of LinearElasticModel.
LinearElasticModel & Kratos::LinearElasticModel::operator= | ( | LinearElasticModel const & | rOther | ) |
Assignment operator.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
friend |