BmixMHV Subroutine

private subroutine BmixMHV(self, n, bi, B, dBi, dBij)

Repulsive parameter mixing rule

Quadratinc mixing rule for the repulsive parameter, using as a combining rule.

Description

Michelsen’s modified Huron-Vidal mixing rule assumes a linear mix of the repulsive parameter.

In this implementation the most known crossed combining rule is used: to provide versatility to the used model.

Warning

This mixing rule is intended to use only with a linear combining rule, using could negatively affect the thermodynamic consistency of the model.

Examples

 A basic code example

References

Type Bound

MHV

Arguments

Type IntentOptional Attributes Name
class(MHV), intent(in) :: self
real(kind=pr), intent(in) :: n(:)
real(kind=pr), intent(in) :: bi(:)
real(kind=pr), intent(out) :: B
real(kind=pr), intent(out) :: dBi(:)
real(kind=pr), intent(out) :: dBij(:,:)