34 namespace regionModels
36 namespace surfaceFilmModels
52 constantRadiation::constantRadiation
63 typeName +
":qrConst",
84 absorptivity_(
readScalar(coeffDict_.lookup(
"absorptivity"))),
85 timeStart_(
readScalar(coeffDict_.lookup(
"timeStart"))),
86 duration_(
readScalar(coeffDict_.lookup(
"duration")))
125 if ((time >= timeStart_) && (time <= timeStart_ + duration_))
131 Shs = mask_*qr*alpha*absorptivity_;
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)
Macros for easy insertion into run-time selection tables.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
const Type & value() const
Return const reference to value.
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.
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar pow3(const dimensionedScalar &ds)
virtual tmp< volScalarField > Shs()
Return the radiation sensible enthalpy source.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
surfaceFilmRegionModel & filmModel_
Reference to the film surface film model.
virtual void correct()
Correct.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Base class for film radiation models.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
virtual ~constantRadiation()
Destructor.