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<< nl<< "Reading
thermophysicalProperties"
<< endl;autoPtr
< psiChemistryModel > 
pChemistry (psiChemistryModel::New(mesh))
word inertSpecie (thermo.lookup("inertSpecie"))
 if (!composition.contains(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();const
volScalarField &psi=thermo.psi();const
volScalarField &T=thermo.T();volScalarField
&hs=thermo.hs();volScalarField
kappa(IOobject("kappa",
runTime.timeName(), mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE), mesh,
dimensionedScalar("zero",
dimless, 0.0));Info
<< "Creating turbulence
model.\n"<< nl;autoPtr
< compressible::turbulenceModel > 
turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 forAll (Y, i)
fields add (hs)
DimensionedField< scalar, volMesh > chemistrySh (IOobject("chemistry::Sh", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar("chemistrySh", dimEnergy/dimTime/dimVolume, 0.0))

Variables

psiChemistryModel & chemistry = pChemistry()
hsCombustionThermo & thermo = chemistry.thermo()
basicMultiComponentMixture & composition = thermo.composition()
PtrList< volScalarField > & Y = composition.Y()
Info<< "Creating field DpDt\n"
<< endl;volScalarField DpDt=fvc::DDt(surfaceScalarField("phiU",
phi/fvc::interpolate(rho)), p);multivariateSurfaceInterpolationScheme
< scalar >::fieldTable 
fields

Function Documentation

Info<< nl << "Reading thermophysicalProperties" << endl;autoPtr<psiChemistryModel> pChemistry ( psiChemistryModel::  Newmesh)
word inertSpecie ( thermo.  lookup"inertSpecie")

Referenced by if().

if ( !composition.  containsinertSpecie)
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();const volScalarField& psi = thermo.psi();const volScalarField& T = thermo.T();volScalarField& hs = thermo.hs();volScalarField kappa( IOobject ( "kappa", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar("zero", dimless, 0.0));Info << "Creating turbulence model.\n" << nl;autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::  Newrho, U, phi, thermo)
forAll ( Y  ,
 
)

Definition at line 91 of file createFields.H.

fields add ( hs  )
DimensionedField<scalar, volMesh> chemistrySh ( IOobject("chemistry::Sh", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
mesh  ,
dimensionedScalar("chemistrySh", dimEnergy/dimTime/dimVolume, 0.0)   
)

Referenced by if().


Variable Documentation

psiChemistryModel& chemistry = pChemistry()

Definition at line 7 of file createFields.H.

Referenced by if().

hsCombustionThermo& thermo = chemistry.thermo()

Definition at line 9 of file createFields.H.

basicMultiComponentMixture& composition = thermo.composition()
Info<< "Creating field DpDt\n" << endl;volScalarField DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields