yaeos__solvers_pressure_equality Module

Solve the pressure equality of a



Subroutines

public subroutine pressure_equality_V_beta_xy(model, T, V, beta, x, y, Vx, Vy, P)

Solve pressure equality between two phases at a given temperature, total volume, vapor molar fractions and compositions.

Arguments

Type IntentOptional 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]