Go to the source code of this file.
|
Info<< "Reading thermophysical properties\"<< endl;autoPtr< rhoReactionThermo > | pThermo (rhoReactionThermo::New(mesh)) |
|
thermo | validate (args.executable(), "h", "e") |
|
const word | inertSpecie (thermo.get< word >("inertSpecie")) |
|
| if (!composition.species().found(inertSpecie)) |
|
volScalarField | rho (IOobject("rho", runTime.timeName(), mesh), thermo.rho()) |
|
Info<< "Reading field U\"<< 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.\"<< nl;autoPtr< compressible::turbulenceModel > | turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo)) |
|
Info<< "Creating reaction model\"<< endl;autoPtr< CombustionModel< rhoReactionThermo > > | reaction (CombustionModel< rhoReactionThermo >::New(thermo, turbulence())) |
|
| forAll (Y, i) |
|
fields | add (thermo.he()) |
|
volScalarField | Qdot (IOobject("Qdot", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero)) |
|
|
rhoReactionThermo & | thermo = pThermo() |
|
basicSpecieMixture & | composition = thermo.composition() |
|
PtrList< volScalarField > & | Y = composition.Y() |
|
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;multivariateSurfaceInterpolationScheme< scalar >::fieldTable | fields |
|
◆ pThermo()
Info<< "Reading thermophysical properties\n" << endl;autoPtr<rhoReactionThermo> pThermo |
( |
rhoReactionThermo::New(mesh) |
| ) |
|
◆ validate()
thermo validate |
( |
args. |
executable(), |
|
|
"h" |
, |
|
|
"e" |
|
|
) |
| |
◆ inertSpecie()
const word inertSpecie |
( |
thermo.get< word > |
"inertSpecie" | ) |
|
◆ if()
if |
( |
!composition. |
species).found(inertSpecie | ) |
|
◆ rho()
volScalarField rho |
( |
IOobject("rho", runTime.timeName(), mesh) |
, |
|
|
thermo. |
rho() |
|
) |
| |
◆ turbulence()
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()
Info<< "Creating reaction model\n" << endl;autoPtr<CombustionModel<rhoReactionThermo> > reaction |
( |
CombustionModel< rhoReactionThermo > |
::Newthermo, turbulence() | ) |
|
◆ forAll()
◆ add()
◆ Qdot()
volScalarField Qdot |
( |
IOobject("Qdot", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE) |
, |
|
|
mesh |
, |
|
|
dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) |
|
|
) |
| |
◆ thermo
rhoReactionThermo& thermo = pThermo() |
◆ composition
basicSpecieMixture& composition = thermo.composition() |
PtrList<volScalarField>& Y = composition.Y() |
◆ fields
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;multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields |