Definition in file createFields.H.
#include "src/finiteVolume/cfdTools/compressible/compressibleCreatePhi.H"
Go to the source code of this file.
Functions | |
Info<< "Reading thermophysical properties\n"<< endl;autoPtr < hsCombustionThermo > | pThermo (hsCombustionThermo::New(mesh)) |
volScalarField | rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho()) |
dimensionedScalar | stoicRatio (thermo.lookup("stoichiometricAirFuelMassRatio")) |
Info<< "Reading 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)) |
IOdictionary | combustionProperties (IOobject("combustionProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)) |
Info<< "Creating combustion model\n"<< endl;autoPtr < combustionModel > | combustion (combustionModel::combustionModel::New(combustionProperties, thermo, turbulence(), phi, rho)) |
if (composition.contains("ft")) | |
if (composition.contains("fu")) | |
fields | add (hs) |
Variables | |
hsCombustionThermo & | thermo = pThermo() |
basicMultiComponentMixture & | composition = thermo.composition() |
volScalarField & | p = thermo.p() |
volScalarField & | hs = thermo.hs() |
const volScalarField & | psi = thermo.psi() |
volScalarField & | ft = composition.Y("ft") |
volScalarField & | fu = composition.Y("fu") |
Info<< "Calculating field g.h\n" << endl;volScalarField gh("gh", g &mesh.C());surfaceScalarField ghf("gh", g &mesh.Cf());Info << "Reading field p_rgh\n" << endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p-rho *gh;volScalarField dQ(IOobject("dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar("dQ", dimMass/pow3(dimTime)/dimLength, 0.0));Info<< "Creating field DpDt\n"<< endl;volScalarField DpDt=fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);dimensionedScalar initialMass=fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme < scalar >::fieldTable | fields |
Info<< "Reading thermophysical properties\n" << endl;autoPtr<hsCombustionThermo> pThermo | ( | hsCombustionThermo:: | Newmesh ) |
volScalarField rho | ( | IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE) | , |
thermo. | rho() | ||
) |
dimensionedScalar stoicRatio | ( | thermo. | lookup"stoichiometricAirFuelMassRatio" ) |
Info<< "Reading 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 ) |
IOdictionary combustionProperties | ( | IOobject("combustionProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE) | ) |
Referenced by if(), and combustionModel::New().
Info<< "Creating combustion model\n" << endl;autoPtr<combustionModel> combustion | ( | combustionModel::combustionModel:: | NewcombustionProperties, thermo, turbulence(), phi, rho ) |
if | ( | composition. | contains"ft" ) |
Definition at line 135 of file createFields.H.
if | ( | composition. | contains"fu" ) |
Definition at line 140 of file createFields.H.
hsCombustionThermo& thermo = pThermo() |
Definition at line 8 of file createFields.H.
basicMultiComponentMixture& composition = thermo.composition() |
Definition at line 10 of file createFields.H.
Definition at line 30 of file createFields.H.
Definition at line 31 of file createFields.H.
Referenced by specieThermo< thermo >::es(), specieThermo< thermo >::Hs(), hsRhoMixtureThermo< MixtureType >::hs(), hsPsiMixtureThermo< MixtureType >::hs(), hsRhoThermo< MixtureType >::hs(), hsPsiThermo< MixtureType >::hs(), and radiationModel::Shs().
const volScalarField& psi = thermo.psi() |
Definition at line 33 of file createFields.H.
volScalarField& ft = composition.Y("ft") |
Definition at line 35 of file createFields.H.
Referenced by wideBandAbsorptionEmission::aCont(), greyMeanAbsorptionEmission::aCont(), veryInhomogeneousMixture< ThermoType >::cellProducts(), dieselMixture< ThermoType >::cellProducts(), if(), Gulders::operator()(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), and dieselMixture< ThermoType >::patchFaceProducts().
volScalarField& fu = composition.Y("fu") |
Definition at line 36 of file createFields.H.
Referenced by noiseFFT::Ldelta(), veryInhomogeneousMixture< ThermoType >::mixture(), inhomogeneousMixture< ThermoType >::mixture(), egrMixture< ThermoType >::mixture(), dieselMixture< ThermoType >::mixture(), and noiseFFT::Pdelta().
Info<< "Calculating field g.h\n" << endl;volScalarField gh("gh", g & mesh.C());surfaceScalarField ghf("gh", g & mesh.Cf());Info<< "Reading field p_rgh\n" << endl;volScalarField p_rgh( IOobject ( "p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);p_rgh = p - rho*gh;volScalarField dQ( IOobject ( "dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar("dQ", dimMass/pow3(dimTime)/dimLength, 0.0));Info<< "Creating field DpDt\n" << endl;volScalarField DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);dimensionedScalar initialMass = fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields |
Definition at line 133 of file createFields.H.