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 <small_strain_umat_model.hpp>
Classes | |
struct | UmatModelData |
Public Member Functions | |
Life Cycle | |
SmallStrainUmatModel () | |
Default constructor. More... | |
SmallStrainUmatModel (SmallStrainUmatModel const &rOther) | |
Copy constructor. More... | |
virtual ConstitutiveModel::Pointer | Clone () const override |
Clone. More... | |
SmallStrainUmatModel & | operator= (SmallStrainUmatModel const &rOther) |
Assignment operator. More... | |
virtual | ~SmallStrainUmatModel () |
Destructor. More... | |
Operations | |
virtual void | InitializeModel (ModelDataType &rValues) override |
virtual void | FinalizeModel (ModelDataType &rValues) override |
virtual void | CalculateStrainEnergy (ModelDataType &rValues, double &rDensityFunction) override |
virtual void | CalculateStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) override |
virtual void | CalculateConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutiveMatrix) override |
virtual void | CalculateStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override |
virtual int | Check (const Properties &rMaterialProperties, const ProcessInfo &rCurrentProcessInfo) override |
Access | |
virtual void | SetValue (const Variable< Vector > &rThisVariable, const Vector &rValue, const ProcessInfo &rCurrentProcessInfo) override |
virtual void | SetValue (const Variable< Matrix > &rThisVariable, const Matrix &rValue, const ProcessInfo &rCurrentProcessInfo) override |
virtual void | GetDomainVariablesList (std::vector< Variable< double > > &rScalarVariables, std::vector< Variable< array_1d< double, 3 > > > &rComponentVariables) override |
double & | GetValue (const Variable< double > &, double &rValue) override |
Input and output | |
virtual std::string | Info () const override |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
virtual 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 void | CalculateIsochoricStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) |
virtual void | CalculateVolumetricStressTensor (ModelDataType &rValues, MatrixType &rStressMatrix) |
virtual void | CalculateIsochoricConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutive) |
virtual void | CalculateVolumetricConstitutiveTensor (ModelDataType &rValues, Matrix &rConstitutive) |
virtual void | CalculateIsochoricStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutive) |
virtual void | CalculateVolumetricStressAndConstitutiveTensors (ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutive) |
virtual bool | Has (const Variable< double > &rThisVariable) |
virtual void | SetValue (const Variable< double > &rVariable, const double &rValue, const ProcessInfo &rCurrentProcessInfo) |
KRATOS_CLASS_POINTER_DEFINITION (ConstitutiveModel) | |
Pointer definition of ConstitutiveModel. More... | |
Protected Member Functions | |
Protected Operations | |
virtual void | InitializeStateVariables (Vector &rStateVariables, const Properties &rMaterialProperties) |
void | InitializeElasticData (ModelDataType &rValues, UmatDataType &rVariables) |
virtual unsigned int | GetNumberOfStateVariables () |
virtual void | CreateConstitutiveParametersVector (double *&rpVector, int &rNumberParameters, const Properties &rMaterialProperties) |
virtual void | CreateStateVariablesVector (double *&rpStateVariables, int &rNumberStateVariables) |
virtual void | CreateStrainsVectors (UmatDataType &rVariables, double *&rpStrain, double *&rpIncrementalStrain) |
virtual void | CreateStressAtInitialState (UmatDataType &rVariables, double *&rpStressVector) |
virtual void | UpdateVariables (UmatDataType &rVariables, double *&rpStressVector, double *&rpStateVariables, double Pressure=0.0) |
virtual int | GetConstitutiveEquationNumber () |
virtual void | SetConstitutiveMatrix (Matrix &rC, const Matrix &rCBig, const MatrixType &rStressMatrix) |
Protected Attributes | |
Protected member Variables | |
bool | mInitializedModel |
Vector | mStateVariablesFinalized |
VectorType | mStressVectorFinalized |
VectorType | mStrainVectorFinalized |
Protected Attributes inherited from Kratos::ConstitutiveModel | |
Flags | mOptions |
VectorType | mHistoryVector |
Type Definitions | |
typedef UmatModelData | UmatDataType |
KRATOS_CLASS_POINTER_DEFINITION (SmallStrainUmatModel) | |
Pointer definition of SmallStrainUmatModel. 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] |
Short class definition.
Detail class definition.
Kratos::SmallStrainUmatModel::SmallStrainUmatModel | ( | ) |
Default constructor.
Kratos::SmallStrainUmatModel::SmallStrainUmatModel | ( | SmallStrainUmatModel const & | rOther | ) |
Copy constructor.
|
virtual |
Destructor.
|
overridevirtual |
Calculate Constitutive Tensor
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 |
Check
Reimplemented from Kratos::ConstitutiveModel.
|
overridevirtual |
Clone.
Reimplemented from Kratos::ConstitutiveModel.
Reimplemented in Kratos::VonMisesSmallStrainUmatModel, Kratos::VonMisesLargeStrainUmatModel, Kratos::LargeStrainUmatModel, Kratos::HypoplasticSmallStrainUmatModel, and Kratos::FabricSmallStrainUmatModel.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in Kratos::LargeStrainUmatModel.
|
inlineprotectedvirtual |
Reimplemented in Kratos::LargeStrainUmatModel.
|
overridevirtual |
Finalize member data
Reimplemented from Kratos::ConstitutiveModel.
|
inlineprotectedvirtual |
|
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.
|
inlineprotectedvirtual |
|
overridevirtual |
Get Values
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::ConstitutiveModel.
Reimplemented in Kratos::VonMisesSmallStrainUmatModel, Kratos::VonMisesLargeStrainUmatModel, Kratos::LargeStrainUmatModel, Kratos::HypoplasticSmallStrainUmatModel, and Kratos::FabricSmallStrainUmatModel.
|
protected |
|
overridevirtual |
Initialize member data
Reimplemented from Kratos::ConstitutiveModel.
|
inlineprotectedvirtual |
Reimplemented in Kratos::FabricSmallStrainUmatModel.
Kratos::SmallStrainUmatModel::KRATOS_CLASS_POINTER_DEFINITION | ( | SmallStrainUmatModel | ) |
Pointer definition of SmallStrainUmatModel.
SmallStrainUmatModel & Kratos::SmallStrainUmatModel::operator= | ( | SmallStrainUmatModel const & | rOther | ) |
Assignment operator.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::ConstitutiveModel.
Reimplemented in Kratos::VonMisesSmallStrainUmatModel, Kratos::VonMisesLargeStrainUmatModel, Kratos::LargeStrainUmatModel, Kratos::HypoplasticSmallStrainUmatModel, and Kratos::FabricSmallStrainUmatModel.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::ConstitutiveModel.
Reimplemented in Kratos::VonMisesSmallStrainUmatModel, Kratos::VonMisesLargeStrainUmatModel, Kratos::LargeStrainUmatModel, Kratos::HypoplasticSmallStrainUmatModel, and Kratos::FabricSmallStrainUmatModel.
|
protectedvirtual |
Reimplemented in Kratos::LargeStrainUmatModel.
|
inlineoverridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
inlineoverridevirtual |
Reimplemented from Kratos::ConstitutiveModel.
|
inlineprotectedvirtual |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |