Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
singleStepReactingMixture< ThermoType > Class Template Reference

Single step reacting mixture. More...

Inheritance diagram for singleStepReactingMixture< ThermoType >:
Inheritance graph
[legend]
Collaboration diagram for singleStepReactingMixture< ThermoType >:
Collaboration graph
[legend]

Public Types

typedef ThermoType thermoType
 
- Public Types inherited from reactingMixture< ThermoType >
typedef ThermoType thermoType
 
- Public Types inherited from List
typedef SubList< TsubList
 
- Public Types inherited from multiComponentMixture< ThermoType >
typedef ThermoType thermoType
 

Public Member Functions

 singleStepReactingMixture (const dictionary &, const fvMesh &, const word &)
 
virtual ~singleStepReactingMixture ()=default
 
void fresCorrect ()
 
const dimensionedScalar stoicRatio () const
 
const dimensionedScalar s () const
 
const dimensionedScalar qFuel () const
 
const List< scalar > & specieStoichCoeffs () const
 
tmp< volScalarFieldfres (const label index) const
 
label inertIndex () const
 
label fuelIndex () const
 
const List< int > & specieProd () const
 
const scalarListYprod0 () const
 
void read (const dictionary &)
 
- Public Member Functions inherited from reactingMixture< ThermoType >
 reactingMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName)
 
virtual ~reactingMixture ()=default
 
void read (const dictionary &)
 
virtual autoPtr< speciesCompositionTablespecieComposition () const
 
- Public Member Functions inherited from hashedWordList
 hashedWordList ()=default
 
 hashedWordList (const hashedWordList &list)
 
 hashedWordList (hashedWordList &&list)
 
 hashedWordList (const wordUList &list)
 
 hashedWordList (const wordUList &list, bool unique)
 
 hashedWordList (wordList &&list, bool unique=false)
 
 hashedWordList (std::initializer_list< word > list)
 
template<class AnyType , class AnyHash >
 hashedWordList (const HashTable< AnyType, word, AnyHash > &tbl)
 
 hashedWordList (const label len, const char **array, bool unique=false)
 
 hashedWordList (const char **array, bool unique=false)
 
 hashedWordList (Istream &is)
 
void clear ()
 
void append (const word &name, bool unique=false)
 
bool found (const word &name) const
 
const HashTable< label > & lookup () const
 
void swap (hashedWordList &list)
 
void transfer (hashedWordList &list)
 
void transfer (wordList &list, bool unique=false)
 
void rehash () const
 
void rehash (bool unique)
 
void uniq ()
 
void sort ()
 
const wordoperator[] (const label index) const
 
label operator[] (const word &name) const
 
bool operator() (const word &name) const
 
void operator= (const hashedWordList &list)
 
void operator= (const wordUList &list)
 
void operator= (std::initializer_list< word > list)
 
void operator= (hashedWordList &&list)
 
void operator= (wordList &&list)
 
bool contains (const word &name) const
 
- Public Member Functions inherited from List
constexpr List () noexcept
 
 List (const label len)
 
 List (const label len, const T &val)
 
 List (const label len, const Foam::zero)
 
 List (const Foam::one, const T &val)
 
 List (const Foam::one, T &&val)
 
 List (const Foam::one, const Foam::zero)
 
 List (const List< T > &a)
 
 List (const UList< T > &a)
 
 List (List< T > &a, bool reuse)
 
 List (const UList< T > &list, const labelUList &indices)
 
template<unsigned N>
 List (const UList< T > &list, const FixedList< label, N > &indices)
 
template<unsigned N>
 List (const FixedList< T, N > &list)
 
 List (const PtrList< T > &list)
 
 List (const SLList< T > &list)
 
template<class Addr >
 List (const IndirectListBase< T, Addr > &list)
 
 List (std::initializer_list< T > list)
 
 List (List< T > &&list)
 
template<int SizeMin>
 List (DynamicList< T, SizeMin > &&list)
 
 List (SortableList< T > &&list)
 
 List (SLList< T > &&list)
 
 List (Istream &is)
 
autoPtr< List< T > > clone () const
 
 ~List ()
 
void clear ()
 
void resize (const label len)
 
void resize (const label len, const T &val)
 
void resize_nocopy (const label len)
 
void setSize (const label n)
 
void setSize (const label n, const T &val)
 
void append (const T &val)
 
void append (T &&val)
 
void append (const UList< T > &list)
 
template<class Addr >
void append (const IndirectListBase< T, Addr > &list)
 
label appendUniq (const T &val)
 
void transfer (List< T > &list)
 
template<int SizeMin>
void transfer (DynamicList< T, SizeMin > &list)
 
void transfer (SortableList< T > &list)
 
TnewElmt (const label i)
 
void operator= (const UList< T > &a)
 
void operator= (const List< T > &list)
 
void operator= (const SLList< T > &list)
 
template<class Addr >
void operator= (const IndirectListBase< T, Addr > &list)
 
template<unsigned N>
void operator= (const FixedList< T, N > &list)
 
void operator= (std::initializer_list< T > list)
 
void operator= (const T &val)
 
