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,
volVectorField U(IOobject( "U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedVector("zero", dimVelocity, vector::zero), p.boundaryField().types())
dimensionedScalar zeroSensitivity("0", dimVelocity *dimVelocity, 0.0)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
singlePhaseTransportModel laminarTransport(U, phi)
setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue)
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
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
volScalarField alpha(IOobject( "alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), lambda *max(Ua &U, zeroSensitivity))
dimensionedScalar alphaMax(laminarTransport.lookup("alphaMax"))
dimensionedScalar zeroAlpha("0", dimless/dimTime, 0.0)
GeometricField< vector, fvPatchField, volMesh > volVectorField
List< label > labelList
A List of labels.
const dictionary & simple
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
zeroCells(alpha, inletCells)
Creates and initialises the face-flux field phia.
const dimensionSet dimVelocity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.