reducing_functions Subroutine

public subroutine reducing_functions(self, n, Vr, Tr)

reducing_functions

Evaluate composition-dependent GERG reducing volume and temperature.

Description

Normalizes the component amounts to mole fractions and combines pure critical properties with binary reducing parameters. Hyperdual inputs preserve composition derivatives for the mixture Helmholtz function.

Arguments

Type IntentOptional Attributes Name
class(Gerg2008), intent(in) :: self

GERG model containing binary reducing data.

type(hyperdual), intent(in) :: n(:)

Component mole amounts [mol].

type(hyperdual), intent(out) :: Vr

Mixture reducing molar volume [L/mol].

type(hyperdual), intent(out) :: Tr

Mixture reducing temperature [K].


Called by

proc~~reducing_functions~~CalledByGraph proc~reducing_functions reducing_functions proc~arfun Gerg2008%arfun proc~arfun->proc~reducing_functions

Variables

Type Visibility Attributes Name Initial
real(kind=8), public :: Bt(size(n),size(n))
real(kind=8), public :: Bv(size(n),size(n))
real(kind=8), public :: Gt(size(n),size(n))
real(kind=8), public :: Gv(size(n),size(n))
real(kind=8), public :: Tc(size(n))
real(kind=8), public :: Vc(size(n))
type(hyperdual), public :: X(size(n))

Mole fractions.

integer, public :: i

Loop index i.

integer, public :: j

Loop index j.

integer, public :: nc

Number of components.

real(kind=8), public :: rho_c(size(n))