|
My Project
|
Specifies an auxiliary constraint for the MiscibleMultiPhaseComposition constraint solver. More...
#include <MiscibleMultiPhaseComposition.hpp>
Public Member Functions | |
| MMPCAuxConstraint (unsigned phaseIndex, unsigned compIndex, Scalar val) | |
| void | set (unsigned phaseIndex, unsigned compIndex, Scalar val) |
| Specify the auxiliary constraint. | |
| unsigned | phaseIdx () const |
| Returns the index of the fluid phase for which the auxiliary constraint is specified. | |
| unsigned | compIdx () const |
| Returns the index of the component for which the auxiliary constraint is specified. | |
| Scalar | value () const |
| Returns value of the mole fraction of the auxiliary constraint. | |
Specifies an auxiliary constraint for the MiscibleMultiPhaseComposition constraint solver.
For this constraint solver, an auxiliary constraint is defined as a fixed mole fraction of a component in a fluid phase.