29 #include "phaseCompressibleTurbulenceModel.H" 38 namespace diameterModels
110 alphatWallBoilingWallFunction;
116 isA<alphatWallBoilingWallFunction>(alphatBf[patchi])
119 const alphatWallBoilingWallFunction& alphatw =
120 refCast<const alphatWallBoilingWallFunction>(alphatBf[patchi]);
129 if (dmdt[facei] > SMALL)
131 const label faceCelli =
faceCells[facei];
133 dmdt[facei]/(alphai[faceCelli]*
rho[faceCelli]);
134 Rdk[faceCelli] =
R[faceCelli]*(6.0/dDep[facei]);
IATE (Interfacial Area Transport Equation) bubble diameter model.
Type & lookupObjectRef(const word &name, const bool recursive=false) const
Lookup and return non-const reference to the object of the given Type. Fatal if not found or the wron...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
defineTypeNameAndDebug(dummy, 0)
const phaseModel & otherPhase() const
IATE (Interfacial Area Transport Equation) bubble diameter model run-time selectable sources...
const dimensionSet dimless
Dimensionless.
Smooth ATC in cells next to a set of patches supplied by type.
wallBoiling(const IATE &iate, const dictionary &dict)
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
A thermal wall function for simulation of boiling wall.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
addToRunTimeSelectionTable(IATEsource, dummy, word)
static const word propertiesName
Default name of the turbulence properties dictionary.
const phaseModel & phase() const
const objectRegistry & db() const noexcept
Return the local objectRegistry.
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
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))
const dimensionedScalar & rho() const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Calculate the finiteVolume matrix for implicit and explicit sources.
virtual tmp< volScalarField > R() const =0
const dimensionSet & dimensions() const noexcept
Return dimensions.