Cubic EoS volume initializer. For a Cubic Equation of State, the covolume calculated with the mixing rule is a good estimate for the initial volume solver on the liquid region.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CubicEoS), | intent(in) | :: | self |
Cubic model with component covolumes and mixing rule. |
||
| real(kind=pr), | intent(in) | :: | n(:) |
Component mole amounts [mol]. |
||
| real(kind=pr), | intent(in) | :: | p |
Pressure [bar]. |
||
| real(kind=pr), | intent(in) | :: | t |
Temperature [K]. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public | :: | dbi(size(n)) | ||||
| real(kind=pr), | public | :: | dbij(size(n),size(n)) |