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

Detailed Description

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

Definition at line 55 of file SolidDensity.h.

#include <SolidDensity.h>

Public Member Functions

void eval (SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, BiotData const &biot, StrainData< DisplacementDim > const &strain_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, SolidDensityData &solid_density_data) const
 
void dEval (SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, BiotData const &biot, StrainData< DisplacementDim > const &strain_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, SolidDensityDerivativeData &solid_density_d_data) const
 

Member Function Documentation

◆ dEval()

template<int DisplacementDim>
void ProcessLib::TH2M::ConstitutiveRelations::SolidDensityModelNonConstantSolidPhaseVolumeFraction< DisplacementDim >::dEval ( SpaceTimeData const & x_t,
MediaData const & media_data,
TemperatureData const & T_data,
BiotData const & biot,
StrainData< DisplacementDim > const & strain_data,
SolidThermalExpansionData< DisplacementDim > const & s_therm_exp_data,
SolidDensityDerivativeData & solid_density_d_data ) const

Definition at line 79 of file SolidDensity.cpp.

87{
89 variables.temperature = T_data.T;
90
91 static int const KelvinVectorSize =
94 double const div_u = Invariants::trace(strain_data.eps);
95
96 auto const& mpl_solid_density =
98
99 auto const rho_ref_SR = mpl_solid_density.template value<double>(
100 variables, x_t.x, x_t.t, x_t.dt);
101
102 solid_density_d_data.drho_SR_dT =
103 mpl_solid_density.template dValue<double>(
104 variables, MaterialPropertyLib::Variable::temperature, x_t.x, x_t.t,
105 x_t.dt) *
106 (1. - s_therm_exp_data.thermal_volume_strain +
107 (biot() - 1.) * div_u) -
108 rho_ref_SR * s_therm_exp_data.beta_T_SR;
109}
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.

References ProcessLib::TH2M::ConstitutiveRelations::SolidThermalExpansionData< DisplacementDim >::beta_T_SR, MaterialPropertyLib::density, ProcessLib::TH2M::ConstitutiveRelations::SolidDensityDerivativeData::drho_SR_dT, ProcessLib::ConstitutiveRelations::SpaceTimeData::dt, ProcessLib::ConstitutiveRelations::StrainData< DisplacementDim >::eps, MathLib::KelvinVector::kelvin_vector_dimensions(), ProcessLib::TH2M::ConstitutiveRelations::MediaData::solid, ProcessLib::TH2M::ConstitutiveRelations::TemperatureData::T, ProcessLib::ConstitutiveRelations::SpaceTimeData::t, MaterialPropertyLib::temperature, MaterialPropertyLib::VariableArray::temperature, ProcessLib::TH2M::ConstitutiveRelations::SolidThermalExpansionData< DisplacementDim >::thermal_volume_strain, and ProcessLib::ConstitutiveRelations::SpaceTimeData::x.

◆ eval()

template<int DisplacementDim>
void ProcessLib::TH2M::ConstitutiveRelations::SolidDensityModelNonConstantSolidPhaseVolumeFraction< DisplacementDim >::eval ( SpaceTimeData const & x_t,
MediaData const & media_data,
TemperatureData const & T_data,
BiotData const & biot,
StrainData< DisplacementDim > const & strain_data,
SolidThermalExpansionData< DisplacementDim > const & s_therm_exp_data,
SolidDensityData & solid_density_data ) const

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