Go to the documentation of this file. 1 Info<<
"Reading field p_rgh\n" <<
endl;
46 Info<<
"Calculating field g.h\n" <<
endl;
47 #include "readGravitationalAcceleration.H"
65 Info<<
"Creating multiphaseSystem\n" <<
endl;
72 FatalError <<
"One or more phases are not incompressible. " <<
nl
121 autoPtr<CompressibleTurbulenceModel<multiphaseSystem>>
turbulence
133 autoPtr<radiation::radiationModel>
radiation
138 Info<<
"Calculating field rhoCp\n" <<
endl;
154 Info<<
"Creating field kinetic energy K\n" <<
endl;
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
surfaceScalarField & rhoPhi
Info<< "Reading field U\n"<< 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\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
Ostream & endl(Ostream &os)
setRefCell(p, pimple.dict(), pRefCell, pRefValue)
const volScalarField & gh
Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field T\n"<< endl;volScalarField T(IOobject("T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Calculating field g.h\n"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), p_rgh);Info<< "Creating multiphaseSystem\n"<< endl;autoPtr< multiphaseSystem > fluidPtr
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
CGAL::Exact_predicates_exact_constructions_kernel K
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
errorManip< error > abort(error &err)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< vector, fvPatchField, volMesh > volVectorField
scalar getRefCellValue(const volScalarField &field, const label refCelli)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
volScalarField rhoCp(IOobject("rhoCp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *thermo->Cp())