OGS
SolidMechanics.h
Go to the documentation of this file.
1
11#pragma once
12
19#include "TraitsBase.h"
20
22{
23namespace ConstitutiveStressSaturation_StrainPressureTemperature
24{
25template <int DisplacementDim>
27{
30 : solid_material_(solid_material),
32 solid_material.template createTangentOperatorBlocksView()}
33 {
34 }
35
36 void eval(const SpaceTimeData& x_t,
39 StrainData<DisplacementDim> const& eps_data,
40 PrevState<StrainData<DisplacementDim>> const& eps_prev_data,
43 total_stress_data_prev,
44 TotalStressData<DisplacementDim>& total_stress_data,
45 EquivalentPlasticStrainData& equiv_plast_strain_data,
47 PrevState<SaturationData> const& S_L_prev_data,
48 SaturationData& S_L_data, SaturationDataDeriv& dS_L_data) const;
49
52 {
53 return SolidMechanicsModel{solid_material};
54 }
55
56private:
58
60 DisplacementDim,
62 boost::mp11::mp_list<MSM::Strain, MSM::LiquidPressure>,
63 boost::mp11::mp_list<MSM::Stress, MSM::Saturation>,
64 boost::mp11::mp_list<MSM::Temperature>>::type>
66};
67
68extern template struct SolidMechanicsModel<2>;
69extern template struct SolidMechanicsModel<3>;
70} // namespace ConstitutiveStressSaturation_StrainPressureTemperature
71} // namespace ProcessLib::ThermoRichardsMechanics
Represents a previous state of type T.
Definition Base.h:21
void eval(const SpaceTimeData &x_t, TemperatureData< DisplacementDim > const &T_data, CapillaryPressureData< DisplacementDim > const &p_cap_data, StrainData< DisplacementDim > const &eps_data, PrevState< StrainData< DisplacementDim > > const &eps_prev_data, MaterialStateData< DisplacementDim > &mat_state, PrevState< TotalStressData< DisplacementDim > > const &total_stress_data_prev, TotalStressData< DisplacementDim > &total_stress_data, EquivalentPlasticStrainData &equiv_plast_strain_data, SolidMechanicsDataStateless< DisplacementDim > &current_stateless, PrevState< SaturationData > const &S_L_prev_data, SaturationData &S_L_data, SaturationDataDeriv &dS_L_data) const
MSM::OGSMFrontTangentOperatorBlocksView< DisplacementDim, MSM::ForcesGradsCombinations< boost::mp11::mp_list< MSM::Strain, MSM::LiquidPressure >, boost::mp11::mp_list< MSM::Stress, MSM::Saturation >, boost::mp11::mp_list< MSM::Temperature > >::type > tangent_operator_blocks_view_
static SolidMechanicsModel create(SolidConstitutiveRelation< DisplacementDim > const &solid_material)