Construct from a cubic EOS and experimental critical molar volumes.
The base volume is evaluated for each pure component at its Tc and Pc. Supply initialized cubic parameters and arrays in component order, with matching lengths, vc > 0, eta >= 0 and gamma > 0.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CubicEoS), | intent(in) | :: | base | |||
| real(kind=pr), | intent(in) | :: | vc(:) |
Critical molar volumes [L/mol]. |
||
| real(kind=pr), | intent(in) | :: | eta(:) |
Nonnegative dimensionless parameters. |
||
| real(kind=pr), | intent(in) | :: | gamma(:) |
Positive exponents. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | i | ||||
| real(kind=pr), | private | :: | n(size(vc)) | ||||
| real(kind=pr), | private | :: | volume |