Evaluate the legacy mixture attractive parameter and derivatives.
Combines the aij matrix with component mole amounts and, when
NTD enables temperature dependence, evaluates temperature gradients.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | ntd |
Flag selecting temperature-dependent derivative calculations. |
||
| integer, | intent(in) | :: | nc |
Number of active components. |
||
| real(kind=pr), | intent(in) | :: | T |
Temperature [K]. |
||
| real(kind=pr), | intent(in) | :: | rn(nc) |
Component mole amounts used in mixture rules. |
||
| real(kind=pr), | intent(out) | :: | D |
Mixture attractive parameter. |
||
| real(kind=pr), | intent(out) | :: | dDi(nc) |
. |
||
| real(kind=pr), | intent(out) | :: | dDiT(nc) |
. |
||
| real(kind=pr), | intent(out) | :: | dDij(nc,nc) |
. |
||
| real(kind=pr), | intent(out) | :: | dDdT |
. |
||
| real(kind=pr), | intent(out) | :: | dDdT2 |
. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public | :: | aij(nc,nc) |
Pair attractive-parameter matrix. |
|||
| real(kind=pr), | public | :: | aux |
Intermediate accumulator. |
|||
| real(kind=pr), | public | :: | aux2 |
Second intermediate accumulator. |
|||
| real(kind=pr), | public | :: | daijdT(nc,nc) |
Temperature derivative of the pair attractive parameters. |
|||
| real(kind=pr), | public | :: | daijdT2(nc,nc) |
Second temperature derivative of the pair attractive parameters. |
|||
| integer, | public | :: | i |
Loop index |
|||
| integer, | public | :: | j |
Loop index |