readInitialConditions.H File Reference

Go to the source code of this file.

Functions

const scalarList W (::W(thermo))
 
scalarList Y0 (nSpecie, 0.0)
 
scalarList X0 (nSpecie, 0.0)
 
dictionary fractions (initialConditions.subDict("fractions"))
 
 if (fractionBasis=="mole")
 
 forAll (Y, i)
 

Variables

const label nSpecie = Y.size()
 
 else
 
const scalar mTot = sum(Y0)
 
const scalar mw = 1.0/invW
 

Function Documentation

◆ W()

const scalarList W ( ::W(thermo )

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ Y0()

scalarList Y0 ( nSpecie  ,
0.  0 
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ X0()

scalarList X0 ( nSpecie  ,
0.  0 
)

◆ fractions()

dictionary fractions ( initialConditions.  subDict"fractions")

Referenced by if(), and fvMatrix< Type >::setValues().

Here is the caller graph for this function:

◆ if()

if ( fractionBasis  = = "mole")

Definition at line 9 of file readInitialConditions.H.

References forAll(), fractions(), mTot, mw, Foam::name(), Foam::sum(), W(), X0(), Y, and Y0().

Here is the call graph for this function:

◆ forAll()

forAll ( Y  ,
 
)

Definition at line 46 of file readInitialConditions.H.

References mTot, W(), and Y0().

Referenced by if().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nSpecie

const label nSpecie = Y.size()

Definition at line 2 of file readInitialConditions.H.

◆ else

else
Initial value:
{
forAll(Y, i)
{
const word& name = Y[i].name();
if (fractions.found(name))
{
Y0[i] = fractions.lookup<scalar>(name);
}
}
scalar invW = 0.0
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
forAll(Y, i)
dictionary fractions(initialConditions.subDict("fractions"))
scalarList Y0(nSpecie, 0.0)
PtrList< volScalarField > & Y

Definition at line 33 of file readInitialConditions.H.

◆ mTot

const scalar mTot = sum(Y0)

◆ mw

const scalar mw = 1.0/invW

Definition at line 51 of file readInitialConditions.H.

Referenced by if().