Calculation of saturation pressure of a pure component using the secant method.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ArModel), | intent(in) | :: | eos |
Model that will be used |
||
| integer, | intent(in) | :: | ncomp |
Number of component in the mixture from which the saturation pressure will be calculated |
||
| real(kind=pr), | intent(in) | :: | T |
Temperature [K] |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | private | :: | F(3) | ||||
| real(kind=pr), | private | :: | P | ||||
| real(kind=pr), | private | :: | Pc | ||||
| real(kind=pr), | private | :: | S | ||||
| real(kind=pr), | private | :: | Vl | ||||
| real(kind=pr), | private | :: | Vv | ||||
| real(kind=pr), | private | :: | X(3) | ||||
| real(kind=pr), | private | :: | dF(3,3) | ||||
| real(kind=pr), | private | :: | dFdS(3) | ||||
| integer, | private | :: | its | ||||
| real(kind=pr), | private | :: | n(size(eos)) | ||||
| integer, | private, | parameter | :: | ns | = | 3 |