void operator= (const Foam::zero)
 
void operator= (List< T > &&list)
 
template<int SizeMin>
void operator= (DynamicList< T, SizeMin > &&list)
 
void operator= (SortableList< T > &&list)
 
void operator= (SLList< T > &&list)
 
IstreamreadList (Istream &is)
 
void shallowCopy (const UList< T > &)=delete
 
template<class TypeT = T>
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type set (const label i, bool val=true)
 
template<class T >
 List (const label len)
 
template<class T >
 List (const label len, const T &val)
 
template<class T >
 List (const label len, const Foam::zero)
 
template<class T >
 List (const Foam::one, const T &val)
 
template<class T >
 List (const Foam::one, T &&val)
 
template<class T >
 List (const Foam::one, const Foam::zero)
 
template<class T >
 List (const UList< T > &a)
 
template<class T >
 List (const List< T > &a)
 
template<class T >
 List (List< T > &a, bool reuse)
 
template<class T >
 List (const UList< T > &list, const labelUList &indices)
 
template<class T >
 List (const PtrList< T > &list)
 
template<class T >
 List (const SLList< T > &list)
 
template<class T >
 List (std::initializer_list< T > list)
 
template<class T >
 List (List< T > &&list)
 
template<class T >
 List (SortableList< T > &&list)
 
template<class T >
 List (SLList< T > &&list)
 
template<class T >
void transfer (List< T > &list)
 
template<class T >
void transfer (SortableList< T > &list)
 
template<class T >
void operator= (const UList< T > &a)
 
template<class T >
void operator= (const List< T > &list)
 
template<class T >
void operator= (const SLList< T > &list)
 
template<class T >
void operator= (std::initializer_list< T > list)
 
template<class T >
void operator= (List< T > &&list)
 
template<class T >
void operator= (SortableList< T > &&list)
 
template<class T >
void operator= (SLList< T > &&list)
 
IstreamreadList (Istream &is)
 
template<class T >
constexpr List () noexcept
 
void resize (const label newLen)
 
template<class T >
void append (const T &val)
 
template<class T >
void append (T &&val)
 
template<class T >
void append (const UList< T > &list)
 
template<class T >
void operator= (const T &val)
 
template<class T >
void operator= (const Foam::zero)
 
template<class T >
 List (Istream &is)
 
IstreamreadList (Istream &is)
 
- Public Member Functions inherited from multiComponentMixture< ThermoType >
 multiComponentMixture (const dictionary &, const wordList &specieNames, const ReactionTable< ThermoType > &thermoData, const fvMesh &mesh, const word &phaseName)
 
 multiComponentMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName)
 
virtual ~multiComponentMixture ()=default
 
const ThermoType & cellMixture (const label celli) const
 
const ThermoType & patchFaceMixture (const label patchi, const label facei) const
 
const ThermoType & cellVolMixture (const scalar p, const scalar T, const label celli) const
 
const ThermoType & patchFaceVolMixture (const scalar p, const scalar T, const label patchi, const label facei) const
 
const PtrList< ThermoType > & speciesData () const
 
void read (const dictionary &)
 
const ThermoType & getLocalThermo (const label speciei) const
 
- Public Member Functions inherited from PtrList< Reaction< ThermoType > >
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (const PtrList< T > &list, const CloneArg &cloneArgs)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
 PtrList (Istream &is, const INew &inew)
 
 PtrList (Istream &is)
 
 PtrList (PtrList< T > &list, bool reuse)
 
 PtrList (const SLPtrList< T > &list)
 
constexpr PtrList () noexcept
 
 PtrList (const label len)
 
 PtrList (const PtrList< T > &list)
 
 PtrList (PtrList< T > &&list)
 
 PtrList (UList< T * > &list)
 
 PtrList (Istream &is)
 
 ~PtrList ()
 
PtrList< Tclone (Args &&... args) const
 
Foam::PtrList< Tclone (Args &&... args) const
 
const Tset (const label i) const
 
autoPtr< Tset (const label i, T *ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &ptr)
 
autoPtr< Tset (const label i, autoPtr< T > &&ptr)
 
autoPtr< Tset (const label i, std::unique_ptr< T > &&ptr)
 
autoPtr< Tset (const label i, const refPtr< T > &ptr)
 
autoPtr< Tset (const label i, const tmp< T > &ptr)
 
void clear ()
 
void resize (const label newLen)
 
void setSize (const label newLen)
 
void emplace_append (Args &&... args)
 
void append (T *ptr)
 
void append (autoPtr< T > &ptr)
 
void append (autoPtr< T > &&ptr)
 
void append (std::unique_ptr< T > &&ptr)
 
void append (const refPtr< T > &ptr)
 
void append (const tmp< T > &ptr)
 
autoPtr< Templace (const label i, Args &&... args)
 
Foam::autoPtr< Templace (const label i, Args &&... args)
 
autoPtr< Trelease (const label i)
 
void transfer (PtrList< T > &list)
 
void operator= (const PtrList< T > &list)
 
void operator= (PtrList< T > &&list)
 

Static Public Member Functions

