OGS
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h
Go to the documentation of this file.
1
10
11
#pragma once
12
13
#include <Eigen/Core>
14
15
#include "
MaterialLib/FractureModels/FractureModelBase.h
"
16
17
namespace
ProcessLib
18
{
19
namespace
LIE
20
{
21
namespace
HydroMechanics
22
{
23
template
<
typename
HMatricesType,
24
typename
ShapeMatrixTypeDisplacement,
25
typename
ShapeMatrixTypePressure,
26
int
DisplacementDim>
27
struct
IntegrationPointDataFracture
final
28
{
29
explicit
IntegrationPointDataFracture
(
30
MaterialLib::Fracture::FractureModelBase<DisplacementDim>
&
31
fracture_material_)
32
:
fracture_material
(fracture_material_),
33
material_state_variables
(
34
fracture_material
.createMaterialStateVariables()),
35
darcy_velocity
(
GlobalDimVectorType
::Zero())
36
{
37
}
38
39
using
GlobalDimVectorType
= Eigen::Matrix<double, DisplacementDim, 1>;
40
41
typename
HMatricesType::HMatrixType
H_u
;
42
typename
HMatricesType::ForceVectorType
sigma_eff
,
sigma_eff_prev
;
43
typename
HMatricesType::ForceVectorType
w
,
w_prev
;
44
45
typename
ShapeMatrixTypePressure::NodalRowVectorType
N_p
;
46
typename
ShapeMatrixTypePressure::GlobalDimNodalMatrixType
dNdx_p
;
47
48
double
aperture
= 0.0;
49
double
aperture0
= 0.0;
50
double
permeability
= 0.0;
51
52
MaterialLib::Fracture::FractureModelBase<DisplacementDim>
&
53
fracture_material
;
54
std::unique_ptr<
typename
MaterialLib::Fracture::FractureModelBase
<
55
DisplacementDim>::MaterialStateVariables>
56
material_state_variables
;
57
58
Eigen::MatrixXd
C
;
59
double
integration_weight
;
60
61
GlobalDimVectorType
darcy_velocity
;
62
63
void
pushBackState
()
64
{
65
w_prev
=
w
;
66
sigma_eff_prev
=
sigma_eff
;
67
material_state_variables
->pushBackState();
68
}
69
70
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
;
71
};
72
73
}
// namespace HydroMechanics
74
}
// namespace LIE
75
}
// namespace ProcessLib
FractureModelBase.h
MaterialLib::Fracture::FractureModelBase
Definition
FractureModelBase.h:27
ProcessLib::LIE::HydroMechanics
Definition
LIE/HydroMechanics/CreateHydroMechanicsProcess.cpp:38
ProcessLib::LIE
Definition
BranchProperty.h:20
ProcessLib
Definition
ProjectData.h:51
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::fracture_material
MaterialLib::Fracture::FractureModelBase< DisplacementDim > & fracture_material
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:53
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::w_prev
HMatricesType::ForceVectorType w_prev
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:43
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture::IntegrationPointDataFracture
IntegrationPointDataFracture(MaterialLib::Fracture::FractureModelBase< DisplacementDim > &fracture_material_)
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:29
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::GlobalDimVectorType
Eigen::Matrix< double, DisplacementDim, 1 > GlobalDimVectorType
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:39
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::aperture
double aperture
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:48
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::N_p
ShapeMatricesTypePressure::NodalRowVectorType N_p
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:45
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::darcy_velocity
GlobalDimVectorType darcy_velocity
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:61
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::EIGEN_MAKE_ALIGNED_OPERATOR_NEW
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:70
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::H_u
HMatricesType::HMatrixType H_u
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:41
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::sigma_eff_prev
HMatricesType::ForceVectorType sigma_eff_prev
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:42
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::permeability
double permeability
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:50
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::w
HMatricesType::ForceVectorType w
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:43
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::aperture0
double aperture0
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:49
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture::pushBackState
void pushBackState()
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:63
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::dNdx_p
ShapeMatricesTypePressure::GlobalDimNodalMatrixType dNdx_p
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:46
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::sigma_eff
HMatricesType::ForceVectorType sigma_eff
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:42
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::integration_weight
double integration_weight
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:59
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::C
Eigen::MatrixXd C
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:58
ProcessLib::LIE::HydroMechanics::IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, DisplacementDim >::material_state_variables
std::unique_ptr< typename MaterialLib::Fracture::FractureModelBase< DisplacementDim >::MaterialStateVariables > material_state_variables
Definition
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h:56
ProcessLib
LIE
HydroMechanics
LocalAssembler
IntegrationPointDataFracture.h
Generated by
1.14.0