14 surfaceScalarField
phi
17 linearInterpolate(dimensionedScalar(
"0",dimensionSet(1,-3,0,0,0),0.0)*
U) & mesh.Sf()
20 Info<<
"Reading thermophysical properties\n" << endl;
29 PtrList<volScalarField>&
Y = composition.Y();
31 const word
inertSpecie(thermo.get<word>(
"inertSpecie"));
34 FatalIOErrorIn(args.executable().c_str(),
thermo)
35 <<
"Inert specie " <<
inertSpecie <<
" not found in available species "
36 << composition.species()
37 << exit(FatalIOError);
43 volScalarField&
e = thermo.he();
44 volScalarField&
p = thermo.p();
45 const volScalarField&
T = thermo.T();
47 const surfaceScalarField&
tauQGDf = thermo.tauQGDf();
48 const surfaceScalarField&
hQGDf = thermo.hQGDf();
49 const volScalarField&
gamma = thermo.gamma();
50 const volScalarField&
psi = thermo.psi();
54 Info <<
"Creating density field" << endl;
112 Info<<
"Creating turbulence model\n" << endl;
124 #include "readGravitationalAcceleration.H"
127 Info<<
"Creating combustion model\n" << endl;
128 autoPtr<CombustionModel<psiQGDReactionThermo>>
combustion
140 IOobject::READ_IF_PRESENT,
144 dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero)
const label inertIndex(composition.species()[inertSpecie])
const surfaceScalarField & hQGDf
const surfaceScalarField & tauQGDf
volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
basicSpecieMixture & composition
const word inertSpecie(thermo.get< word >("inertSpecie"))
static autoPtr< fvscStencil > New(const word &name, const fvMesh &mesh)
Return a reference to the selected fvscStencil model.
volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *e+rho *0.5 *magSqr(U))
const volScalarField & gamma
Info<< "Thermo corrected"<< endl;autoPtr< compressible::turbulenceModel > turbulence
Switch implicitDiffusion(thermo.implicitDiffusion())
SLGThermo slgThermo(mesh, thermo)
PtrList< volScalarField > & Y
Info<< "Creating density field"<< endl;volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *e+rho *0.5 *magSqr(U));volScalarField H(IOobject("Ht", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE),(rhoE+p)/rho);Switch implicitDiffusion(thermo.implicitDiffusion());Info<< "Creating turbulence model\n"<< endl;turbulence.reset(compressible::turbulenceModel::New(rho, U, phi, thermo).ptr());#125"/home/jenkins/workspace/experQGDsolver-8doxigen/QGDsolver/reactingLagrangianQGDFoam/createFields.H"2Info<< "Creating combustion model\n"<< endl;autoPtr< CombustionModel< psiQGDReactionThermo > > combustion(CombustionModel< psiQGDReactionThermo >::New(thermo, turbulence()))
const volScalarField & psi
volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U)
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiQGDThermo > pThermo(psiQGDThermo::New(mesh))