29 #include "createPhi.H" 35 mesh.setFluxRequired(
p.name());
46 nonInt.insert(
"grad(p)");
47 nonInt.insert(
"surfaceIntegrate(phi)");
48 nonInt.insert(
"surfaceIntegrate(phiHbyA)");
49 nonInt.insert(
"cellMask");
50 nonInt.insert(
"cellDisplacement");
51 nonInt.insert(
"interpolatedCells");
52 nonInt.insert(
"cellInterpolationWeight");
63 autoPtr<incompressible::turbulenceModel>
turbulence tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setRefCell(p, pimple.dict(), pRefCell, pRefValue)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< vector, fvPatchField, volMesh > volVectorField
bool insert(const Key &key)
Insert a new entry, not overwriting existing entries.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
surfaceScalarField phiHbyA(IOobject("phiHbyA", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), fvc::flux(U))
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))
Creates mask for interpolated cells.
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
Creates mask for blocked out cells.
messageStream Info
Information stream (stdout output on master, null elsewhere)
singlePhaseTransportModel laminarTransport(U, phi)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField