Aggregate structure that represents an atomic view of the current fluid state. More...
#include <compr_quant_general.h>
Public Attributes | |
int | nphases |
Number of fluid phases. More... | |
double * | Ac |
Pressure and mass-dependent fluid matrix that converts phase volumes at reservoir conditions into component volumes at surface conditions. More... | |
double * | dAc |
Derivative of ![]()
sampled in each grid cell. More... | |
double * | Af |
Fluid matrix sampled at each interface. More... | |
double * | phasemobf |
Phase mobility per interface. More... | |
double * | voldiscr |
Deceptively named "volume-discrepancy" term. More... | |
Aggregate structure that represents an atomic view of the current fluid state.
These quantities are used directly in the cfs_tpfa_residual module to discretise a particular, linearised flow problem.
double* compr_quantities_gen::Ac |
Pressure and mass-dependent fluid matrix that converts phase volumes at reservoir conditions into component volumes at surface conditions.
Obeys the defining formula
in which denotes the miscibility ratios (i.e., the dissolved gas-oil ratio,
and the evaporated oil-gas ratio,
) collected as a matrix and
is the diagonal matrix of formation-volume expansion factors. The function is sampled in each grid cell. Array of size
nphases * nphases * nc
.
double* compr_quantities_gen::Af |
Fluid matrix sampled at each interface.
Possibly as a result of an upwind calculation. Array of size nphases * nphases * nf
.
double* compr_quantities_gen::dAc |
Derivative of with respect to pressure,
sampled in each grid cell.
Array of size nphases * nphases * nc
.
int compr_quantities_gen::nphases |
Number of fluid phases.
The pressure solvers also assume that the number of fluid components (at surface conditions) equals the number of fluid phases.
double* compr_quantities_gen::phasemobf |
Phase mobility per interface.
Possibly defined through an upwind calculation. Array of size nphases * nf
.
double* compr_quantities_gen::voldiscr |
Deceptively named "volume-discrepancy" term.
Array of size nc
. Unused by the cfs_tpfa_residual module.