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;
22 autoPtr<psiQGDReactionThermo>
pThermo(psiQGDReactionThermo::New(mesh));
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;
115 compressible::turbulenceModel::New
124 Info<<
"\nReading gravitationalProperties" << endl;
126 IOdictionary gravitationalProperties
130 "gravitationalProperties",
133 IOobject::MUST_READ_IF_MODIFIED,
138 const dimensionedVector g(gravitationalProperties.lookup(
"g"));
142 Info<<
"Creating combustion model\n" << endl;
143 autoPtr<CombustionModel<psiQGDReactionThermo>>
combustion
145 CombustionModel<psiQGDReactionThermo>::New(thermo,
turbulence())
155 IOobject::READ_IF_PRESENT,
159 dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero)
const label inertIndex(composition.species()[inertSpecie])
const surfaceScalarField & tauQGDf
const surfaceScalarField & hQGDf
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
basicSpecieMixture & composition
Switch implicitDiffusion(thermo.implicitDiffusion())
const word inertSpecie(thermo.get< word >("inertSpecie"))
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());Info<< "\nReading gravitationalProperties"<< endl;IOdictionary gravitationalProperties(IOobject("gravitationalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));const dimensionedVector g(gravitationalProperties.lookup("g"));#140"/home/jenkins/workspace/experQGDsolver-8doxigen/QGDsolver/reactingLagrangianQGDFoam/createFields.H"2Info<< "Creating combustion model\n"<< endl;autoPtr< CombustionModel< psiQGDReactionThermo > > combustion(CombustionModel< psiQGDReactionThermo >::New(thermo, turbulence()))
volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *e+rho *0.5 *magSqr(U))
const volScalarField & gamma
SLGThermo slgThermo(mesh, thermo)
PtrList< volScalarField > & Y
const volScalarField & psi
Info<< "\nReading gravitationalProperties"<< endl;IOdictionary gravitationalProperties(IOobject("gravitationalProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));const dimensionedVector g(gravitationalProperties.lookup("g"));Info<< "Reading thermophysical properties\n"<< endl;autoPtr< rhoQGDThermo > pThermo(rhoQGDThermo::New(mesh))
volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
Info<< "Thermo corrected"<< endl;autoPtr< compressible::turbulenceModel > turbulence
volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U)