OGS
TH2M/ConstitutiveRelations/Base.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
11
12namespace ProcessLib::TH2M
13{
15{
16using namespace ProcessLib::ConstitutiveRelations;
17
19{
21 MaterialPropertyLib::Phase const& solid = medium.phase("Solid");
22 MaterialPropertyLib::Phase const& liquid = medium.phase("AqueousLiquid");
23 MaterialPropertyLib::Phase const& gas = medium.phase("Gas");
24
33 medium[MaterialPropertyLib::PropertyType::
34 relative_permeability_nonwetting_phase];
42 medium.hasProperty(
45 : nullptr;
69 : nullptr;
71 solid.hasProperty(
74 : nullptr;
75};
76
78{
79 double T = nan;
80 double T_prev = nan;
81};
82
84{
85 double pG = nan;
86 double pG_prev = nan;
87};
88
90{
91 double pCap = nan;
92 double pCap_prev = nan;
93};
94
97
98template <int DisplacementDim>
101 struct GasPressureGradientTag>;
102template <int DisplacementDim>
105 struct CapillaryPressureGradientTag>;
106template <int DisplacementDim>
109 struct TemperatureGradientTag>;
110
111} // namespace ConstitutiveRelations
112} // namespace ProcessLib::TH2M
static constexpr double nan
Convenience alias for not a number.
BaseLib::StrongType< GlobalDimVector< DisplacementDim >, struct GasPressureGradientTag > GasPressureGradientData
BaseLib::StrongType< GlobalDimVector< DisplacementDim >, struct TemperatureGradientTag > TemperatureGradientData
BaseLib::StrongType< GlobalDimVector< DisplacementDim >, struct CapillaryPressureGradientTag > CapillaryPressureGradientData
BaseLib::StrongType< double, struct ReferenceTemperatureTag > ReferenceTemperatureData
MaterialPropertyLib::Property const & bishops_effective_stress_prop
MaterialPropertyLib::Property const & relative_permeability_nonwetting_phase_prop