static word typeName ()
 
- Static Public Member Functions inherited from reactingMixture< ThermoType >
static word typeName ()
 
- Static Public Member Functions inherited from List
static const List< T > & null ()
 
- Static Public Member Functions inherited from multiComponentMixture< ThermoType >
static word typeName ()
 

Protected Member Functions

void calculateqFuel ()
 
void massAndAirStoichRatios ()
 
void calculateMaxProducts ()
 
- Protected Member Functions inherited from PtrList< Reaction< ThermoType > >
void readIstream (Istream &is, const INew &inew)
 
void free ()
 

Protected Attributes

dimensionedScalar stoicRatio_
 
dimensionedScalar s_
 
dimensionedScalar qFuel_
 
scalarList specieStoichCoeffs_
 
scalarList Yprod0_
 
PtrList< volScalarFieldfres_
 
label inertIndex_
 
label fuelIndex_
 
List< int > specieProd_
 

Detailed Description

template<class ThermoType>
class Foam::singleStepReactingMixture< ThermoType >

Single step reacting mixture.

Source files

Definition at line 51 of file singleStepReactingMixture.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

Definition at line 114 of file singleStepReactingMixture.H.

Constructor & Destructor Documentation

◆ singleStepReactingMixture()

singleStepReactingMixture ( const dictionary thermoDict,
const fvMesh mesh,
const word phaseName 
)

Definition at line 187 of file singleStepReactingMixture.C.

References Foam::dimless, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, and Foam::Zero.

Here is the call graph for this function:

◆ ~singleStepReactingMixture()

virtual ~singleStepReactingMixture ( )
virtualdefault

Member Function Documentation

◆ calculateqFuel()

void calculateqFuel
protected

Definition at line 27 of file singleStepReactingMixture.C.

References Foam::endl(), forAll, Foam::Info, and reaction.

Here is the call graph for this function:

◆ massAndAirStoichRatios()

void massAndAirStoichRatios
protected

Definition at line 54 of file singleStepReactingMixture.C.

References Foam::endl(), Foam::Info, and Foam::mag().

Here is the call graph for this function:

◆ calculateMaxProducts()

void calculateMaxProducts
protected

Definition at line 78 of file singleStepReactingMixture.C.

References forAll, Foam::Info, Foam::mag(), Foam::nl, and reaction.

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 135 of file singleStepReactingMixture.H.

◆ fresCorrect()

void fresCorrect

Definition at line 128 of file singleStepReactingMixture.C.

References forAll, Foam::max(), reaction, and Y.

Here is the call graph for this function:

◆ stoicRatio()

const Foam::dimensionedScalar stoicRatio
inline

Definition at line 27 of file singleStepReactingMixtureI.H.

◆ s()

const Foam::dimensionedScalar s
inline

Definition at line 35 of file singleStepReactingMixtureI.H.

◆ qFuel()

const Foam::dimensionedScalar qFuel
inline

Definition at line 43 of file singleStepReactingMixtureI.H.

◆ specieStoichCoeffs()

const Foam::List< Foam::scalar > & specieStoichCoeffs
inline

Definition at line 51 of file singleStepReactingMixtureI.H.

◆ fres()

Foam::tmp< Foam::volScalarField > fres ( const label  index) const
inline

Definition at line 60 of file singleStepReactingMixtureI.H.

◆ inertIndex()

Foam::label inertIndex
inline

Definition at line 70 of file singleStepReactingMixtureI.H.

◆ fuelIndex()

Foam::label fuelIndex
inline

Definition at line 78 of file singleStepReactingMixtureI.H.

◆ specieProd()

const Foam::List< int > & specieProd
inline

Definition at line 86 of file singleStepReactingMixtureI.H.

◆ Yprod0()

const Foam::scalarList & Yprod0
inline

Definition at line 94 of file singleStepReactingMixtureI.H.

◆ read()

void read ( const dictionary thermoDict)

Definition at line 248 of file singleStepReactingMixture.C.

Member Data Documentation

◆ stoicRatio_

dimensionedScalar stoicRatio_
protected

Definition at line 61 of file singleStepReactingMixture.H.

◆ s_

dimensionedScalar s_
protected

Definition at line 64 of file singleStepReactingMixture.H.

◆ qFuel_

dimensionedScalar qFuel_
protected

Definition at line 67 of file singleStepReactingMixture.H.

◆ specieStoichCoeffs_

scalarList specieStoichCoeffs_
protected

Definition at line 70 of file singleStepReactingMixture.H.

◆ Yprod0_

scalarList Yprod0_
protected

Definition at line 73 of file singleStepReactingMixture.H.

◆ fres_

PtrList<volScalarField> fres_
protected

Definition at line 76 of file singleStepReactingMixture.H.

◆ inertIndex_

label inertIndex_
protected

Definition at line 79 of file singleStepReactingMixture.H.

◆ fuelIndex_

label fuelIndex_
protected

Definition at line 82 of file singleStepReactingMixture.H.

◆ specieProd_

List<int> specieProd_
protected

Definition at line 85 of file singleStepReactingMixture.H.


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