35 namespace regionModels
37 namespace surfaceFilmModels
86 zeroGradientFvPatchScalarField::typeName
89 kappaBar_(
readScalar(coeffDict_.lookup(
"kappaBar")))
125 Shs = beta_*qinP*alpha*(1.0 -
exp(-kappaBar_*delta));
Base class for surface film models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
T & ref() const
Return non-const reference or generate a fatal error.
virtual const volScalarField & alpha() const =0
Return the film coverage, 1 = covered, 0 = uncovered / [].
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the reference to the time database.
addToRunTimeSelectionTable(surfaceFilmRegionModel, kinematicSingleLayer, mesh)
virtual ~standardRadiation()
Destructor.
Macros for easy insertion into run-time selection tables.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Mesh &, const dimensionSet &, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return a temporary field constructed from name, mesh, dimensionSet.
dimensionedScalar exp(const dimensionedScalar &ds)
virtual const volScalarField & delta() const =0
Return the film thickness [m].
const fvMesh & regionMesh() const
Return the region mesh database.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
dimensionedScalar pow3(const dimensionedScalar &ds)
wordList mappedPushedFieldPatchTypes() const
Return boundary types for pushed mapped field patches.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual tmp< volScalarField > Shs()
Return the radiation sensible enthalpy source.
void correctBoundaryConditions()
Correct boundary field.
surfaceFilmRegionModel & filmModel_
Reference to the film surface film model.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.
Base class for film radiation models.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
virtual void correct()
Correct.
standardRadiation(surfaceFilmRegionModel &film, const dictionary &dict)
Construct from surface film model and dictionary.