10 #if !defined(KRATOS_NONLOCAL_CAM_CLAY_MODEL_H_INCLUDED )
11 #define KRATOS_NONLOCAL_CAM_CLAY_MODEL_H_INCLUDED
101 ConstitutiveModel::Pointer
Clone()
const override
103 return Kratos::make_shared<NonlocalCamClayModel>(*
this);
125 double LocalPlasticStrain = mInternal.Variables[1];
126 double NonLocalPlasticStrain = mInternal.Variables[4];
127 mInternal.Variables[1] = mInternal.Variables[4];
131 if ( rValues.
State.
Is(ConstitutiveModelData::UPDATE_INTERNAL_VARIABLES) ) {
132 mInternal.Variables[1] = LocalPlasticStrain + ( mInternal.Variables[1] - NonLocalPlasticStrain);
134 mInternal.Variables[1] = LocalPlasticStrain;
163 if(rThisVariable == PLASTIC_STRAIN || rThisVariable == DELTA_PLASTIC_STRAIN )
178 if (rThisVariable==PLASTIC_STRAIN)
180 rValue = this->mInternal.Variables[0];
184 else if (rThisVariable==DELTA_PLASTIC_STRAIN)
186 rValue = this->mInternal.Variables[0]-mPreviousInternal.Variables[0];
189 else if (rThisVariable==PRE_CONSOLIDATION_STRESS)
191 rValue = this->mInternal.Variables[3];
204 const double& rValue,
209 if ( rVariable == NONLOCAL_PLASTIC_VOL_DEF) {
210 mInternal.Variables[4] = rValue;
225 std::string
Info()
const override
227 std::stringstream buffer;
228 buffer <<
"NonlocalCamClayModel" ;
235 rOStream <<
"NonlocalCamClayModel";
241 rOStream <<
"NonlocalCamClayModel Data";
323 void save(
Serializer& rSerializer)
const override
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: borja_model.hpp:48
Short class definition.
Definition: cam_clay_hardening_rule.hpp:48
bool Is(Flags const &rOther) const
Definition: flags.h:274
Definition: amatrix_interface.h:41
Short class definition.
Definition: modified_cam_clay_yield_surface.hpp:51
Short class definition.
Definition: non_associative_plasticity_model.hpp:63
void CalculateStressAndConstitutiveTensors(ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override
Definition: non_associative_plasticity_model.hpp:222
BaseType::InternalVariablesType InternalVariablesType
Definition: non_associative_plasticity_model.hpp:87
BaseType::VoigtIndexType VoigtIndexType
Definition: non_associative_plasticity_model.hpp:81
virtual double & GetValue(const Variable< double > &rThisVariable, double &rValue) override
Definition: non_associative_plasticity_model.hpp:139
BaseType::SizeType SizeType
Definition: non_associative_plasticity_model.hpp:80
BaseType::PlasticDataType PlasticDataType
Definition: non_associative_plasticity_model.hpp:86
Short class definition.
Definition: nonlocal_cam_clay_model.hpp:51
double & GetValue(const Variable< double > &rThisVariable, double &rValue) override
Definition: nonlocal_cam_clay_model.hpp:173
BaseType::SizeType SizeType
Definition: nonlocal_cam_clay_model.hpp:71
BaseType::MaterialDataType MaterialDataType
Definition: nonlocal_cam_clay_model.hpp:75
BaseType::PlasticDataType PlasticDataType
Definition: nonlocal_cam_clay_model.hpp:76
void CalculateStressAndConstitutiveTensors(ModelDataType &rValues, MatrixType &rStressMatrix, Matrix &rConstitutiveMatrix) override
Definition: nonlocal_cam_clay_model.hpp:121
void SetValue(const Variable< double > &rVariable, const double &rValue, const ProcessInfo &rCurrentProcessInfo) override
Definition: nonlocal_cam_clay_model.hpp:203
BaseType::MatrixType MatrixType
Definition: nonlocal_cam_clay_model.hpp:73
BaseType::ModelDataType ModelDataType
Definition: nonlocal_cam_clay_model.hpp:74
KRATOS_CLASS_POINTER_DEFINITION(NonlocalCamClayModel)
Pointer definition of NonlocalCamClayModel.
ConstitutiveModel::Pointer Clone() const override
Clone.
Definition: nonlocal_cam_clay_model.hpp:101
NonlocalCamClayModel & operator=(NonlocalCamClayModel const &rOther)
Assignment operator.
Definition: nonlocal_cam_clay_model.hpp:94
NonlocalCamClayModel()
Default constructor.
Definition: nonlocal_cam_clay_model.hpp:88
BaseType::VoigtIndexType VoigtIndexType
Definition: nonlocal_cam_clay_model.hpp:72
ElasticityModelType::Pointer ElasticityModelPointer
Definition: nonlocal_cam_clay_model.hpp:59
int Check(const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) override
Definition: nonlocal_cam_clay_model.hpp:143
NonlocalCamClayModel(NonlocalCamClayModel const &rOther)
Copy constructor.
Definition: nonlocal_cam_clay_model.hpp:91
NonAssociativePlasticityModel< ElasticityModelType, YieldSurfaceType > BaseType
Definition: nonlocal_cam_clay_model.hpp:67
ModifiedCamClayYieldSurface< HardeningRuleType > YieldSurfaceType
Definition: nonlocal_cam_clay_model.hpp:63
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: nonlocal_cam_clay_model.hpp:233
BaseType::Pointer BaseTypePointer
Definition: nonlocal_cam_clay_model.hpp:70
CamClayHardeningRule HardeningRuleType
Definition: nonlocal_cam_clay_model.hpp:62
bool Has(const Variable< double > &rThisVariable) override
Definition: nonlocal_cam_clay_model.hpp:161
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: nonlocal_cam_clay_model.hpp:239
~NonlocalCamClayModel() override
Destructor.
Definition: nonlocal_cam_clay_model.hpp:107
std::string Info() const override
Turn back information as a string.
Definition: nonlocal_cam_clay_model.hpp:225
YieldSurfaceType::Pointer YieldSurfacePointer
Definition: nonlocal_cam_clay_model.hpp:64
BorjaModel ElasticityModelType
Definition: nonlocal_cam_clay_model.hpp:58
BaseType::InternalVariablesType InternalVariablesType
Definition: nonlocal_cam_clay_model.hpp:77
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
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
Flags State
Definition: constitutive_model_data.hpp:399