22namespace RichardsMechanics
24template <
typename BMatricesType,
typename ShapeMatrixTypeDisplacement,
25 typename ShapeMatricesTypePressure,
int DisplacementDim,
int NPoints>
28 typename ShapeMatrixTypeDisplacement::NodalRowVectorType
N_u;
29 typename ShapeMatrixTypeDisplacement::GlobalDimNodalMatrixType
dNdx_u;
31 typename ShapeMatricesTypePressure::NodalRowVectorType
N_p;
32 typename ShapeMatricesTypePressure::GlobalDimNodalMatrixType
dNdx_p;
36 MathLib::KelvinVector::
41 double const temperature,
45 MaterialStateVariables
const& material_state_variables)
54 variable_array.
stress.emplace<
KV>(KV::Zero());
58 variable_array_prev.
stress.emplace<
KV>(KV::Zero());
63 variable_array_prev, variable_array, t, x_position, dt,
64 material_state_variables);
68 OGS_FATAL(
"Computation of elastic tangent stiffness failed.");
72 std::move(std::get<2>(*solution));
82 double const temperature,
84 ConstitutiveStress_StrainTemperature::EffectiveStressData<
85 DisplacementDim>& sigma_eff,
87 ConstitutiveStress_StrainTemperature::EffectiveStressData<
88 DisplacementDim>>
const& sigma_eff_prev,
90 ConstitutiveStress_StrainTemperature::MechanicalStrainData<
91 DisplacementDim>
const&
95 ConstitutiveStress_StrainTemperature::MechanicalStrainData<
96 DisplacementDim>>
const& eps_m_prev,
100 DisplacementDim>::MaterialStateVariables>& material_state_variables)
103 variable_array_prev.
stress = sigma_eff_prev->sigma_eff;
110 variable_array_prev, variable_array, t, x_position, dt,
111 *material_state_variables);
115 OGS_FATAL(
"Computation of local constitutive relation failed.");
119 std::tie(sigma_eff.sigma_eff, material_state_variables, C) =
120 std::move(*solution);
KelvinVector mechanical_strain
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor > KelvinVectorType
Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), kelvin_vector_dimensions(DisplacementDim), Eigen::RowMajor > KelvinMatrixType
virtual std::optional< std::tuple< KelvinVector, std::unique_ptr< MaterialStateVariables >, KelvinMatrix > > integrateStress(MaterialPropertyLib::VariableArray const &variable_array_prev, MaterialPropertyLib::VariableArray const &variable_array, double const t, ParameterLib::SpatialPosition const &x, double const dt, MaterialStateVariables const &material_state_variables) const =0
Represents a previous state of type T.
ShapeMatrixTypeDisplacement::NodalRowVectorType N_u
ShapeMatricesTypePressure::GlobalDimNodalMatrixType dNdx_p
ShapeMatrixTypeDisplacement::GlobalDimNodalMatrixType dNdx_u
ShapeMatricesTypePressure::NodalRowVectorType N_p
static MathLib::KelvinVector::KelvinMatrixType< DisplacementDim > computeElasticTangentStiffness(double const t, ParameterLib::SpatialPosition const &x_position, double const dt, double const temperature, MaterialLib::Solids::MechanicsBase< DisplacementDim > const &solid_material, typename MaterialLib::Solids::MechanicsBase< DisplacementDim >::MaterialStateVariables const &material_state_variables)
static BMatricesType::KelvinMatrixType updateConstitutiveRelation(MaterialPropertyLib::VariableArray const &variable_array, double const t, ParameterLib::SpatialPosition const &x_position, double const dt, double const temperature, ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::EffectiveStressData< DisplacementDim > &sigma_eff, PrevState< ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::EffectiveStressData< DisplacementDim > > const &sigma_eff_prev, ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::MechanicalStrainData< DisplacementDim > const &, PrevState< ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::MechanicalStrainData< DisplacementDim > > const &eps_m_prev, MaterialLib::Solids::MechanicsBase< DisplacementDim > const &solid_material, std::unique_ptr< typename MaterialLib::Solids::MechanicsBase< DisplacementDim >::MaterialStateVariables > &material_state_variables)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
double integration_weight