MPEquilibriumStateType to hold the state of a multiphase equilibrium calculation.
This type holds the results of a multiphase equilibrium calculation, including phase compositions, pressures, and temperatures.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public | :: | P |
Pressure |
|||
| real(kind=pr), | public | :: | T |
Temperature |
|||
| real(kind=pr), | public, | allocatable | :: | betas(:) |
Mole fractions of each phase |
||
| character(len=14), | public | :: | kind_w |
Kind of the reference phase |
|||
| character(len=14), | public, | allocatable | :: | kinds_x(:) |
Kinds of the main phases |
||
| integer, | public | :: | np |
Number of phases |
|||
| real(kind=pr), | public, | allocatable | :: | w(:) |
Mole fractions of the reference phase |
||
| real(kind=pr), | public, | allocatable | :: | x_l(:,:) |
Mole fractions of the main phases |
||
| real(kind=pr), | public, | allocatable | :: | z(:) |
Global composition |