41 fixedValueFvPatchScalarField(p, iF),
56 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
64 qro_(mapper(ptf.qro_))
76 fixedValueFvPatchScalarField(p, iF, dict,
false),
78 qro_(
"qro", dict, p.
size())
80 if (dict.
found(
"value"))
82 fvPatchScalarField::operator=
90 fvPatchScalarField::operator=(0.0);
101 fixedValueFvPatchScalarField(ptf),
119 fixedValueFvPatchScalarField(ptf, iF),
137 fixedValueFvPatchScalarField::autoMap(m);
138 radiationCoupledBase::autoMap(m);
149 fixedValueFvPatchScalarField::rmap(ptf, addr);
150 radiationCoupledBase::rmap(ptf, addr);
152 refCast<const greyDiffusiveViewFactorFixedValueFvPatchScalarField>(ptf);
154 qro_.
rmap(mrptf.qro_, addr);
166 scalar Q =
gSum((*
this)*patch().magSf());
168 Info<< patch().boundaryMesh().mesh().name() <<
':' 169 << patch().name() <<
':' 170 << this->internalField().name() <<
" <- " 171 <<
" heat transfer rate:" << Q
172 <<
" wall radiative heat flux " 173 <<
" min:" <<
gMin(*
this)
174 <<
" max:" <<
gMax(*
this)
179 fixedValueFvPatchScalarField::updateCoeffs();
This boundary condition provides a grey-diffuse condition for radiative heat flux, qr, for use with the view factor model.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Type gMin(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
scalarField emissivity_
Emissivity.
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
Type gSum(const FieldField< Field, Type > &f)
greyDiffusiveViewFactorFixedValueFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void write(Ostream &) const
Write.
Foam::fvPatchFieldMapper.
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the s...
word emissivityMethod() const
Method to obtain emissivity.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
volScalarField scalarField(fieldObject, mesh)
Type gMax(const FieldField< Field, Type > &f)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Type gAverage(const FieldField< Field, Type > &f)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.