ubMixtureMap Class Referenceabstract

Base class for unburnt/burnt gas composition mapping. More...

Inheritance diagram for ubMixtureMap:
Collaboration diagram for ubMixtureMap:

Public Member Functions

 TypeName ("ubMixtureMap")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, ubMixtureMap, thermo,(const uRhoMulticomponentThermo &uThermo, const bRhoMulticomponentThermo &bThermo),(uThermo, bThermo))
 
 ubMixtureMap (const uRhoMulticomponentThermo &uThermo, const bRhoMulticomponentThermo &bThermo)
 Construct from components. More...
 
 ubMixtureMap (const ubMixtureMap &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~ubMixtureMap ()
 Destructor. More...
 
virtual PtrList< volScalarField::Internalprompt (const PtrList< volScalarField > &Yu) const =0
 Return the burnt gas prompt specie mass fractions. More...
 
virtual void reset (const volScalarField &b, UPtrList< volScalarField > &Yu, const volScalarField &c, const UPtrList< const volScalarField > &Yb) const =0
 Reset the mixture to an unburnt state. More...
 
void operator= (const ubMixtureMap &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< ubMixtureMapNew (const uRhoMulticomponentThermo &uThermo, const bRhoMulticomponentThermo &bThermo)
 Return a reference to the selected XiEq model. More...
 

Protected Member Functions

template<class Thermo , class To >
const To & mixtureCast (const Thermo &thermo) const
 
template<class To >
const To & uMixtureCast () const
 
template<class To >
const To & bMixtureCast () const
 

Protected Attributes

const uRhoMulticomponentThermouThermo_
 
const bRhoMulticomponentThermobThermo_
 

Detailed Description

Base class for unburnt/burnt gas composition mapping.

Source files

Definition at line 50 of file ubMixtureMap.H.

Constructor & Destructor Documentation

◆ ubMixtureMap() [1/2]

ubMixtureMap ( const uRhoMulticomponentThermo uThermo,
const bRhoMulticomponentThermo bThermo 
)

Construct from components.

Definition at line 41 of file ubMixtureMap.C.

◆ ubMixtureMap() [2/2]

ubMixtureMap ( const ubMixtureMap )
delete

Disallow default bitwise copy construction.

◆ ~ubMixtureMap()

~ubMixtureMap ( )
virtual

Destructor.

Definition at line 54 of file ubMixtureMap.C.

Member Function Documentation

◆ mixtureCast()

const To& mixtureCast ( const Thermo &  thermo) const
inlineprotected

Definition at line 63 of file ubMixtureMap.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, thermo, and Foam::typeName().

Here is the call graph for this function:

◆ uMixtureCast()

const To& uMixtureCast ( ) const
inlineprotected

Definition at line 81 of file ubMixtureMap.H.

References ubMixtureMap::uThermo_.

◆ bMixtureCast()

const To& bMixtureCast ( ) const
inlineprotected

Definition at line 87 of file ubMixtureMap.H.

References ubMixtureMap::bThermo_.

◆ TypeName()

TypeName ( "ubMixtureMap"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
ubMixtureMap  ,
thermo  ,
(const uRhoMulticomponentThermo &uThermo, const bRhoMulticomponentThermo &bThermo)  ,
(uThermo, bThermo)   
)

◆ New()

Foam::autoPtr< Foam::ubMixtureMap > New ( const uRhoMulticomponentThermo uThermo,
const bRhoMulticomponentThermo bThermo 
)
static

Return a reference to the selected XiEq model.

Definition at line 60 of file ubMixtureMap.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::lookupOrDefault(), Foam::nl, and basicThermo::properties().

Here is the call graph for this function:

◆ prompt()

virtual PtrList<volScalarField::Internal> prompt ( const PtrList< volScalarField > &  Yu) const
pure virtual

Return the burnt gas prompt specie mass fractions.

corresponding to the given unburnt gas specie mass fractions

Implemented in uMulticomponentbInhomogeneous, uInhomogeneousEGRbInhomogeneous, uInhomogeneousbMulticomponent, uInhomogeneousbInhomogeneous, and uHomogeneousbHomogeneous.

◆ reset()

virtual void reset ( const volScalarField b,
UPtrList< volScalarField > &  Yu,
const volScalarField c,
const UPtrList< const volScalarField > &  Yb 
) const
pure virtual

Reset the mixture to an unburnt state.

for multi-cycle simulations with EGR

Implemented in uMulticomponentbInhomogeneous, uInhomogeneousEGRbInhomogeneous, uInhomogeneousbMulticomponent, uInhomogeneousbInhomogeneous, and uHomogeneousbHomogeneous.

◆ operator=()

void operator= ( const ubMixtureMap )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ uThermo_

const uRhoMulticomponentThermo& uThermo_
protected

Definition at line 56 of file ubMixtureMap.H.

Referenced by ubMixtureMap::uMixtureCast().

◆ bThermo_

const bRhoMulticomponentThermo& bThermo_
protected

Definition at line 57 of file ubMixtureMap.H.

Referenced by ubMixtureMap::bMixtureCast().


The documentation for this class was generated from the following files: