FreeFOAM The Cross-Platform CFD Toolkit
createFields.H File Reference

Detailed Description

Definition in file createFields.H.

+ Include dependency graph for createFields.H:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Info<< "Reading thermophysical
properties\n"<< endl;autoPtr
< hhuCombustionThermo > 
pThermo (hhuCombustionThermo::New(mesh))
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
Info<< "min(bprog) = "<< min(b).value()
<< endl;Info<< "\nReading
field U\n"<< endl;volVectorField
U(IOobject("U",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Creating turbulence
model\n"<< endl;autoPtr
< compressible::RASModel
turbulence (compressible::RASModel::New(rho, U, phi, thermo))
Info<< "Creating field DpDt\n"
<< endl;volScalarField DpDt("DpDt",
fvc::DDt(surfaceScalarField("phiU",
phi/fvc::interpolate(rho)), p));Info
<< "Creating the unstrained
laminar flame speed\n"<< endl;autoPtr
< laminarFlameSpeed > 
unstrainedLaminarFlameSpeed (laminarFlameSpeed::New(thermo))
Info<< "Calculating turbulent
flame speed field St\n"<< endl;volScalarField
St(IOobject("St",
runTime.timeName(), mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE),
flameWrinkling-> 
Xi ()*Su)
 if (composition.contains("ft"))
fields add (b)
fields add (h)
fields add (hu)
flameWrinkling addXi (fields)

Variables

hhuCombustionThermo & thermo = pThermo()
basicMultiComponentMixture & composition = thermo.composition()
volScalarField & p = thermo.p()
const volScalarField & psi = thermo.psi()
volScalarField & h = thermo.h()
volScalarField & hu = thermo.hu()
volScalarField & b = composition.Y("bprog")
Info<< "Reading strained
laminar flame speed field Su\n"
<< endl;volScalarField Su(IOobject("Su",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Reading field betav\n"
<< endl;volScalarField betav(IOobject("betav",
runTime.findInstance(polyMesh::meshSubDir,"betav"),
polyMesh::meshSubDir, mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE), mesh);IOdictionary
PDRProperties(IOobject("PDRProperties",
runTime.constant(), mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE));autoPtr
< PDRDragModel > 
drag
autoPtr< XiModel > flameWrinkling
 Create the flame-wrinkling model.
multivariateSurfaceInterpolationScheme
< scalar >::fieldTable 
fields

Function Documentation

Info<< "Reading thermophysical properties\n" << endl; autoPtr<hhuCombustionThermo> pThermo ( hhuCombustionThermo::  Newmesh)
volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
thermo.  rho() 
)
Info<< "min(bprog) = " << min(b).value() << endl; Info<< "\nReading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Creating turbulence model\n" << endl; autoPtr<compressible::RASModel> turbulence ( compressible::RASModel::  Newrho, U, phi, thermo)
Info<< "Creating field DpDt\n" << endl; volScalarField DpDt ( "DpDt", fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p) ); Info<< "Creating the unstrained laminar flame speed\n" << endl; autoPtr<laminarFlameSpeed> unstrainedLaminarFlameSpeed ( laminarFlameSpeed::  Newthermo)

Referenced by if().

Info<< "Calculating turbulent flame speed field St\n" << endl; volScalarField St ( IOobject ( "St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), flameWrinkling-> Xi ( )
if ( composition.  contains"ft")

Definition at line 157 of file createFields.H.

fields add ( b  )
fields add ( h  )
fields add ( hu  )
flameWrinkling addXi ( fields  )

Variable Documentation

hhuCombustionThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

basicMultiComponentMixture& composition = thermo.composition()

Definition at line 8 of file createFields.H.

volScalarField& p = thermo.p()

Definition at line 23 of file createFields.H.

const volScalarField& psi = thermo.psi()

Definition at line 24 of file createFields.H.

volScalarField& h = thermo.h()

Definition at line 25 of file createFields.H.

volScalarField& hu = thermo.hu()

Definition at line 26 of file createFields.H.

Referenced by hhuMixtureThermo< MixtureType >::hu(), and if().

Info<< "Reading strained laminar flame speed field Su\n" << endl; volScalarField Su ( IOobject ( "Su", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading field betav\n" << endl; volScalarField betav ( IOobject ( "betav", runTime.findInstance(polyMesh::meshSubDir, "betav"), polyMesh::meshSubDir, mesh, IOobject::MUST_READ, IOobject::NO_WRITE ), mesh ); IOdictionary PDRProperties ( IOobject ( "PDRProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE ) ); autoPtr<PDRDragModel> drag
Initial value:
PDRDragModel::New
(
PDRProperties,
rho,
U,
)

Definition at line 119 of file createFields.H.

Referenced by standardDragModel::Cd().

autoPtr<XiModel> flameWrinkling
Initial value:
XiModel::New
(
PDRProperties,
Su,
rho,
b,
)

Create the flame-wrinkling model.

Definition at line 129 of file createFields.H.

Referenced by if().

multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields

Definition at line 155 of file createFields.H.