OGS
HydroMechanics/LocalAssembler/IntegrationPointDataFracture.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <Eigen/Core>
7
9
10namespace ProcessLib
11{
12namespace LIE
13{
14namespace HydroMechanics
15{
16template <typename HMatricesType,
17 typename ShapeMatrixTypeDisplacement,
18 typename ShapeMatrixTypePressure,
19 int DisplacementDim>
21{
24 fracture_material_)
25 : fracture_material(fracture_material_),
27 fracture_material.createMaterialStateVariables()),
29 {
30 }
31
32 using GlobalDimVectorType = Eigen::Matrix<double, DisplacementDim, 1>;
33
34 typename HMatricesType::HMatrixType H_u;
35 typename HMatricesType::ForceVectorType sigma_eff, sigma_eff_prev;
36 typename HMatricesType::ForceVectorType w, w_prev;
37
38 typename ShapeMatrixTypePressure::NodalRowVectorType N_p;
39 typename ShapeMatrixTypePressure::GlobalDimNodalMatrixType dNdx_p;
40
41 double aperture = 0.0;
42 double aperture0 = 0.0;
43 double permeability = 0.0;
44
47 std::unique_ptr<typename MaterialLib::Fracture::FractureModelBase<
48 DisplacementDim>::MaterialStateVariables>
50
51 Eigen::MatrixXd C;
53
55
57 {
58 w_prev = w;
60 material_state_variables->pushBackState();
61 }
62
64};
65
66} // namespace HydroMechanics
67} // namespace LIE
68} // namespace ProcessLib
IntegrationPointDataFracture(MaterialLib::Fracture::FractureModelBase< DisplacementDim > &fracture_material_)