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.
Volume solver at a given pressure.
Obtain the volume using the method described by Michelsen and Mollerup.
While can be obtained with a simple Newton method, a better
approach is solving where is the EoS covolume.
This method is easier to solve because:
and
At chapter 3 page 94 of Michelsen and Møllerup’s book a more complete
explanation can be seen
Notes
Pass root_type explicitly ("liquid", "vapor", or "stable").
Although optional in the interface, the current implementation uses
the argument directly in root selection. When V0 is present only the
initial is set and no root search is performed, so
V is not assigned.
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.