1 Info<<
"Creating reaction model\n" <<
endl;
3 autoPtr<combustionModels::psiCombustionModel>
reaction 8 psiReactionThermo& thermo =
reaction->thermo();
11 basicMultiComponentMixture& composition = thermo.composition();
12 PtrList<volScalarField>& Y = composition.Y();
48 mesh.setFluxRequired(p.name());
50 Info <<
"Creating turbulence model.\n" <<
nl;
51 autoPtr<compressible::turbulenceModel>
turbulence 66 Info<<
"Creating field dpdt\n" <<
endl;
79 Info<<
"Creating field kinetic energy K\n" <<
endl;
83 multivariateSurfaceInterpolationScheme<scalar>::fieldTable
fields;
89 fields.add(thermo.he());
volVectorField U(IOobject( "U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedVector("zero", dimVelocity, vector::zero), p.boundaryField().types())
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));volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p-rho *gh;mesh.setFluxRequired(p_rgh.name());multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
CGAL::Exact_predicates_exact_constructions_kernel K
const word inertSpecie(thermo.lookup("inertSpecie"))
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Creates and initialises the face-flux field phi.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimEnergy
autoPtr< compressible::turbulenceModel > turbulence
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField dQ(IOobject( "dQ", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar("dQ", dimEnergy/dimTime, 0.0))
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
const word & executable() const
Name of executable without the path.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Foam::argList args(argc, argv)
Info<< "Creating reaction model\n"<< endl;autoPtr< combustionModels::psiCombustionModel > reaction(combustionModels::psiCombustionModel::New(mesh))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.