alpha_mc Subroutine

public subroutine alpha_mc(self, Tr, a, dadt, dadt2)

alpha_mc

Evaluate the Mathias-Copeman alpha function and its reduced-temperature derivatives.

Description

Applies the low-temperature polynomial branch for and the high-temperature continuation for .

Examples

Configure c1, c2, and c3 by component and call the type-bound alpha procedure.

Type Bound

AlphaMathiasCopeman

Arguments

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

Component-specific coefficients.

real(kind=pr), intent(in) :: Tr(:)

Reduced temperatures.

real(kind=pr), intent(out) :: a(:)

Alpha-function values.

real(kind=pr), intent(out) :: dadt(:)

First reduced-temperature derivative of alpha.

real(kind=pr), intent(out) :: dadt2(:)

Second reduced-temperature derivative of alpha.


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: dudt(size(Tr))
real(kind=pr), public :: dudt2(size(Tr))
real(kind=pr), public :: sqrt_Tr(size(Tr))
real(kind=pr), public :: u(size(Tr))