19 void Rock_Linear::CalPoro(
const OCP_DBL& P,
25 poro = poroInit * (1 + (cp1 + cp2 / 2 * dP) * dP);
26 dPorodP = poroInit * (cp1 + cp2 * dP);
37 Hr =
hcp1 * (Ta - Tra) + 0.5 *
hcp2 * (Ta * Ta - Tra * Tra);
45 void RockT_Linear ::CalPoroT(
const OCP_DBL& P,
57 poro = poroInit * (1 + (
cp * dP -
ct * dT +
cpt * dP * dT));
58 dPorodP = poroInit * (
cp +
cpt * dT);
59 dPorodT = poroInit * (-
ct +
cpt * dP);
76 void RockT_Exp::CalPoroT(
const OCP_DBL& P,
88 poro = poroInit * exp(
cp * dP -
ct * dT +
cpt * dP * dT);
90 dPorodP = poro * (
cp +
cpt * dT);
91 dPorodT = poro * (-
ct +
cpt * dP);
double OCP_DBL
Double precision.
const OCP_DBL CONV5
0 F = CONV5 R
OCP_DBL Tref
Reference temperature at initial porosity.
OCP_DBL hcp1
coefficients of the rock enthalpy formula, Btu/ft^3 - F
OCP_DBL hcp2
coefficients of the rock enthalpy formula, Btu/ft^3 - F
OCP_DBL Pref
Reference pressure at initial porosity.
OCP_DBL ct
Expansion factor of rock in reservoir, ifThermal only.
OCP_DBL cpt
cross items, ifThermal only
OCP_DBL cp
Compressibility factor of rock in reservoir.