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.
List of all members
Kratos::IncompressibleHypoElasticModel Class Reference

Short class definition. More...

#include <incompressible_hypo_elastic_model.hpp>

Inheritance diagram for Kratos::IncompressibleHypoElasticModel:
Collaboration diagram for Kratos::IncompressibleHypoElasticModel:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (IncompressibleHypoElasticModel)
 Pointer definition of IncompressibleHypoElasticModel. More...
 
Life Cycle
 IncompressibleHypoElasticModel ()
 Default constructor. More...
 
 IncompressibleHypoElasticModel (IncompressibleHypoElasticModel const &rOther)
 Copy constructor. More...
 
IncompressibleHypoElasticModeloperator= (IncompressibleHypoElasticModel const &rOther)
 Assignment operator. More...
 
ConstitutiveModel::Pointer Clone () const override
 Clone. More...
 
 ~IncompressibleHypoElasticModel () override
 Destructor. More...
 
Operations
int Check (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) override
 
Access
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::IsochoricHypoElasticModel
 KRATOS_CLASS_POINTER_DEFINITION (IsochoricHypoElasticModel)
 Pointer definition of IsochoricHypoElasticModel. More...
 
 IsochoricHypoElasticModel ()
 Default constructor. More...
 
 IsochoricHypoElasticModel (IsochoricHypoElasticModel const &rOther)
 Copy constructor. More...
 
IsochoricHypoElasticModeloperator= (IsochoricHypoElasticModel const &rOther)
 Assignment operator. More...
 
ConstitutiveModel::Pointer Clone () const override
 Clone. More...
 
 ~IsochoricHypoElasticModel () override
 Destructor. More...
 
void CalculateStrainEnergy (ModelDataType &rValues, double &rDensityFunction) override
 
void CalculateStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) override
 
void CalculateStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override
 
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::HypoElasticModel
 HypoElasticModel ()
 Default constructor. More...
 
 HypoElasticModel (HypoElasticModel const &rOther)
 Copy constructor. More...
 
HypoElasticModeloperator= (HypoElasticModel const &rOther)
 Assignment operator. More...
 
 ~HypoElasticModel () override
 Destructor. More...
 
void InitializeModel (ModelDataType &rValues) override
 
void FinalizeModel (ModelDataType &rValues) 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 CalculateIsochoricStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override
 
void CalculateVolumetricStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override
 
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
 
 KRATOS_CLASS_POINTER_DEFINITION (HypoElasticModel)
 Pointer definition of HypoElasticModel. 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...
 
