OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

createFields.H File Reference

Go to the source code of this file.


Functions

Info<< "Reading thermophysical
properties\n"<< endl;autoPtr
< psiChemistryModel > 
pChemistry (psiChemistryModel::New(mesh))
word inertSpecie (thermo.lookup("inertSpecie"))
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
Info<< "\nReading field U\n"
<< endl;volVectorField U(IOobject("U",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);DimensionedField
< scalar, volMesh > 
kappa (IOobject("kappa", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar("zero", dimless, 0.0))
Info<< "Creating turbulence
model\n"<< endl;autoPtr
< compressible::turbulenceModel > 
turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 forAll (Y, i)
fields add (h)

Variables

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

Function Documentation

Info<< "Reading thermophysical properties\n" << endl; autoPtr<psiChemistryModel> pChemistry ( psiChemistryModel::  Newmesh  ) 

word inertSpecie ( thermo.  lookup"inertSpecie"  ) 

volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
thermo.  rho() 
)

Info<< "\nReading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); DimensionedField<scalar, volMesh> kappa ( IOobject("kappa", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
mesh  ,
dimensionedScalar("zero", dimless, 0.0)   
)

Info<< "Creating turbulence model\n" << endl; autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::  Newrho, U, phi, thermo  ) 

forAll ( Y  ,
 
)

Definition at line 85 of file createFields.H.

fields add ( h   ) 


Variable Documentation

psiChemistryModel& chemistry = pChemistry()

Definition at line 7 of file createFields.H.

hCombustionThermo& thermo = chemistry.thermo()

Definition at line 9 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.

volScalarField& p = thermo.p()

Definition at line 16 of file createFields.H.

volScalarField& h = thermo.h()

Definition at line 17 of file createFields.H.

const volScalarField& T = thermo.T()

Definition at line 18 of file createFields.H.

const volScalarField& psi = thermo.psi()

Definition at line 19 of file createFields.H.

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

Definition at line 83 of file createFields.H.

Copyright © 2000-2009 OpenCFD Ltd