10 #if !defined(KRATOS_LINEAR_ASSOCIATIVE_PLASTICITY_MODEL_H_INCLUDED )
11 #define KRATOS_LINEAR_ASSOCIATIVE_PLASTICITY_MODEL_H_INCLUDED
48 template<
class TElasticityModel,
class TYieldSurface>
104 virtual ConstitutiveModel::Pointer
Clone()
const override
106 return Kratos::make_shared<LinearAssociativePlasticityModel>(*
this);
138 virtual std::string
Info()
const override
140 std::stringstream buffer;
141 buffer <<
"LinearAssociativePlasticityModel" ;
146 virtual void PrintInfo(std::ostream& rOStream)
const override
148 rOStream <<
"LinearAssociativePlasticityModel";
152 virtual void PrintData(std::ostream& rOStream)
const override
154 rOStream <<
"LinearAssociativePlasticityModel Data";
188 double DeltaStateFunction = 0;
190 double& rEquivalentPlasticStrain = rVariables.Internal.Variables[0];
191 double& rDeltaGamma = rVariables.DeltaInternal.Variables[0];
194 double StateFunction = rVariables.TrialStateFunction;
197 DeltaStateFunction = this->mYieldSurface.CalculateDeltaStateFunction( rVariables, DeltaStateFunction );
200 rDeltaGamma = StateFunction/DeltaStateFunction;
203 DeltaPlasticStrain = sqrt(2.0/3.0) * rDeltaGamma;
204 rEquivalentPlasticStrain += DeltaPlasticStrain;
257 virtual void save(
Serializer& rSerializer)
const override
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: amatrix_interface.h:41
Short class definition.
Definition: linear_associative_plasticity_model.hpp:50
virtual ConstitutiveModel::Pointer Clone() const override
Clone.
Definition: linear_associative_plasticity_model.hpp:104
BaseType::Pointer BaseTypePointer
Definition: linear_associative_plasticity_model.hpp:71
virtual ~LinearAssociativePlasticityModel()
Destructor.
Definition: linear_associative_plasticity_model.hpp:110
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: linear_associative_plasticity_model.hpp:146
PlasticityModel< ElasticityModelType, YieldSurfaceType > BaseType
Definition: linear_associative_plasticity_model.hpp:68
BaseType::VoigtIndexType VoigtIndexType
Definition: linear_associative_plasticity_model.hpp:73
BaseType::InternalVariablesType InternalVariablesType
Definition: linear_associative_plasticity_model.hpp:78
LinearAssociativePlasticityModel(ElasticityModelPointer pElasticityModel, YieldSurfacePointer pYieldSurface)
Constructor.
Definition: linear_associative_plasticity_model.hpp:91
virtual bool CalculateReturnMapping(PlasticDataType &rVariables, MatrixType &rStressMatrix)
Definition: linear_associative_plasticity_model.hpp:183
TElasticityModel ElasticityModelType
Definition: linear_associative_plasticity_model.hpp:57
KRATOS_CLASS_POINTER_DEFINITION(LinearAssociativePlasticityModel)
Pointer definition of LinearAssociativePlasticityModel.
virtual std::string Info() const override
Turn back information as a string.
Definition: linear_associative_plasticity_model.hpp:138
ElasticityModelType::Pointer ElasticityModelPointer
Definition: linear_associative_plasticity_model.hpp:58
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: linear_associative_plasticity_model.hpp:152
LinearAssociativePlasticityModel()
Default constructor.
Definition: linear_associative_plasticity_model.hpp:88
BaseType::ModelDataType ModelDataType
Definition: linear_associative_plasticity_model.hpp:75
LinearAssociativePlasticityModel(LinearAssociativePlasticityModel const &rOther)
Copy constructor.
Definition: linear_associative_plasticity_model.hpp:94
BaseType::PlasticDataType PlasticDataType
Definition: linear_associative_plasticity_model.hpp:77
TYieldSurface YieldSurfaceType
Definition: linear_associative_plasticity_model.hpp:61
BaseType::MatrixType MatrixType
Definition: linear_associative_plasticity_model.hpp:74
YieldSurfaceType::Pointer YieldSurfacePointer
Definition: linear_associative_plasticity_model.hpp:62
NonLinearAssociativePlasticityModel< ElasticityModelType, YieldSurfaceType > DerivedType
Definition: linear_associative_plasticity_model.hpp:65
BaseType::SizeType SizeType
Definition: linear_associative_plasticity_model.hpp:72
BaseType::MaterialDataType MaterialDataType
Definition: linear_associative_plasticity_model.hpp:76
LinearAssociativePlasticityModel & operator=(LinearAssociativePlasticityModel const &rOther)
Assignment operator.
Definition: linear_associative_plasticity_model.hpp:97
Short class definition.
Definition: non_linear_associative_plasticity_model.hpp:50
Short class definition.
Definition: plasticity_model.hpp:50
TYieldSurface::InternalVariablesType InternalVariablesType
Definition: plasticity_model.hpp:69
ConstitutiveModelData::SizeType SizeType
Definition: plasticity_model.hpp:63
ConstitutiveModelData::VoigtIndexType VoigtIndexType
Definition: plasticity_model.hpp:64
TYieldSurface::PlasticDataType PlasticDataType
Definition: plasticity_model.hpp:68
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#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
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