ConstitutiveModeloperator= (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 doubleGetValue (const Variable< double > &rThisVariable, double &rValue)
 
 KRATOS_CLASS_POINTER_DEFINITION (ConstitutiveModel)
 Pointer definition of ConstitutiveModel. More...
 

Protected Member Functions

Protected Operations
void CalculateAndAddVolumetricStressTensor (ElasticDataType &rVariables, VectorType &rStrainVector, VectorType &rStressVector) override
 
void CalculateAndAddVolumetricStrainEnergy (ElasticDataType &rVariables, double &rVolumetricDensityFunction) override
 
- Protected Member Functions inherited from Kratos::IsochoricHypoElasticModel
void CalculateAndAddIsochoricStressTensor (ElasticDataType &rVariables, VectorType &rStrainVector, VectorType &rStressVector) override
 
void CalculateAndAddVolumetricStressTensor (ElasticDataType &rVariables, VectorType &rStrainVector, VectorType &rStressVector) override
 
void CalculateAndAddIsochoricStrainEnergy (ElasticDataType &rVariables, double &rIsochoricDensityFunction) override
 
void CalculateAndAddVolumetricStrainEnergy (ElasticDataType &rVariables, double &rVolumetricDensityFunction) override
 
- Protected Member Functions inherited from Kratos::HypoElasticModel
void AddHistoricalStress (ModelDataType &rValues, MatrixType &rStressMatrix)
 
virtual void CalculateAndAddStressTensor (ElasticDataType &rVariables, VectorType &rStrainVector, VectorType &rStressVector)
 
virtual void CalculateAndAddConstitutiveTensor (ElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
virtual void CalculateAndAddConstitutiveTensor (ElasticDataType &rVariables)
 
virtual void CalculateAndAddIsochoricConstitutiveTensor (ElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
virtual void CalculateAndAddIsochoricConstitutiveTensor (ElasticDataType &rVariables)
 
virtual void CalculateAndAddVolumetricConstitutiveTensor (ElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
virtual void CalculateAndAddVolumetricConstitutiveTensor (ElasticDataType &rVariables)
 
void InitializeElasticData (ModelDataType &rValues, ElasticDataType &rVariables)
 

Serialization

class Serializer
 

Additional Inherited Members

- Public Types inherited from Kratos::HypoElasticModel
typedef ElasticModelData ElasticDataType
 
- 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
 

Detailed Description

Short class definition.

Detail class definition.

Constructor & Destructor Documentation

◆ IncompressibleHypoElasticModel() [1/2]

Kratos::IncompressibleHypoElasticModel::IncompressibleHypoElasticModel ( )
inline

Default constructor.

◆ IncompressibleHypoElasticModel() [2/2]

Kratos::IncompressibleHypoElasticModel::IncompressibleHypoElasticModel ( IncompressibleHypoElasticModel const &  rOther)
inline

Copy constructor.

◆ ~IncompressibleHypoElasticModel()

Kratos::IncompressibleHypoElasticModel::~IncompressibleHypoElasticModel ( )
inlineoverride

Destructor.

Member Function Documentation

◆ CalculateAndAddVolumetricStrainEnergy()

void Kratos::IncompressibleHypoElasticModel::CalculateAndAddVolumetricStrainEnergy ( ElasticDataType rVariables,
double rVolumetricDensityFunction 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HypoElasticModel.

◆ CalculateAndAddVolumetricStressTensor()

void Kratos::IncompressibleHypoElasticModel::CalculateAndAddVolumetricStressTensor ( ElasticDataType rVariables,
VectorType rStrainVector,
VectorType rStressVector 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HypoElasticModel.

◆ Check()

int Kratos::IncompressibleHypoElasticModel::Check ( const Properties rProperties,
const ProcessInfo rCurrentProcessInfo 
)
inlineoverridevirtual

Check

Reimplemented from Kratos::HypoElasticModel.

◆ Clone()

ConstitutiveModel::Pointer Kratos::IncompressibleHypoElasticModel::Clone ( ) const
inlineoverridevirtual

Clone.

Reimplemented from Kratos::HypoElasticModel.

◆ GetDomainVariablesList()

void Kratos::IncompressibleHypoElasticModel::GetDomainVariablesList ( std::vector< Variable< double > > &  rScalarVariables,
std::vector< Variable< array_1d< double, 3 > > > &  rComponentVariables 
)
inlineoverridevirtual

method to ask the constitutive model the list of variables (dofs) needed from the domain

Parameters
rScalarVariables: list of scalar dofs
rComponentVariables: list of vector dofs

Reimplemented from Kratos::HypoElasticModel.

◆ Info()

std::string Kratos::IncompressibleHypoElasticModel::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::HypoElasticModel.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::IncompressibleHypoElasticModel::KRATOS_CLASS_POINTER_DEFINITION ( IncompressibleHypoElasticModel  )

Pointer definition of IncompressibleHypoElasticModel.

◆ operator=()

IncompressibleHypoElasticModel& Kratos::IncompressibleHypoElasticModel::operator= ( IncompressibleHypoElasticModel const &  rOther)
inline

Assignment operator.

◆ PrintData()

void Kratos::IncompressibleHypoElasticModel::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::HypoElasticModel.

◆ PrintInfo()

void Kratos::IncompressibleHypoElasticModel::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::HypoElasticModel.

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

The documentation for this class was generated from the following file: