Mathias-Copeman alpha function with component-specific coefficients.
For : and for the Soave form with only, . Each coefficient array has one value per component.
alpha%c1 = c1
alpha%c2 = c2
alpha%c3 = c3
call model%set_alpha(alpha)
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public, | allocatable | :: | c1(:) |
First Mathias-Copeman coefficient by component. |
||
| real(kind=pr), | public, | allocatable | :: | c2(:) |
Second Mathias-Copeman coefficient by component. |
||
| real(kind=pr), | public, | allocatable | :: | c3(:) |
Third Mathias-Copeman coefficient by component. |
Evaluate the Mathias-Copeman alpha function and its reduced-temperature derivatives.
| Type | Intent | Optional | 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. |