Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Cubic EoS volume solver
Volume solver optimized for Cubic Equations of State.
Description
Uses the solver proposed by Michelsen.
Examples
use yaeos,only:CubicEoS,PengRobinsontype(CubicEoS)::eoseos=PengRobinson(tc,pc,w)! Possible roots to solvecall eos%volume(n,P,T,V,"liquid")call eos%volume(n,P,T,V,"vapor")call eos%volume(n,P,T,V,"stable")
References
[1] “Thermodynamic Models: Fundamental and Computational Aspects”,
Michael L. Michelsen, Jørgen M. Mollerup.
Tie-Line Publications, Denmark (2004)
doi
[2] “A Note on the Analytical Solution of Cubic Equations of State
in Process Simulation”, Rosendo Monroy-Loperena
doi
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.