OGS
ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints > Struct Template Referencefinal

Detailed Description

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
struct ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >

Definition at line 20 of file RichardsMechanics/IntegrationPointData.h.

#include <IntegrationPointData.h>

Static Public Member Functions

static MathLib::KelvinVector::KelvinMatrixType< DisplacementDim > computeElasticTangentStiffness (MaterialPropertyLib::VariableArray const &variable_array, double const t, ParameterLib::SpatialPosition const &x_position, double const dt, 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::ConstitutiveRelations::EffectiveStressData< DisplacementDim > &sigma_eff, PrevState< ProcessLib::ConstitutiveRelations::EffectiveStressData< DisplacementDim > > const &sigma_eff_prev, ProcessLib::ConstitutiveRelations::MechanicalStrainData< DisplacementDim > const &, PrevState< ProcessLib::ConstitutiveRelations::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)

Public Attributes

ShapeMatrixTypeDisplacement::NodalRowVectorType N_u
ShapeMatrixTypeDisplacement::GlobalDimNodalMatrixType dNdx_u
ShapeMatricesTypePressure::NodalRowVectorType N_p
ShapeMatricesTypePressure::GlobalDimNodalMatrixType dNdx_p
double integration_weight = std::numeric_limits<double>::quiet_NaN()
 EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Member Function Documentation

◆ computeElasticTangentStiffness()

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
MathLib::KelvinVector::KelvinMatrixType< DisplacementDim > ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::computeElasticTangentStiffness ( MaterialPropertyLib::VariableArray const & variable_array,
double const t,
ParameterLib::SpatialPosition const & x_position,
double const dt,
MaterialLib::Solids::MechanicsBase< DisplacementDim > const & solid_material,
typename MaterialLib::Solids::MechanicsBase< DisplacementDim >::MaterialStateVariables const & material_state_variables )
inlinestatic

Definition at line 31 of file RichardsMechanics/IntegrationPointData.h.

40 {
41 namespace MPL = MaterialPropertyLib;
42
44
45 auto&& solution = solid_material.integrateStress(
48
49 if (!solution)
50 {
51 OGS_FATAL("Computation of elastic tangent stiffness failed.");
52 }
53
56
57 return C;
58 }
#define OGS_FATAL(...)
Definition Error.h:19

◆ updateConstitutiveRelation()

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
BMatricesType::KelvinMatrixType ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::updateConstitutiveRelation ( MaterialPropertyLib::VariableArray const & variable_array,
double const t,
ParameterLib::SpatialPosition const & x_position,
double const dt,
double const temperature,
ProcessLib::ConstitutiveRelations::EffectiveStressData< DisplacementDim > & sigma_eff,
PrevState< ProcessLib::ConstitutiveRelations::EffectiveStressData< DisplacementDim > > const & sigma_eff_prev,
ProcessLib::ConstitutiveRelations::MechanicalStrainData< DisplacementDim > const & ,
PrevState< ProcessLib::ConstitutiveRelations::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 )
inlinestatic

Definition at line 60 of file RichardsMechanics/IntegrationPointData.h.

79 {
81 variable_array_prev.stress = sigma_eff_prev->sigma_eff;
82 variable_array_prev.mechanical_strain
84 eps_m_prev->eps_m);
85 variable_array_prev.temperature = temperature;
86
87 auto&& solution = solid_material.integrateStress(
90
91 if (!solution)
92 {
93 OGS_FATAL("Computation of local constitutive relation failed.");
94 }
95
99
100 return C;
101 }

Member Data Documentation

◆ dNdx_p

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
ShapeMatricesTypePressure::GlobalDimNodalMatrixType ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::dNdx_p

Definition at line 26 of file RichardsMechanics/IntegrationPointData.h.

◆ dNdx_u

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
ShapeMatrixTypeDisplacement::GlobalDimNodalMatrixType ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::dNdx_u

Definition at line 23 of file RichardsMechanics/IntegrationPointData.h.

◆ EIGEN_MAKE_ALIGNED_OPERATOR_NEW

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Definition at line 103 of file RichardsMechanics/IntegrationPointData.h.

◆ integration_weight

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
double ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::integration_weight = std::numeric_limits<double>::quiet_NaN()

Definition at line 28 of file RichardsMechanics/IntegrationPointData.h.

◆ N_p

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
ShapeMatricesTypePressure::NodalRowVectorType ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::N_p

Definition at line 25 of file RichardsMechanics/IntegrationPointData.h.

◆ N_u

template<typename BMatricesType, typename ShapeMatrixTypeDisplacement, typename ShapeMatricesTypePressure, int DisplacementDim, int NPoints>
ShapeMatrixTypeDisplacement::NodalRowVectorType ProcessLib::RichardsMechanics::IntegrationPointData< BMatricesType, ShapeMatrixTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim, NPoints >::N_u

Definition at line 22 of file RichardsMechanics/IntegrationPointData.h.


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