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::IsochoricOgdenModel Class Reference

Short class definition. More...

#include <isochoric_ogden_model.hpp>

Inheritance diagram for Kratos::IsochoricOgdenModel:
Collaboration diagram for Kratos::IsochoricOgdenModel:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (IsochoricOgdenModel)
 Pointer definition of IsochoricOgdenModel. More...
 
Life Cycle
 IsochoricOgdenModel ()
 Default constructor. More...
 
 IsochoricOgdenModel (IsochoricOgdenModel const &rOther)
 Copy constructor. More...
 
IsochoricOgdenModeloperator= (IsochoricOgdenModel const &rOther)
 Assignment operator. More...
 
ConstitutiveModel::Pointer Clone () const override
 Clone. More...
 
 ~IsochoricOgdenModel () override
 Destructor. More...
 
Operations
void CalculateStrainEnergy (ModelDataType &rValues, double &rDensityFunction) override
 
void CalculateStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) override
 
void CalculateConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutiveMatrix) override
 
void CalculateStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) 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::OgdenModel
 KRATOS_CLASS_POINTER_DEFINITION (OgdenModel)
 Pointer definition of OgdenModel. More...
 
 OgdenModel ()
 Default constructor. More...
 
 OgdenModel (OgdenModel const &rOther)
 Copy constructor. More...
 
OgdenModeloperator= (OgdenModel const &rOther)
 Assignment operator. More...
 
ConstitutiveModel::Pointer Clone () const override
 Clone. More...
 
 ~OgdenModel () override
 Destructor. More...
 
void CalculateStrainEnergy (ModelDataType &rValues, double &rDensityFunction) override
 
void CalculateConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutiveMatrix) override
 
int Check (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) 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::HyperElasticModel
 HyperElasticModel ()
 Default constructor. More...
 
 HyperElasticModel (HyperElasticModel const &rOther)
 Copy constructor. More...
 
HyperElasticModeloperator= (HyperElasticModel const &rOther)
 Assignment operator. More...
 
 ~HyperElasticModel () 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 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
 
void GetDomainVariablesList (std::vector< Variable< double > > &rScalarVariables, std::vector< Variable< array_1d< double, 3 > > > &rComponentVariables) override
 
 KRATOS_CLASS_POINTER_DEFINITION (HyperElasticModel)
 Pointer definition of HyperElasticModel. 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 CalculateStrainData (ModelDataType &rValues, HyperElasticDataType &rVariables) override
 
void CalculateInvariants (HyperElasticDataType &rVariables) override
 
void CalculateAndAddIsochoricStressTensor (HyperElasticDataType &rVariables, MatrixType &rStressMatrix) override
 
void CalculateAndAddVolumetricStressTensor (HyperElasticDataType &rVariables, MatrixType &rStressMatrix) override
 
void CalculateMainStresses (HyperElasticDataType &rVariables, array_1d< double, 3 > &rMainStresses) override
 
void CalculateMainStressDerivatives (HyperElasticDataType &rVariables, MatrixType &rStressDerivatives) override
 
