FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

createFields.H File Reference


Detailed Description

Definition in file createFields.H.

#include "src/finiteVolume/cfdTools/compressible/compressibleCreatePhi.H"
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading thermophysical
properties\n"<< endl;autoPtr
< rhoChemistryModel >  
pChemistry (rhoChemistryModel::New(mesh))
word  inertSpecie (thermo.lookup("inertSpecie"))
 if (!composition.contains(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 (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

rhoChemistryModel &  chemistry = pChemistry()
hsReactionThermo &  thermo = chemistry.thermo()
basicMultiComponentMixture &  composition = thermo.composition()
PtrList< volScalarField > &  Y = composition.Y()
volScalarField &  p = thermo.p()
volScalarField &  hs = thermo.hs()
const volScalarField &  T = thermo.T()
const volScalarField &  psi = thermo.psi()
Info<< "Creating multi-variate
interpolation scheme\n"<< endl;multivariateSurfaceInterpolationScheme
< scalar >::fieldTable  
fields

Function Documentation

Info<< "Reading thermophysical properties\n" << endl; autoPtr<rhoChemistryModel> pChemistry ( rhoChemistryModel::   Newmesh  )
word inertSpecie ( thermo.   lookup"inertSpecie"  )
if ( !composition.   containsinertSpecie  )
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   ,
i    
)

Definition at line 87 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)    
)

Variable Documentation

rhoChemistryModel& chemistry = pChemistry()

Definition at line 7 of file createFields.H.

hsReactionThermo& 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 24 of file createFields.H.

volScalarField& hs = thermo.hs()

Definition at line 25 of file createFields.H.

const volScalarField& T = thermo.T()

Definition at line 26 of file createFields.H.

const volScalarField& psi = thermo.psi()

Definition at line 27 of file createFields.H.

Info<< "Creating multi-variate interpolation scheme\n" << endl; multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields

Definition at line 85 of file createFields.H.