Calculate fugacity coefficent given volume and temperature.
Note
While the natural output variable is . The calculated derivatives will be the derivatives of the fugacity coefficient
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ArModel) | :: | eos |
Model |
|||
real(kind=pr), | intent(in) | :: | n(:) |
Mixture mole numbers |
||
real(kind=pr), | intent(in) | :: | V |
Volume [L] |
||
real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
||
real(kind=pr), | intent(out), | optional | :: | P |
Pressure [bar] |
|
real(kind=pr), | intent(out), | optional | :: | lnPhi(size(n)) |
vector |
|
real(kind=pr), | intent(out), | optional | :: | dlnPhidP(size(n)) |
Presssure derivative |
|
real(kind=pr), | intent(out), | optional | :: | dlnPhidT(size(n)) |
Temp derivative |
|
real(kind=pr), | intent(out), | optional | :: | dlnPhidn(size(n),size(n)) |
compositional derivative |
|
real(kind=pr), | intent(out), | optional | :: | dPdV |
|
|
real(kind=pr), | intent(out), | optional | :: | dPdT |
|
|
real(kind=pr), | intent(out), | optional | :: | dPdn(:) |
|
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public | :: | Ar | ||||
real(kind=pr), | public | :: | ArTV | ||||
real(kind=pr), | public, | dimension(size(n)) | :: | ArTn | |||
real(kind=pr), | public | :: | ArV | ||||
real(kind=pr), | public | :: | ArV2 | ||||
real(kind=pr), | public, | dimension(size(n)) | :: | ArVn | |||
real(kind=pr), | public, | dimension(size(n)) | :: | Arn | |||
real(kind=pr), | public | :: | Arn2(size(n),size(n)) | ||||
real(kind=pr), | public | :: | P_in | ||||
real(kind=pr), | public | :: | RT | ||||
real(kind=pr), | public | :: | Z | ||||
real(kind=pr), | public | :: | dPdT_in | ||||
real(kind=pr), | public | :: | dPdV_in | ||||
real(kind=pr), | public | :: | dPdn_in(size(n)) | ||||
integer, | public | :: | i | ||||
integer, | public | :: | j | ||||
integer, | public | :: | nc | ||||
real(kind=pr), | public | :: | totn |