10 #if !defined(KRATOS_SIMO_JU_YIELD_SURFACE_H_INCLUDED )
11 #define KRATOS_SIMO_JU_YIELD_SURFACE_H_INCLUDED
47 template<
class THardeningRule>
48 class SimoJuYieldSurface
49 :
public YieldSurface<THardeningRule>
87 return Kratos::make_shared<SimoJuYieldSurface>(*
this);
112 const double& StrengthRatio = rModelData.
GetProperties()[STRENGTH_RATIO];
114 const double& rStressNorm = rVariables.GetStressNorm();
115 const double& rTheta = rVariables.GetRateFactor();
117 rYieldCondition = (rTheta+(1.0-rTheta)/StrengthRatio)*sqrt(rStressNorm);
119 return rYieldCondition;
132 rStateFunction = this->
mHardeningRule.CalculateHardening(rVariables,rStateFunction);
134 return rStateFunction;
148 rDeltaStateFunction = this->
mHardeningRule.CalculateDeltaHardening(rVariables,rDeltaStateFunction);
150 return rDeltaStateFunction;
171 std::string
Info()
const override
173 std::stringstream buffer;
174 buffer <<
"YieldSurface" ;
181 rOStream <<
"SimoJuYieldSurface";
187 rOStream <<
"SimoJuYieldSurface Data";
263 void save(
Serializer& rSerializer)
const override
Definition: amatrix_interface.h:41
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Short class definition.
Definition: simo_ju_yield_surface.h:56
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: simo_ju_yield_surface.hpp:185
ConstitutiveModelData::MaterialData MaterialDataType
Definition: simo_ju_yield_surface.hpp:58
KRATOS_CLASS_POINTER_DEFINITION(SimoJuYieldSurface)
Pointer definition of SimoJuYieldSurface.
ConstitutiveModelData::ModelData ModelDataType
Definition: simo_ju_yield_surface.hpp:57
YieldSurface< THardeningRule > BaseType
Definition: simo_ju_yield_surface.hpp:60
double & CalculateStateFunction(const PlasticDataType &rVariables, double &rStateFunction) override
Definition: simo_ju_yield_surface.hpp:128
ConstitutiveModelData::VectorType VectorType
Definition: simo_ju_yield_surface.hpp:56
SimoJuYieldSurface & operator=(SimoJuYieldSurface const &rOther)
Assignment operator.
Definition: simo_ju_yield_surface.hpp:78
~SimoJuYieldSurface() override
Destructor.
Definition: simo_ju_yield_surface.hpp:91
BaseType::PlasticDataType PlasticDataType
Definition: simo_ju_yield_surface.hpp:62
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: simo_ju_yield_surface.hpp:179
SimoJuYieldSurface(SimoJuYieldSurface const &rOther)
Copy constructor.
Definition: simo_ju_yield_surface.hpp:75
double & CalculateYieldCondition(const PlasticDataType &rVariables, double &rYieldCondition) override
Definition: simo_ju_yield_surface.hpp:107
BaseTypePointer Clone() const override
Clone.
Definition: simo_ju_yield_surface.hpp:85
ConstitutiveModelData::MatrixType MatrixType
Definition: simo_ju_yield_surface.hpp:55
double & CalculateDeltaStateFunction(const PlasticDataType &rVariables, double &rDeltaStateFunction) override
Definition: simo_ju_yield_surface.hpp:144
std::string Info() const override
Turn back information as a string.
Definition: simo_ju_yield_surface.hpp:171
BaseType::Pointer BaseTypePointer
Definition: simo_ju_yield_surface.hpp:61
SimoJuYieldSurface()
Default constructor.
Definition: simo_ju_yield_surface.hpp:72
Short class definition.
Definition: yield_surface.hpp:50
THardeningRule::PlasticDataType PlasticDataType
Definition: yield_surface.hpp:62
HardeningRuleType mHardeningRule
Definition: yield_surface.hpp:295
YieldSurface & operator=(YieldSurface const &rOther)
Assignment operator.
Definition: yield_surface.hpp:79
#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
const Properties & GetProperties() const
Definition: constitutive_model_data.hpp:431