Calculate residual Gibbs energy given volume and temperature.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ArModel), | intent(in) | :: | eos |
Model |
||
real(kind=pr), | intent(in) | :: | n(:) |
Moles number vector |
||
real(kind=pr), | intent(in) | :: | V |
Volume [L] |
||
real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
||
real(kind=pr), | intent(out) | :: | Gr |
Gibbs energy [bar L] |
||
real(kind=pr), | intent(out), | optional | :: | GrT |
|
|
real(kind=pr), | intent(out), | optional | :: | GrV |
|
|
real(kind=pr), | intent(out), | optional | :: | Grn(size(n)) |
|
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public | :: | Ar | ||||
real(kind=pr), | public | :: | ArT | ||||
real(kind=pr), | public | :: | ArV | ||||
real(kind=pr), | public | :: | Arn(size(n)) | ||||
real(kind=pr), | public | :: | dPdT | ||||
real(kind=pr), | public | :: | dPdV | ||||
real(kind=pr), | public | :: | dPdn(size(n)) | ||||
real(kind=pr), | public | :: | p | ||||
real(kind=pr), | public | :: | totn | ||||
real(kind=pr), | public | :: | z |