Functions | Variables
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Creating reaction model\n"<< endl;autoPtr< combustionModels::rhoCombustionModel > reaction (combustionModels::rhoCombustionModel::New(mesh))
 
thermo validate (args.executable(),"h","e")
 
word inertSpecie (thermo.lookup("inertSpecie"))
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh), thermo.rho())
 
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField &p=thermo.p();mesh.setFluxRequired(p.name());Info<< "Creating turbulence model.\n"<< nl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 
reaction setTurbulence (turbulence())
 
 forAll (Y, i)
 
fields add (thermo.he())
 
volScalarField dQ (IOobject("dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar("dQ", dimEnergy/dimTime, 0.0))
 

Variables

rhoReactionThermo & thermo = reaction->thermo()
 
basicMultiComponentMixture & composition = thermo.composition()
 
PtrList< volScalarField > & Y = composition.Y()
 
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
 

Function Documentation

Info<< "Creating reaction model\n" << endl;autoPtr<combustionModels::rhoCombustionModel> reaction ( combustionModels::rhoCombustionModel::New(mesh )
thermo validate ( args.  executable(),
"h"  ,
"e"   
)
word inertSpecie ( thermo.  lookup"inertSpecie")
volScalarField rho ( IOobject("rho", runTime.timeName(), mesh ,
thermo.  rho() 
)
Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);volScalarField& p = thermo.p();mesh.setFluxRequired(p.name());Info << "Creating turbulence model.\n" << nl;autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::New(rho, U, phi, thermo )
reaction setTurbulence ( turbulence()  )
forAll ( Y  ,
 
)

Definition at line 84 of file createFields.H.

References Foam::dimEnergy, Foam::dimTime, dQ(), and mesh.

Here is the call graph for this function:

fields add ( thermo.  he())
volScalarField dQ ( IOobject("dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
mesh  ,
dimensionedScalar("dQ", dimEnergy/dimTime, 0.0)   
)

Variable Documentation

rhoReactionThermo& thermo = reaction->thermo()

Definition at line 8 of file createFields.H.

basicMultiComponentMixture& composition = thermo.composition()

Definition at line 11 of file createFields.H.

PtrList<volScalarField>& Y = composition.Y()

Definition at line 12 of file createFields.H.

Info<< "Creating field dpdt\n" << endl;volScalarField dpdt( IOobject ( "dpdt", runTime.timeName(), mesh ), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n" << endl;volScalarField K("K", 0.5*magSqr(U));multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields

Definition at line 82 of file createFields.H.