57 const word& calculationType,
62 method_(emissivityMethodTypeNames_[calculationType]),
63 emissivity_(emissivity)
70 const word& calculationType,
76 method_(emissivityMethodTypeNames_[calculationType]),
77 emissivity_(mapper(emissivity))
88 method_(emissivityMethodTypeNames_.
read(
dict.lookup(
"emissivityMode")))
131 "radiationProperties"
140 radiation.absorptionEmission().e()().boundaryField()
167 refCast<const radiationCoupledBase>(ptf);
179 refCast<const radiationCoupledBase>(ptf);
187 writeEntry(os,
"emissivityMode", emissivityMethodTypeNames_[method_]);
Initialise the NamedEnum HashTable from the static list of names.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for field mapping.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual label size() const
Return size.
label index() const
Return the index of this patch in the fvBoundaryMesh.
Base class for fv patches that provide mapping between two fv patches.
const fvPatch & nbrFvPatch() const
Get the patch to map from.
static const mappedFvPatchBaseBase & getMap(const fvPatch &patch)
Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors.
const fvMesh & nbrMesh() const
Get the mesh for the region to map from.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the s...
radiationCoupledBase(const fvPatch &patch, const word &calculationMethod, const scalarField &emissivity)
Construct from patch, emissivity mode and emissivity.
void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
tmp< scalarField > emissivity() const
Calculate corresponding emissivity field.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
virtual ~radiationCoupledBase()
Destructor.
scalarField emissivity_
Emissivity. Cached locally when looked up.
static const NamedEnum< emissivityMethodType, 2 > emissivityMethodTypeNames_
Names of emissivity methods.
emissivityMethodType
Emissivity methods.
const emissivityMethodType method_
How to get emissivity.
Radiation for solid opaque solids - does nothing to energy equation source terms (returns zeros) but ...
A class for managing temporary objects.
A class for handling words, derived from string.
autoPtr< radiationModel > radiation(radiationModel::New(T))
bool read(const char *, int32_t &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
const unitConversion unitFraction