virtual void CalculateAndAddPerturbedConstitutiveTensor (HyperElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
void CalculateAndAddConstitutiveTensor (HyperElasticDataType &rVariables, Matrix &rConstitutiveMatrix) override
 
doubleCalculateStressDerivativesI (HyperElasticDataType &rVariables, double &rValue, const unsigned int &i, const unsigned int &j) override
 
doubleCalculateStressDerivativesII (HyperElasticDataType &rVariables, double &rValue, const unsigned int &i, const unsigned int &j) override
 
virtual doubleAddIsochoricConstitutiveComponent (HyperElasticDataType &rVariables, double &rCabcd, const array_1d< double, 3 > &rStressEigenValues, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
virtual doubleGetEigenProductRightCauchyGreenDerivative (HyperElasticDataType &rVariables, const unsigned int &i, double &rCabcd, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
virtual doubleGetEigenProductLeftCauchyGreenDerivative (HyperElasticDataType &rVariables, const unsigned int &i, double &rCabcd, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
doubleAddVolumetricConstitutiveComponent (HyperElasticDataType &rVariables, double &rCabcd, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d) override
 
void CalculateScalingFactors (HyperElasticDataType &rVariables) override
 
void CalculateAndAddIsochoricStrainEnergy (HyperElasticDataType &rVariables, double &rIsochoricDensityFunction) override
 
void CalculateAndAddVolumetricStrainEnergy (HyperElasticDataType &rVariables, double &rVolumetricDensityFunction) override
 
doubleGetVolumetricFunction1stJDerivative (HyperElasticDataType &rVariables, double &rDerivative) override
 
doubleGetVolumetricFunction2ndJDerivative (HyperElasticDataType &rVariables, double &rDerivative) override
 
- Protected Member Functions inherited from Kratos::OgdenModel
void CalculateAndAddStressTensor (HyperElasticDataType &rVariables, MatrixType &rStressMatrix) override
 
void CalculateAndAddConstitutiveTensor (HyperElasticDataType &rVariables, Matrix &rConstitutiveMatrix) override
 
virtual void CalculateAndAddConstitutiveTensorB (HyperElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
doubleAddConstitutiveComponent (HyperElasticDataType &rVariables, double &rCabcd, const array_1d< double, 3 > &rVectorDerivative, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
void GetEigenCoincidence (const array_1d< double, 3 > &rStrainEigenValues, array_1d< unsigned int, 3 > &Order, unsigned int &option)
 
doubleCalculateIsotropicTensorDerivative (const MatrixType &rStrainMatrix, const MatrixType &rStrainEigenVectors, const array_1d< double, 3 > &rStrainEigenValues, const MatrixType &rStressDerivatives, const array_1d< double, 3 > &rStressEigenValues, const array_1d< double, 6 > &rOptionFactors, const unsigned int &rOption, double &rCabcd, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
void CalculateDerivativeFactors (array_1d< double, 6 > &rDerivativeFactors, const MatrixType &rStressDerivatives, const array_1d< double, 3 > &rStressEigenValues, const array_1d< double, 3 > &rStrainEigenValues, const array_1d< unsigned int, 3 > &rOrder)
 
void CalculateStrainData (ModelDataType &rValues, HyperElasticDataType &rVariables) override
 
void CalculateAndAddVolumetricStrainEnergy (HyperElasticDataType &rVariables, double &rVolumetricDensityFunction) override
 
- Protected Member Functions inherited from Kratos::HyperElasticModel
virtual void CalculateAndAddIsochoricConstitutiveTensor (HyperElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
virtual void CalculateAndAddVolumetricConstitutiveTensor (HyperElasticDataType &rVariables, Matrix &rConstitutiveMatrix)
 
virtual doubleAddConstitutiveComponent (HyperElasticDataType &rVariables, double &rCabcd, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
virtual doubleAddIsochoricConstitutiveComponent (HyperElasticDataType &rVariables, double &rCabcd, const unsigned int &a, const unsigned int &b, const unsigned int &c, const unsigned int &d)
 
void CalculateStrainInvariants (const MatrixType &rStrainMatrix, double &rI1, double &rI2, double &rI3)
 
MatrixTypeGetJRightCauchyGreenDerivative (const StrainData &rStrain, MatrixType &rDerivative)
 
doubleGetJRightCauchyGreen1stDerivative (const StrainData &rStrain, double &rDerivative, const double &a, const double &b)
 dJ/dC More...
 
doubleGetJRightCauchyGreenSquare1stDerivative (const StrainData &rStrain, double &rDerivative, const double &a, const double &b, const double &c, const double &d)
 dJ/dC More...
 
doubleGetJRightCauchyGreen2ndDerivative (const StrainData &rStrain, double &rDerivative, const double &a, const double &b, const double &c, const double &d)
 
MatrixTypeGetJLeftCauchyGreenDerivative (const StrainData &rStrain, MatrixType &rDerivative)
 
doubleGetJLeftCauchyGreen1stDerivative (const StrainData &rStrain, double &rDerivative, const double &a, const double &b)
 
doubleGetJLeftCauchyGreenSquare1stDerivative (const StrainData &rStrain, double &rDerivative, const double &a, const double &b, const double &c, const double &d)
 
doubleGetJLeftCauchyGreen2ndDerivative (const StrainData &rStrain, double &rDerivative, const double &a, const double &b, const double &c, const double &d)
 

Serialization

class Serializer
 

Additional Inherited Members

- Public Types inherited from Kratos::HyperElasticModel
typedef HyperElasticModelData HyperElasticDataType
 
- 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
 
- Static Protected Attributes inherited from Kratos::HyperElasticModel
static const MatrixType msIdentityMatrix = IdentityMatrix(3)
 

Detailed Description

Short class definition.

Detail class definition.

Constructor & Destructor Documentation

◆ IsochoricOgdenModel() [1/2]

Kratos::IsochoricOgdenModel::IsochoricOgdenModel ( )
inline

Default constructor.

◆ IsochoricOgdenModel() [2/2]

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

Copy constructor.

◆ ~IsochoricOgdenModel()

Kratos::IsochoricOgdenModel::~IsochoricOgdenModel ( )
inlineoverride

Destructor.

Member Function Documentation

◆ AddIsochoricConstitutiveComponent()

virtual double& Kratos::IsochoricOgdenModel::AddIsochoricConstitutiveComponent ( HyperElasticDataType rVariables,
double rCabcd,
const array_1d< double, 3 > &  rStressEigenValues,
const unsigned int a,
const unsigned int b,
const unsigned int c,
const unsigned int d 
)
inlineprotectedvirtual

◆ AddVolumetricConstitutiveComponent()

double& Kratos::IsochoricOgdenModel::AddVolumetricConstitutiveComponent ( HyperElasticDataType rVariables,
double rCabcd,
const unsigned int a,
const unsigned int b,
const unsigned int c,
const unsigned int d 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateAndAddConstitutiveTensor()

void Kratos::IsochoricOgdenModel::CalculateAndAddConstitutiveTensor ( HyperElasticDataType rVariables,
Matrix rConstitutiveMatrix 
)
inlineoverrideprotectedvirtual

Calculate Constitutive Tensor

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateAndAddIsochoricStrainEnergy()

void Kratos::IsochoricOgdenModel::CalculateAndAddIsochoricStrainEnergy ( HyperElasticDataType rVariables,
double rIsochoricDensityFunction 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateAndAddIsochoricStressTensor()

void Kratos::IsochoricOgdenModel::CalculateAndAddIsochoricStressTensor ( HyperElasticDataType rVariables,
MatrixType rStressMatrix 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateAndAddPerturbedConstitutiveTensor()

virtual void Kratos::IsochoricOgdenModel::CalculateAndAddPerturbedConstitutiveTensor ( HyperElasticDataType rVariables,
Matrix rConstitutiveMatrix 
)
inlineprotectedvirtual

◆ CalculateAndAddVolumetricStrainEnergy()

void Kratos::IsochoricOgdenModel::CalculateAndAddVolumetricStrainEnergy ( HyperElasticDataType rVariables,
double rVolumetricDensityFunction 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateAndAddVolumetricStressTensor()

void Kratos::IsochoricOgdenModel::CalculateAndAddVolumetricStressTensor ( HyperElasticDataType rVariables,
MatrixType rStressMatrix 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateConstitutiveTensor()

void Kratos::IsochoricOgdenModel::CalculateConstitutiveTensor ( ModelDataType rValues,
Matrix rConstitutiveMatrix 
)
inlineoverridevirtual

Calculate Constitutive Tensor

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateInvariants()

void Kratos::IsochoricOgdenModel::CalculateInvariants ( HyperElasticDataType rVariables)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateMainStressDerivatives()

void Kratos::IsochoricOgdenModel::CalculateMainStressDerivatives ( HyperElasticDataType rVariables,
MatrixType rStressDerivatives 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::OgdenModel.

◆ CalculateMainStresses()

void Kratos::IsochoricOgdenModel::CalculateMainStresses ( HyperElasticDataType rVariables,
array_1d< double, 3 > &  rMainStresses 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::OgdenModel.

◆ CalculateScalingFactors()

void Kratos::IsochoricOgdenModel::CalculateScalingFactors ( HyperElasticDataType rVariables)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateStrainData()

void Kratos::IsochoricOgdenModel::CalculateStrainData ( ModelDataType rValues,
HyperElasticDataType rVariables 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateStrainEnergy()

void Kratos::IsochoricOgdenModel::CalculateStrainEnergy ( ModelDataType rValues,
double rDensityFunction 
)
inlineoverridevirtual

Calculate Strain Energy Density Functions

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateStressAndConstitutiveTensors()

void Kratos::IsochoricOgdenModel::CalculateStressAndConstitutiveTensors ( ModelDataType rValues,
MatrixType rStressMatrix,
Matrix rConstitutiveMatrix 
)
inlineoverridevirtual

Calculate Stress and Constitutive Tensor

Reimplemented from Kratos::HyperElasticModel.

◆ CalculateStressDerivativesI()

double& Kratos::IsochoricOgdenModel::CalculateStressDerivativesI ( HyperElasticDataType rVariables,
double rValue,
const unsigned int i,
const unsigned int j 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::OgdenModel.

◆ CalculateStressDerivativesII()

double& Kratos::IsochoricOgdenModel::CalculateStressDerivativesII ( HyperElasticDataType rVariables,
double rValue,
const unsigned int i,
const unsigned int j 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::OgdenModel.

◆ CalculateStressTensor()

void Kratos::IsochoricOgdenModel::CalculateStressTensor ( ModelDataType rValues,
MatrixType rStressMatrix 
)
inlineoverridevirtual

Calculate Stresses

Reimplemented from Kratos::HyperElasticModel.

◆ Clone()

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

Clone.

Reimplemented from Kratos::HyperElasticModel.

◆ GetEigenProductLeftCauchyGreenDerivative()

virtual double& Kratos::IsochoricOgdenModel::GetEigenProductLeftCauchyGreenDerivative ( HyperElasticDataType rVariables,
const unsigned int i,
double rCabcd,
const unsigned int a,
const unsigned int b,
const unsigned int c,
const unsigned int d 
)
inlineprotectedvirtual

◆ GetEigenProductRightCauchyGreenDerivative()

virtual double& Kratos::IsochoricOgdenModel::GetEigenProductRightCauchyGreenDerivative ( HyperElasticDataType rVariables,
const unsigned int i,
double rCabcd,
const unsigned int a,
const unsigned int b,
const unsigned int c,
const unsigned int d 
)
inlineprotectedvirtual

◆ GetVolumetricFunction1stJDerivative()

double& Kratos::IsochoricOgdenModel::GetVolumetricFunction1stJDerivative ( HyperElasticDataType rVariables,
double rDerivative 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ GetVolumetricFunction2ndJDerivative()

double& Kratos::IsochoricOgdenModel::GetVolumetricFunction2ndJDerivative ( HyperElasticDataType rVariables,
double rDerivative 
)
inlineoverrideprotectedvirtual

Reimplemented from Kratos::HyperElasticModel.

◆ Info()

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

Turn back information as a string.

Reimplemented from Kratos::HyperElasticModel.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::IsochoricOgdenModel::KRATOS_CLASS_POINTER_DEFINITION ( IsochoricOgdenModel  )

Pointer definition of IsochoricOgdenModel.

◆ operator=()

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

Assignment operator.

◆ PrintData()

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

Print object's data.

Reimplemented from Kratos::HyperElasticModel.

◆ PrintInfo()

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

Print information about this object.

Reimplemented from Kratos::HyperElasticModel.

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

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