Flash algorithm using sucessive substitutions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ArModel), | intent(in) | :: | model |
Thermodynamic model |
||
real(kind=pr), | intent(in) | :: | z(:) |
Global composition (molar fractions) |
||
real(kind=pr), | intent(in) | :: | t |
Temperature [K] |
||
real(kind=pr), | intent(in), | optional | :: | v_spec |
Specified Volume [L/mol] |
|
real(kind=pr), | intent(in), | optional | :: | p_spec |
Specified Pressure [bar] |
|
real(kind=pr), | intent(in), | optional | :: | k0(:) |
Initial K factors (y/x) |
|
integer, | intent(out), | optional | :: | iters |
Number of iterations |