Three-phase envelope at constant temperature. Each array stores one value per envelope point.
Phase composition arrays use (point, component) indexing. The
pressure, feed interpolation coordinate, phase fractions, and phase
compositions correspond by point index.
print *, envelope%alpha, envelope%P, envelope%beta
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public, | allocatable | :: | P(:) |
Pressure [bar] |
||
| real(kind=pr), | public, | allocatable | :: | S(:) |
Specified value to solve point |
||
| real(kind=pr), | public | :: | T |
Temperature [K] |
|||
| real(kind=pr), | public, | allocatable | :: | alpha(:) |
Mole fraction of other fluid |
||
| real(kind=pr), | public, | allocatable | :: | beta(:) |
Mole fraction between phase x and phase y |
||
| integer, | public, | allocatable | :: | ns(:) |
Specified variable to solve point |
||
| real(kind=pr), | public, | allocatable | :: | w(:,:) |
Mole fraction of phase w |
||
| real(kind=pr), | public, | allocatable | :: | x(:,:) |
Mole fraction of phase x |
||
| real(kind=pr), | public, | allocatable | :: | y(:,:) |
Mole fraction of phase y |