ConstantVolumeTranslation wraps an existing ArModel with fixed component shifts (not temperature dependant) and the linear combining rule
Supply c(:) in L/mol in the same order and with the same component count as
the base EOS. Amounts n(:) are in mol and need not sum to one; C is a
total volume in L. Positive coefficients reduce the physical volume, as
explained in the general derivation.
The following shifts are illustrative, not fitted parameters. This complete program compares a PR76 vapor root with its translated counterpart on a two-mole basis.
program constant_translation_example
use yaeos, only: pr, CubicEoS, PengRobinson76, ConstantVolumeTranslation
implicit none
type(CubicEoS) :: base
type(ConstantVolumeTranslation) :: model
real(pr) :: n(2)
real(pr) :: c(2)
real(pr) :: V_base
real(pr) :: V
base = PengRobinson76(&
[190.564_pr, 305.32_pr], & ! Critical Temperatures
[45.99_pr, 48.72_pr], & ! Crutucal Pressures
[0.01142_pr, 0.0995_pr] & ! Acentric factors
)
c = [0.010_pr, 0.020_pr] ! L/mol; illustrative values
n = [0.8_pr, 1.2_pr] ! mol
model = ConstantVolumeTranslation(base, c)
call base%volume(n, 1._pr, 300._pr, V_base, "vapor")
call model%volume(n, 1._pr, 300._pr, V, "vapor")
if (abs(V-(V_base-dot_product(n,c))) > 1.e-10_pr) error stop "Volume shift mismatch"
print *, "Base and translated total volumes [L]:", V_base, V
end program constant_translation_example
For corresponding base and translated states at the same , with , the pressure is the same. The fugacity correction is
Consequently, the linear correction cancels between phases at a common and preserves corresponding phase-equilibrium conditions and compositions when their roots remain admissible [1]. It does not leave individual fugacity coefficients or volumes unchanged. It also shifts residual enthalpy by , while residual at corresponding states is unchanged for temperature-independent .
The constructor does not implement or choose a correlation: calculate or fit each externally and supply it. The following are different literature choices, not interchangeable universal defaults. Use in bar L/(mol K), in K and in bar to obtain L/mol.
For SRK, Horstmann et al. [3, equations 8–9] estimate the constant volume shift from the component’s critical properties:
Here is the experimental critical molar volume, so is the experimental critical compressibility factor. Horstmann et al. also mention estimating the shift from experimental liquid-density data [3].
For the temperature-independent PR volume correction, Ahlers and Gmehling [2, equations 4, 12–13] use the experimental critical compressibility and obtain
The authors fitted and generalized the PR correction against pure-component saturated-liquid density data; their constant correction targets the lower-temperature range rather than the immediate critical region. This expression is not the SRK Péneloux correlation above. Supplying its to a PR76 model applies that constant volume correction; it does not by itself construct the full group-contribution VTPR model or its temperature-dependent T-VTPR variant.
Choose coefficients and operating conditions appropriate for the components and the base EOS. A constant correction cannot generally eliminate errors near a pure-component critical point [1, 2]. The physical volume and the base volume must remain positive and within the base EOS domain. Root selection uses the base model’s solver; see the translated-model interface.