Collection of predefined fluids to be used as examples and in tests.
This module collects a set of different fluids intended to be used for tests or in practice when training on using the library.
The fluids are stored as functions that return a derived type FixtureFluid
which contains the instantiated ArModel of the fluid, and its relevant
compositions z0 and zi
A basic code example
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| class(ArModel), | public, | allocatable | :: | ar_model | |||
| integer, | public | :: | nc |
Number of components |
|||
| character(len=:), | public, | allocatable | :: | reference |
Reference of where the fluid was taken from |
||
| real(kind=pr), | public, | allocatable | :: | z0(:) |
Original composition |
||
| real(kind=pr), | public, | allocatable | :: | zi(:) |
Injection composition (if exists) |
J. Gao, R. Okuno, and H. A. Li, “An Experimental Study of Multiphase Behavior for n-Butane/Bitumen/Water Mixtures,” SPE Journal, 2016, doi: 10.2118/180736-pa.