Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions. More...
#include <PurePhaseModel.H>


Public Member Functions | |
| PurePhaseModel (const multiphaseInterSystem &fluid, const word &phaseName) | |
| virtual | ~PurePhaseModel ()=default |
| Destructor. | |
| virtual const PtrList< volScalarField > & | Y () const |
| Return the species mass fractions. | |
| virtual PtrList< volScalarField > & | Y () |
| Access the species mass fractions. | |
| virtual void | solveYi (PtrList< volScalarField::Internal > &, PtrList< volScalarField::Internal > &) |
| Solve species fraction equation. | |
| virtual const phaseThermo & | thermo () const |
| Access to const thermo. | |
| virtual phaseThermo & | thermo () |
| Access non-const thermo. | |
| PurePhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
| virtual | ~PurePhaseModel () |
| Destructor. | |
| virtual bool | pure () const |
| Return whether the phase is pure (i.e., not multi-component). | |
| virtual tmp< fvScalarMatrix > | YiEqn (volScalarField &Yi) |
| Return the species fraction equation. | |
| virtual const PtrList< volScalarField > & | Y () const |
| Return the species mass fractions. | |
| virtual const volScalarField & | Y (const word &name) const |
| Return a species mass fraction by name. | |
| virtual PtrList< volScalarField > & | YRef () |
| Access the species mass fractions. | |
| virtual const UPtrList< volScalarField > & | YActive () const |
| Return the active species mass fractions. | |
| virtual UPtrList< volScalarField > & | YActiveRef () |
| Access the active species mass fractions. | |
Protected Attributes | |
| PtrList< volScalarField > | Y_ |
| Empty mass fraction field list. | |
| autoPtr< phaseThermo > | thermoPtr_ |
| Empty thermophysical model Ptr. | |
Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions.
Definition at line 52 of file PurePhaseModel.H.
| PurePhaseModel | ( | const multiphaseInterSystem & | fluid, |
| const word & | phaseName ) |
Definition at line 28 of file PurePhaseModel.C.
References basicThermo::dictName, fluid, basicThermo::phasePropertyName(), and thermoPtr_.

|
virtualdefault |
Destructor.
Definition at line 41 of file PurePhaseModel.C.
| PurePhaseModel | ( | const phaseSystem & | fluid, |
| const word & | phaseName, | ||
| const label | index ) |
Definition at line 27 of file PurePhaseModel.C.
References fluid.
|
virtual |
Destructor.
|
virtual |
|
virtual |
|
virtual |
Solve species fraction equation.
Definition at line 52 of file PurePhaseModel.C.
References NotImplemented.
|
virtual |
|
virtual |
|
virtual |
Return whether the phase is pure (i.e., not multi-component).
Definition at line 48 of file PurePhaseModel.C.
|
virtual |
Return the species fraction equation.
Definition at line 56 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return the species mass fractions.
References Foam::name().

|
virtual |
Return a species mass fraction by name.
Definition at line 78 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and GeometricField< scalar, fvPatchField, volMesh >::null().

|
virtual |
Access the species mass fractions.
Definition at line 90 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Y_.

|
virtual |
Return the active species mass fractions.
Definition at line 102 of file PurePhaseModel.C.
References Y_.
|
virtual |
Access the active species mass fractions.
Definition at line 112 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Y_.

|
protected |
Empty mass fraction field list.
Definition at line 63 of file PurePhaseModel.H.
Referenced by Y(), Y(), YActive(), YActiveRef(), and YRef().
|
protected |
Empty thermophysical model Ptr.
Definition at line 68 of file PurePhaseModel.H.
Referenced by PurePhaseModel(), thermo(), and thermo().