1 Info<<
"Reading thermophysical properties\n" <<
endl;
3 autoPtr<psiuReactionThermo>
pThermo 7 psiuReactionThermo& thermo =
pThermo();
10 basicSpecieMixture& composition = thermo.composition();
30 Info<<
"\nReading field U\n" <<
endl;
46 mesh.setFluxRequired(p.name());
48 Info<<
"Creating turbulence model\n" <<
endl;
51 compressible::New<compressible::RASModel>
61 Info<<
"Creating field dpdt\n" <<
endl;
74 Info<<
"Creating field kinetic energy K\n" <<
endl;
78 Info<<
"Creating the unstrained laminar flame speed\n" <<
endl;
85 Info<<
"Reading strained laminar flame speed field Su\n" <<
endl;
99 Info<<
"Reading field betav\n" <<
endl;
105 mesh.facesInstance(),
113 Info<<
"Reading field Lobs\n" <<
endl;
119 mesh.facesInstance(),
127 Info<<
"Reading field CT\n" <<
endl;
133 mesh.facesInstance(),
141 Info<<
"Reading field Nv\n" <<
endl;
147 mesh.facesInstance(),
155 Info<<
"Reading field nsv\n" <<
endl;
161 mesh.facesInstance(),
169 IOdictionary PDRProperties
176 IOobject::MUST_READ_IF_MODIFIED,
203 Info<<
"Calculating turbulent flame speed field St\n" <<
endl;
214 flameWrinkling->Xi()*
Su 218 multivariateSurfaceInterpolationScheme<scalar>::fieldTable
fields;
220 if (composition.contains(
"ft"))
222 fields.add(composition.Y(
"ft"));
226 fields.add(thermo.he());
227 fields.add(thermo.heu());
228 flameWrinkling->addXi(fields);
230 #include "createMRF.H" GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
const word & executable() const
Name of executable without the path.
Info<< "Creating field dpdt\"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\"<< endl;volScalarField K("K", 0.5 *magSqr(U));Info<< "Creating the unstrained laminar flame speed\"<< endl;autoPtr< laminarFlameSpeed > unstrainedLaminarFlameSpeed(laminarFlameSpeed::New(thermo))
Info<< "Reading initial conditions.\"<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=readScalar(initialConditions.lookup("p"));scalar T0=readScalar(initialConditions.lookup("T"));# 24 "/home/ubuntu/OpenFOAM-6/applications/solvers/combustion/chemFoam/createFields.H" 2 Info<< "Reading thermophysical properties\"<< endl;autoPtr< rhoReactionThermo > pThermo(rhoReactionThermo::New(mesh))
Ostream & endl(Ostream &os)
Add newline and flush stream.
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector("zero", dimVelocity, Zero))
GeometricField< vector, fvPatchField, volMesh > volVectorField
CGAL::Exact_predicates_exact_constructions_kernel K
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volScalarField & betav
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);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+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Foam::argList args(argc, argv)
Creates and initialises the face-flux field phi.