Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | dn2 | = | .false. |
Calculate second order derivatives |
|
real(kind=pr), | public, | allocatable | :: | k(:,:) |
Attractive Binary Interatction parameter matrix |
||
real(kind=pr), | public, | allocatable | :: | l(:,:) |
Repulsive Binary Interatction parameter matrix |
Repulsive parameter mixing rule
Mixture repulsive parameter.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(QMR), | intent(in) | :: | self |
Mixing rule object. |
||
real(kind=pr), | intent(in) | :: | n(:) |
Moles vector. |
||
real(kind=pr), | intent(in) | :: | bi(:) |
Pure components repulsive parameters. |
||
real(kind=pr), | intent(out) | :: | B |
Mixture repulsive parameter. |
||
real(kind=pr), | intent(out) | :: | dBi(:) |
|
||
real(kind=pr), | intent(out) | :: | dBij(:,:) |
|
RKPR parameter mixing rule.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(QMR_RKPR), | intent(in) | :: | self | |||
real(kind=pr), | intent(in) | :: | n(:) | |||
real(kind=pr), | intent(in) | :: | d1i(:) | |||
real(kind=pr), | intent(out) | :: | D1 | |||
real(kind=pr), | intent(out) | :: | dD1i(:) | |||
real(kind=pr), | intent(out) | :: | dD1ij(:,:) |
Attractive parameter mixing rule
Attractive parameter mixing rule with quadratic mix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(QMR), | intent(in) | :: | self |
Mixing rule object. |
||
real(kind=pr), | intent(in) | :: | n(:) |
Moles vector [mol] |
||
real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
||
real(kind=pr), | intent(in) | :: | ai(:) |
Pure components attractive parameters |
||
real(kind=pr), | intent(in) | :: | daidt(:) |
|
||
real(kind=pr), | intent(in) | :: | daidt2(:) |
|
||
real(kind=pr), | intent(out) | :: | D |
Mixture attractive parameter |
||
real(kind=pr), | intent(out) | :: | dDdT |
|
||
real(kind=pr), | intent(out) | :: | dDdT2 |
|
||
real(kind=pr), | intent(out) | :: | dDi(:) |
|
||
real(kind=pr), | intent(out) | :: | dDidT(:) |
|
||
real(kind=pr), | intent(out) | :: | dDij(:,:) |
|
Default attractive parameter combining rule
Combining rule that uses constant values.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(QMR), | intent(in) | :: | self | |||
real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
||
real(kind=pr), | intent(in) | :: | a(:) |
Pure components attractive parameters (\a_i) |
||
real(kind=pr), | intent(in) | :: | dadt(:) |
|
||
real(kind=pr), | intent(in) | :: | dadt2(:) |
|
||
real(kind=pr), | intent(out) | :: | aij(:,:) |
Matrix |
||
real(kind=pr), | intent(out) | :: | daijdt(:,:) |
|
||
real(kind=pr), | intent(out) | :: | daijdt2(:,:) |
|