Quadratinc mixing rule for the repulsive parameter, using as a combining rule.
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.
A basic code example
Type | Intent | Optional | 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(:,:) |