41 fixedValueFvPatchScalarField(p, iF),
56 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
64 qro_(ptf.qro_, mapper)
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),
138 fixedValueFvPatchScalarField::autoMap(m);
139 radiationCoupledBase::autoMap(m);
150 fixedValueFvPatchScalarField::rmap(ptf, addr);
151 radiationCoupledBase::rmap(ptf, addr);
153 refCast<const greyDiffusiveViewFactorFixedValueFvPatchScalarField>(ptf);
155 qro_.
rmap(mrptf.qro_, addr);
168 scalar Q =
gSum((*
this)*patch().magSf());
170 Info<< patch().boundaryMesh().mesh().name() <<
':' 171 << patch().name() <<
':' 172 << this->internalField().name() <<
" <- " 173 <<
" heat transfer rate:" << Q
174 <<
" wall radiative heat flux " 175 <<
" min:" <<
gMin(*
this)
176 <<
" max:" <<
gMax(*
this)
181 fixedValueFvPatchScalarField::updateCoeffs();
makePatchTypeField(fvPatchScalarField, greyDiffusiveRadiationMixedFvPatchScalarField)
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)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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...
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
scalarField emissivity_
Emissivity.
Macros for easy insertion into run-time selection tables.
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)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
This boundary condition provides a grey-diffuse condition for radiative heat flux, qr, for use with the view factor model.
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...
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
virtual void write(Ostream &) const
Write.