Go to the source code of this file.
|
struct ifs_tpfa_data * | ifs_tpfa_construct (struct UnstructuredGrid *G, struct Wells *W) |
|
int | ifs_tpfa_assemble (struct UnstructuredGrid *G, const struct ifs_tpfa_forces *F, const double *trans, const double *gpress, struct ifs_tpfa_data *h) |
|
int | ifs_tpfa_assemble_comprock (struct UnstructuredGrid *G, const struct ifs_tpfa_forces *F, const double *trans, const double *gpress, const double *porevol, const double *rock_comp, const double dt, const double *pressure, struct ifs_tpfa_data *h) |
|
int | ifs_tpfa_assemble_comprock_increment (struct UnstructuredGrid *G, const struct ifs_tpfa_forces *F, const double *trans, const double *gpress, const double *porevol, const double *rock_comp, const double dt, const double *prev_pressure, const double *initial_porevolume, struct ifs_tpfa_data *h) |
|
void | ifs_tpfa_press_flux (struct UnstructuredGrid *G, const struct ifs_tpfa_forces *F, const double *trans, struct ifs_tpfa_data *h, struct ifs_tpfa_solution *soln) |
|
void | ifs_tpfa_destroy (struct ifs_tpfa_data *h) |
|
Interfaces and data structures to assemble a system of simultaneous linear equations discretising a flow problem that is either incompressible or features rock compressibility using the two-point flux approximation method.
Includes support for reconstructing the Darcy flux field as well as well connection fluxes.
- Parameters
-
[in] | G | |
[in] | F | |
[in] | trans | |
[in] | gpress | |
[in,out] | h | |
- Returns
int ifs_tpfa_assemble_comprock |
( |
struct UnstructuredGrid * |
G, |
|
|
const struct ifs_tpfa_forces * |
F, |
|
|
const double * |
trans, |
|
|
const double * |
gpress, |
|
|
const double * |
porevol, |
|
|
const double * |
rock_comp, |
|
|
const double |
dt, |
|
|
const double * |
pressure, |
|
|
struct ifs_tpfa_data * |
h |
|
) |
| |
int ifs_tpfa_assemble_comprock_increment |
( |
struct UnstructuredGrid * |
G, |
|
|
const struct ifs_tpfa_forces * |
F, |
|
|
const double * |
trans, |
|
|
const double * |
gpress, |
|
|
const double * |
porevol, |
|
|
const double * |
rock_comp, |
|
|
const double |
dt, |
|
|
const double * |
prev_pressure, |
|
|
const double * |
initial_porevolume, |
|
|
struct ifs_tpfa_data * |
h |
|
) |
| |
Allocate TPFA management structure capable of assembling a system of simultaneous linear equations corresponding to a particular grid and well configuration.
- Parameters
-
[in] | G | Grid. |
[in] | W | Well topology. |
- Returns
- Fully formed TPFA management structure if successful,
NULL in case of allocation failure.
|