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;const volScalarField
&T=thermo.T();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::turbulenceModel > 
turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
Info<< "Creating field DpDt\n"
<< endl;volScalarField DpDt=fvc::DDt(surfaceScalarField("phiU",
phi/fvc::interpolate(rho)), p);Info
<< "Creating field Xi\n"
<< endl;volScalarField Xi(IOobject("Xi",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Creating the unstrained
laminar flame speed\n"<< endl;autoPtr
< laminarFlameSpeed > 
unstrainedLaminarFlameSpeed (laminarFlameSpeed::New(thermo))
 if (composition.contains("ft"))
fields add (b)
fields add (h)
fields add (hu)

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);dimensionedScalar
SuMin=0.01 *Su.average();dimensionedScalar
SuMax=4 *Su.average();Info
<< "Calculating turbulent
flame speed field St\n"<< endl;volScalarField
St(IOobject("St",
runTime.timeName(), mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE), Xi *Su);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; const volScalarField& T = thermo.T(); 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::turbulenceModel> turbulence ( compressible::turbulenceModel::  Newrho, U, phi, thermo)
Info<< "Creating field DpDt\n" << endl; volScalarField DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); Info<< "Creating field Xi\n" << endl; volScalarField Xi ( IOobject ( "Xi", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Creating the unstrained laminar flame speed\n" << endl; autoPtr<laminarFlameSpeed> unstrainedLaminarFlameSpeed ( laminarFlameSpeed::  Newthermo)
if ( composition.  contains"ft")

Definition at line 124 of file createFields.H.

fields add ( b  )
fields add ( h  )
fields add ( hu  )

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.

volScalarField& b = composition.Y("bprog")

Definition at line 28 of file createFields.H.

Info<< "Reading strained laminar flame speed field Su\n" << endl; volScalarField Su ( IOobject ( "Su", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); dimensionedScalar SuMin = 0.01*Su.average(); dimensionedScalar SuMax = 4*Su.average(); Info<< "Calculating turbulent flame speed field St\n" << endl; volScalarField St ( IOobject ( "St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), Xi*Su ); multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields

Definition at line 122 of file createFields.H.