42 fixedValueFvPatchScalarField(
p, iF,
dict, false),
44 qro_(
"qro",
dict,
p.size())
46 if (
dict.found(
"value"))
70 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
74 ptf.emissivityMethod(),
78 qro_(mapper(ptf.qro_))
89 fixedValueFvPatchScalarField(ptf, iF),
93 ptf.emissivityMethod(),
108 fixedValueFvPatchScalarField::map(ptf, mapper);
111 refCast<const greyDiffusiveViewFactorFixedValueFvPatchScalarField>(ptf);
113 mapper(qro_, mrptf.qro_);
122 fixedValueFvPatchScalarField::reset(ptf);
125 refCast<const greyDiffusiveViewFactorFixedValueFvPatchScalarField>(ptf);
127 qro_.reset(mrptf.qro_);
140 scalar Q =
gSum((*
this)*patch().magSf());
142 Info<< patch().boundaryMesh().mesh().name() <<
':'
143 << patch().name() <<
':'
144 << this->internalField().name() <<
" <- "
145 <<
" heat transfer rate:" << Q
146 <<
" wall radiative heat flux "
147 <<
" min:" <<
gMin(*
this)
148 <<
" max:" <<
gMax(*
this)
153 fixedValueFvPatchScalarField::updateCoeffs();
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Foam::fvPatchFieldMapper.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a grey-diffuse condition for radiative heat flux,...
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 fvPatchFieldMapper &)
Map the given fvPatchField onto this fvPatchField.
greyDiffusiveViewFactorFixedValueFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
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 fvPatchFieldMapper &)
Map the given fvPatchField onto this fvPatchField.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Type gSum(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Type gAverage(const FieldField< Field, Type > &f)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)