10 #if !defined(KRATOS_BAKER_JOHNSON_COOK_J2_THERMO_PLASTICITY_MODEL_H_INCLUDED )
11 #define KRATOS_BAKER_JOHNSON_COOK_J2_THERMO_PLASTICITY_MODEL_H_INCLUDED
101 ConstitutiveModel::Pointer
Clone()
const override
103 return Kratos::make_shared<BakerJohnsonCookJ2ThermoPlasticityModel>(*
this);
136 rScalarVariables.push_back(TEMPERATURE);
147 if(rThisVariable == PLASTIC_STRAIN || rThisVariable == DELTA_PLASTIC_STRAIN )
150 if(rThisVariable == PLASTIC_DISSIPATION || rThisVariable == DELTA_PLASTIC_DISSIPATION )
165 if (rThisVariable==PLASTIC_STRAIN)
167 rValue = this->mInternal.Variables[0];
171 if (rThisVariable==DELTA_PLASTIC_STRAIN)
173 rValue = this->mInternal.Variables[0]-mPreviousInternal.Variables[0];
176 if (rThisVariable==PLASTIC_DISSIPATION)
178 rValue = this->mThermalVariables.PlasticDissipation;
182 if (rThisVariable==DELTA_PLASTIC_DISSIPATION)
184 rValue = this->mThermalVariables.DeltaPlasticDissipation;
200 std::string
Info()
const override
202 std::stringstream buffer;
203 buffer <<
"BakerJohnsonCookJ2ThermoPlasticityModel" ;
210 rOStream <<
"BakerJohnsonCookJ2ThermoPlasticityModel";
216 rOStream <<
"BakerJohnsonCookJ2ThermoPlasticityModel Data";
298 void save(
Serializer& rSerializer)
const override
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:51
KRATOS_CLASS_POINTER_DEFINITION(BakerJohnsonCookJ2ThermoPlasticityModel)
Pointer definition of BakerJohnsonCookJ2ThermoPlasticityModel.
YieldSurfaceType::Pointer YieldSurfacePointer
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:64
ConstitutiveModel::Pointer Clone() const override
Clone.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:101
IncompressibleNeoHookeanModel ElasticityModelType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:58
BakerJohnsonCookJ2ThermoPlasticityModel()
Default constructor.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:88
bool Has(const Variable< double > &rThisVariable) override
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:145
BakerJohnsonCookJ2ThermoPlasticityModel & operator=(BakerJohnsonCookJ2ThermoPlasticityModel const &rOther)
Assignment operator.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:94
BaseType::MaterialDataType MaterialDataType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:75
std::string Info() const override
Turn back information as a string.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:200
ElasticityModelType::Pointer ElasticityModelPointer
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:59
BaseType::SizeType SizeType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:71
BaseType::ModelDataType ModelDataType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:74
BaseType::PlasticDataType PlasticDataType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:76
double & GetValue(const Variable< double > &rThisVariable, double &rValue) override
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:160
NonLinearRateDependentPlasticityModel< ElasticityModelType, YieldSurfaceType > BaseType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:67
~BakerJohnsonCookJ2ThermoPlasticityModel() override
Destructor.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:107
BakerJohnsonCookJ2ThermoPlasticityModel(BakerJohnsonCookJ2ThermoPlasticityModel const &rOther)
Copy constructor.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:91
BaseType::Pointer BaseTypePointer
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:70
MisesHuberThermalYieldSurface< HardeningRuleType > YieldSurfaceType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:63
void GetDomainVariablesList(std::vector< Variable< double > > &rScalarVariables, std::vector< Variable< array_1d< double, 3 > > > &rComponentVariables) override
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:129
BaseType::MatrixType MatrixType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:73
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:208
BaseType::VoigtIndexType VoigtIndexType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:72
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:214
BaseType::InternalVariablesType InternalVariablesType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:77
BakerJohnsonCookThermalHardeningRule HardeningRuleType
Definition: baker_johnson_cook_J2_thermo_plasticity_model.hpp:62
Short class definition.
Definition: baker_johnson_cook_thermal_hardening_rule.hpp:49
Short class definition.
Definition: incompressible_neo_hookean_model.hpp:50
Definition: amatrix_interface.h:41
Short class definition.
Definition: mises_huber_thermal_yield_surface.hpp:50
Short class definition.
Definition: non_linear_rate_dependent_plasticity_model.hpp:50
BaseType::SizeType SizeType
Definition: non_linear_rate_dependent_plasticity_model.hpp:72
BaseType::PlasticDataType PlasticDataType
Definition: non_linear_rate_dependent_plasticity_model.hpp:77
BaseType::InternalVariablesType InternalVariablesType
Definition: non_linear_rate_dependent_plasticity_model.hpp:78
BaseType::VoigtIndexType VoigtIndexType
Definition: non_linear_rate_dependent_plasticity_model.hpp:73
void GetDomainVariablesList(std::vector< Variable< double > > &rScalarVariables, std::vector< Variable< array_1d< double, 3 > > > &rComponentVariables) override
Definition: plasticity_model.hpp:259
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