RKPR parameter mixing rule.
The RKPR EoS doesn’t have a constant value for each component, so a proper mixing rule should be provided. A linear combination is used.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=pr), | intent(in) | :: | n(:) |
Component mole amounts [mol] |
||
| real(kind=pr), | intent(in) | :: | d1i(:) |
Pure-component values |
||
| real(kind=pr), | intent(out) | :: | D1 |
Mixture |
||
| real(kind=pr), | intent(out) | :: | dD1i(:) |
|
||
| real(kind=pr), | intent(out) | :: | dD1ij(:,:) |
|
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | i |
Loop index |
|||
| integer, | public | :: | j |
Loop index |
|||
| integer, | public | :: | nc |
Number of components. |
|||
| real(kind=pr), | public | :: | totn |
Total number of moles. |