Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions. More...
Public Member Functions | |
PurePhaseModel (const multiphaseInterSystem &fluid, const word &phaseName) | |
virtual | ~PurePhaseModel ()=default |
Destructor. More... | |
virtual const PtrList< volScalarField > & | Y () const |
Return the species mass fractions. More... | |
virtual PtrList< volScalarField > & | Y () |
Access the species mass fractions. More... | |
virtual void | solveYi (PtrList< volScalarField::Internal > &, PtrList< volScalarField::Internal > &) |
Solve species fraction equation. More... | |
virtual const phaseThermo & | thermo () const |
Access to const thermo. More... | |
virtual phaseThermo & | thermo () |
Access non-const thermo. More... | |
PurePhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
virtual | ~PurePhaseModel () |
Destructor. More... | |
virtual bool | pure () const |
Return whether the phase is pure (i.e., not multi-component) More... | |
virtual tmp< fvScalarMatrix > | YiEqn (volScalarField &Yi) |
Return the species fraction equation. More... | |
virtual const PtrList< volScalarField > & | Y () const |
Return the species mass fractions. More... | |
virtual const volScalarField & | Y (const word &name) const |
Return a species mass fraction by name. More... | |
virtual PtrList< volScalarField > & | YRef () |
Access the species mass fractions. More... | |
virtual const UPtrList< volScalarField > & | YActive () const |
Return the active species mass fractions. More... | |
virtual UPtrList< volScalarField > & | YActiveRef () |
Access the active species mass fractions. More... | |
Protected Attributes | |
PtrList< volScalarField > | Y_ |
Empty mass fraction field list. More... | |
autoPtr< phaseThermo > | thermoPtr_ |
Empty thermophysical model Ptr. More... | |
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 29 of file PurePhaseModel.C.
References dictName(), fluid, and Foam::New().
|
virtualdefault |
Destructor.
Definition at line 41 of file PurePhaseModel.C.
PurePhaseModel | ( | const phaseSystem & | fluid, |
const word & | phaseName, | ||
const label | index | ||
) |
Definition at line 28 of file PurePhaseModel.C.
|
virtual |
Destructor.
|
virtual |
Return the species mass fractions.
Definition at line 64 of file PurePhaseModel.C.
|
virtual |
Access the species mass fractions.
Definition at line 72 of file PurePhaseModel.C.
|
virtual |
Solve species fraction equation.
Definition at line 53 of file PurePhaseModel.C.
References NotImplemented.
|
virtual |
Access to const thermo.
Definition at line 80 of file PurePhaseModel.C.
|
virtual |
Access non-const thermo.
Definition at line 87 of file PurePhaseModel.C.
|
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.
|
virtual |
Return a species mass fraction by name.
Definition at line 78 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Access the species mass fractions.
Definition at line 90 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return the active species mass fractions.
Definition at line 102 of file PurePhaseModel.C.
|
virtual |
Access the active species mass fractions.
Definition at line 112 of file PurePhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
|
protected |
Empty mass fraction field list.
Definition at line 63 of file PurePhaseModel.H.
|
protected |
Empty thermophysical model Ptr.
Definition at line 68 of file PurePhaseModel.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.