Go to the documentation of this file.
29 #include "phaseCompressibleTurbulenceModel.H"
38 namespace diameterModels
99 turbulenceModel::propertiesName,
105 const volScalarField::Boundary& alphatBf = talphat().boundaryField();
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]);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
defineTypeNameAndDebug(dummy, 0)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
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))
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
IATE (Interfacial Area Transport Equation) bubble diameter model.
virtual tmp< volScalarField > R() const =0
A thermal wall function for simulation of boiling wall.
#define forAll(list, i)
Loop across all elements in list.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
#define R(A, B, C, D, E, F, K, M)
addToRunTimeSelectionTable(IATEsource, dummy, word)
word name(const complex &c)
Return string representation of complex.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
IATE (Interfacial Area Transport Equation) bubble diameter model run-time selectable sources.
Calculate the matrix for implicit and explicit sources.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
Smooth ATC in cells next to a set of patches supplied by type.
wallBoiling(const IATE &iate, const dictionary &dict)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionedScalar & rho() const
Return const-access to phase1 density.