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_;
const surfaceFilmModel & film() const
Return const access to the film surface film model.
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.
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.
surfaceFilmModel & filmModel_
Reference to the film surface film model.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(surfaceFilmModel, kinematicSingleLayer, mesh)
virtual const volScalarField & alpha() const =0
Return the film coverage, 1 = covered, 0 = uncovered / [].
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 succesful.
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.
Base class for surface film models.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
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: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
virtual ~constantRadiation()
Destructor.