Solve the pressure equality of a
Solve pressure equality between two phases at a given temperature, total volume, vapor molar fractions and compositions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ArModel), | intent(in) | :: | model | |||
real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
||
real(kind=pr), | intent(in) | :: | V |
Total volume [L/mol] |
||
real(kind=pr), | intent(in) | :: | beta |
Molar fraction of light-phase |
||
real(kind=pr), | intent(in) | :: | x(:) |
Molar fractions of heavy-phase |
||
real(kind=pr), | intent(in) | :: | y(:) |
Molar fractions of light-phase |
||
real(kind=pr), | intent(inout) | :: | Vx |
Heavy-phase molar volume [L/mol] |
||
real(kind=pr), | intent(inout) | :: | Vy |
Light-Phase molar volume [L/mol] |
||
real(kind=pr), | intent(out) | :: | P |
Pressure [bar] |