OGS
ProcessLib::TH2M::ConstitutiveRelations::MechanicalStrainModel< DisplacementDim > Struct Template Reference

Detailed Description

template<int DisplacementDim>
struct ProcessLib::TH2M::ConstitutiveRelations::MechanicalStrainModel< DisplacementDim >

Definition at line 29 of file MechanicalStrain.h.

#include <MechanicalStrain.h>

Public Member Functions

void eval (TemperatureData const &T_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, ProcessLib::ConstitutiveRelations::StrainData< DisplacementDim > const &strain_data, KelvinVector< DisplacementDim > const &eps_prev, PrevState< MechanicalStrainData< DisplacementDim > > const &eps_m_prev, SwellingDataStateless< DisplacementDim > const &swelling_data, MechanicalStrainData< DisplacementDim > &out) const
 

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::TH2M::ConstitutiveRelations::MechanicalStrainModel< DisplacementDim >::eval ( TemperatureData const & T_data,
SolidThermalExpansionData< DisplacementDim > const & s_therm_exp_data,
ProcessLib::ConstitutiveRelations::StrainData< DisplacementDim > const & strain_data,
KelvinVector< DisplacementDim > const & eps_prev,
PrevState< MechanicalStrainData< DisplacementDim > > const & eps_m_prev,
SwellingDataStateless< DisplacementDim > const & swelling_data,
MechanicalStrainData< DisplacementDim > & out ) const

Definition at line 17 of file MechanicalStrain.cpp.

26{
28 dthermal_strain =
29 s_therm_exp_data.solid_linear_thermal_expansivity_vector *
30 (T_data.T - T_data.T_prev);
31
32 out.eps_m.noalias() = eps_m_prev->eps_m + strain_data.eps - eps_prev -
33 dthermal_strain + swelling_data.eps_m;
34}
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType
MathLib::KelvinVector::KelvinVectorType< DisplacementDim > eps
Definition StrainData.h:20

References ProcessLib::ConstitutiveRelations::StrainData< DisplacementDim >::eps, ProcessLib::TH2M::ConstitutiveRelations::MechanicalStrainData< DisplacementDim >::eps_m, ProcessLib::TH2M::ConstitutiveRelations::SwellingDataStateless< DisplacementDim >::eps_m, ProcessLib::TH2M::ConstitutiveRelations::SolidThermalExpansionData< DisplacementDim >::solid_linear_thermal_expansivity_vector, ProcessLib::TH2M::ConstitutiveRelations::TemperatureData::T, and ProcessLib::TH2M::ConstitutiveRelations::TemperatureData::T_prev.


The documentation for this struct was generated from the following files: