Non-Random-Two-Liquid model
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public, | allocatable | :: | a(:,:) |
A_{ij} matrix |
||
| real(kind=pr), | public, | allocatable | :: | b(:,:) |
B_{ij} matrix |
||
| real(kind=pr), | public, | allocatable | :: | c(:,:) |
C_{ij} matrix |
||
| type(Substances), | public | :: | components |
Substances contained in the module |
| public function init (a, b, c) |
| procedure, public :: excess_enthalpy | |
| procedure, public :: excess_entropy | |
| procedure, public :: excess_gibbs | |
| procedure, public :: ln_activity_coefficient |
Calculate Excess Gibbs and its derivatives.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(NRTL), | intent(in) | :: | self |
Model |
||
| real(kind=pr), | intent(in) | :: | n(:) |
Moles vector |
||
| real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
||
| real(kind=pr), | intent(out), | optional | :: | Ge |
Excess Gibbs free energy |
|
| real(kind=pr), | intent(out), | optional | :: | GeT |
|
|
| real(kind=pr), | intent(out), | optional | :: | GeT2 |
|
|
| real(kind=pr), | intent(out), | optional | :: | Gen(size(n)) |
|
|
| real(kind=pr), | intent(out), | optional | :: | GeTn(size(n)) | ||
| real(kind=pr), | intent(out), | optional | :: | Gen2(size(n),size(n)) |