Go to the source code of this file.
|
| | TEST (PorousFlowBrooksCoreyTest, sat) |
| |
| | TEST (PorousFlowBrooksCoreyTest, dsat) |
| |
| | TEST (PorousFlowBrooksCoreyTest, d2sat) |
| |
| | TEST (PorousFlowBrooksCoreyTest, cap) |
| |
| | TEST (PorousFlowBrooksCoreyTest, dcap) |
| |
| | TEST (PorousFlowBrooksCoreyTest, d2cap) |
| |
| | TEST (PorousFlowBrooksCoreyTest, relpermw) |
| |
| | TEST (PorousFlowBrooksCoreyTest, drelpermw) |
| |
| | TEST (PorousFlowBrooksCoreyTest, relpermnw) |
| |
| | TEST (PorousFlowBrooksCoreyTest, drelpermnw) |
| |
| | TEST (PorousFlowBrooksCoreyTest, adrelpermw) |
| |
| | TEST (PorousFlowBrooksCoreyTest, adrelpermnw) |
| |
|
| const Real | eps = 1.0e-8 |
| |
| const Real | tol = 1.0e-6 |
| |
◆ TEST() [1/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
adrelpermnw |
|
|
) |
| |
Definition at line 136 of file PorousFlowBrooksCoreyTest.C.
137{
140
142
145
146 EXPECT_NEAR(adrelperm.value(), relperm,
tol);
147 EXPECT_NEAR(adrelperm.derivatives()[0], drelperm,
tol);
148}
DualNumber< Real, DNDerivativeType, true > ADReal
void derivInsert(SemiDynamicSparseNumberArray< Real, libMesh::dof_id_type, NWrapper< N > > &derivs, libMesh::dof_id_type index, Real value)
Real dRelativePermeabilityNW(Real seff, Real lambda)
Derivative of relative permeability of the non-wetting phase wrt to effective saturation.
T relativePermeabilityNW(const T &seff, Real lambda)
Relative permeability of the non-wetting phase as a function of effective saturation.
◆ TEST() [2/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
adrelpermw |
|
|
) |
| |
Definition at line 122 of file PorousFlowBrooksCoreyTest.C.
123{
126
128
131
132 EXPECT_NEAR(adrelperm.value(), relperm,
tol);
133 EXPECT_NEAR(adrelperm.derivatives()[0], drelperm,
tol);
134}
T relativePermeabilityW(const T &seff, Real lambda)
Relative permeability of the wetting phase as a function of effective saturation.
Real dRelativePermeabilityW(Real seff, Real lambda)
Derivative of relative permeability of the wetting phase wrt to effective saturation.
◆ TEST() [3/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
cap |
|
|
) |
| |
Definition at line 53 of file PorousFlowBrooksCoreyTest.C.
54{
56 const Real pc = 1.2 * std::pow(0.3, -1.0 / 2.0);
60}
Real capillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Capillary pressure as a function of effective saturation.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
◆ TEST() [4/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
d2cap |
|
|
) |
| |
Definition at line 73 of file PorousFlowBrooksCoreyTest.C.
74{
82}
Real dCapillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Derivative of capillary pressure wrt effective saturation.
Real d2CapillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Second derivative of capillary pressure wrt effective saturation.
◆ TEST() [5/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
d2sat |
|
|
) |
| |
Definition at line 40 of file PorousFlowBrooksCoreyTest.C.
41{
44
49
51}
Real d2EffectiveSaturation(Real pc, Real pe, Real lambda)
Second derivative of effective saturation wrt porepressure.
Real dEffectiveSaturation(Real pc, Real pe, Real lambda)
Derivative of effective saturation wrt porepressure.
◆ TEST() [6/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
dcap |
|
|
) |
| |
◆ TEST() [7/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
drelpermnw |
|
|
) |
| |
◆ TEST() [8/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
drelpermw |
|
|
) |
| |
◆ TEST() [9/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
dsat |
|
|
) |
| |
Definition at line 27 of file PorousFlowBrooksCoreyTest.C.
28{
31
36
38}
Real effectiveSaturation(Real pc, Real pe, Real lambda)
Effective saturation as a function of capillary pressure Note: seff = 1 for p >= 0.
◆ TEST() [10/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
relpermnw |
|
|
) |
| |
◆ TEST() [11/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
relpermw |
|
|
) |
| |
◆ TEST() [12/12]
| TEST |
( |
PorousFlowBrooksCoreyTest |
, |
|
|
sat |
|
|
) |
| |
◆ eps
◆ tol
Definition at line 15 of file PorousFlowBrooksCoreyTest.C.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().