29 #include "createPhi.H" 33 scalar pRefValue = 0.0;
35 mesh.setFluxRequired(
p.name());
70 scalar paRefValue = 0.0;
78 mesh.setFluxRequired(pa.name());
83 autoPtr<incompressible::turbulenceModel>
turbulence 105 IOobject::READ_IF_PRESENT,
autoPtr< compressible::turbulenceModel > turbulence
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
zeroCells(alpha, inletCells)
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volVectorField U(IOobject("U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector("zero", dimVelocity, Zero))
List< label > labelList
A List of labels.
dimensionedScalar zeroAlpha("0", dimless/dimTime, 0.0)
dimensionedScalar zeroSensitivity("0", dimVelocity *dimVelocity, 0.0)
dimensionedScalar alphaMax(laminarTransport.lookup("alphaMax"))
const dictionary & simple
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Creates and initialises the face-flux field phia.
singlePhaseTransportModel laminarTransport(U, phi)
const dimensionSet dimVelocity