Research Article
Predicting Fluid Properties in the MUFITS Reservoir Simulator with User-Supplied Modules
Table 4
API for PhaseEquilibrium.
| Interface call PhaseEquilibrium(, , , np, , Id, , Mode) | Variable | Intent | Datatype | Description |
| | in | real(8) | Average fluid pressure, Pa | | in | real(8) | Fluid temperature, degree K | | in | real(8) | Bulk mass composition (array of size nc) | np | in/out | integer(4) | Number of fluid phases | | in/out | real(8) | Parameters of the phases (2-D array of size (6 + nc) × npmax); only the first np columns of the array are relevant, i.e. | Id | in/out | integer(1) | Phase identifier (array of size x); only the first np elements of the array are relevant, i.e. | | in/out | real(8) | Auxiliary variables (array of size na) | Mode | in | integer(1) | Calculation mode |
|
|