Go to the source code of this file.
|
Info<< "Creating reaction model\n"<< endl;autoPtr< combustionModels::rhoCombustionModel > | reaction (combustionModels::rhoCombustionModel::New(mesh)) |
|
thermo | validate (args.executable(),"h","e") |
|
word | inertSpecie (thermo.lookup("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();mesh.setFluxRequired(p.name());Info<< "Creating turbulence model.\n"<< nl;autoPtr< compressible::turbulenceModel > | turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo)) |
|
reaction | setTurbulence (turbulence()) |
|
| forAll (Y, i) |
|
fields | add (thermo.he()) |
|
volScalarField | dQ (IOobject("dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar("dQ", dimEnergy/dimTime, 0.0)) |
|
|
rhoReactionThermo & | thermo = reaction->thermo() |
|
basicMultiComponentMixture & | composition = thermo.composition() |
|
PtrList< volScalarField > & | Y = composition.Y() |
|
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;Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));multivariateSurfaceInterpolationScheme< scalar >::fieldTable | fields |
|
Info<< "Creating reaction model\n" << endl;autoPtr<combustionModels::rhoCombustionModel> reaction |
( |
combustionModels::rhoCombustionModel::New(mesh) |
| ) |
|
thermo validate |
( |
args. |
executable(), |
|
|
"h" |
, |
|
|
"e" |
|
|
) |
| |
word inertSpecie |
( |
thermo. |
lookup"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();mesh.setFluxRequired(p.name());Info << "Creating turbulence model.\n" << nl;autoPtr<compressible::turbulenceModel> turbulence |
( |
compressible::turbulenceModel::New(rho, U, phi, thermo) |
| ) |
|
volScalarField dQ |
( |
IOobject("dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE) |
, |
|
|
mesh |
, |
|
|
dimensionedScalar("dQ", dimEnergy/dimTime, 0.0) |
|
|
) |
| |
rhoReactionThermo& thermo = reaction->thermo() |
basicMultiComponentMixture& composition = thermo.composition() |
PtrList<volScalarField>& Y = composition.Y() |
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;Info<< "Creating field dpdt\n" << endl;volScalarField dpdt( IOobject ( "dpdt", runTime.timeName(), mesh ), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n" << endl;volScalarField K("K", 0.5*magSqr(U));multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields |