42 mixedFvPatchScalarField(
p, iF,
dict, false),
44 TName_(
dict.lookupOrDefault<
word>(
"T",
"T"))
46 if (
dict.found(
"value"))
58 valueFraction() = 1.0;
72 mixedFvPatchScalarField(ptf,
p, iF, mapper),
76 ptf.emissivityMethod(),
90 mixedFvPatchScalarField(ptf, iF),
94 ptf.emissivityMethod(),
109 mixedFvPatchScalarField::map(ptf, mapper);
119 mixedFvPatchScalarField::reset(ptf);
149 const scalarField Ep(emissivity/(2.0*(2.0 - emissivity)));
152 valueFraction() = 1.0/(1.0 + gamma*patch().deltaCoeffs()/Ep);
157 mixedFvPatchScalarField::updateCoeffs();
168 writeEntryIfDifferent<word>(os,
"T",
"T", TName_);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (us...
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
MarshakRadiationFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static int & msgType()
Message tag of standard messages.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the s...
void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
A class for handling words, derived from string.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
VolField< scalar > volScalarField
dimensionedScalar pow4(const dimensionedScalar &ds)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)