41 fixedValueFvPatchScalarField(p, iF),
55 fixedValueFvPatchScalarField(p, iF, dict,
false),
57 qro_(
"qro", dict, p.
size())
59 if (dict.
found(
"value"))
61 fvPatchScalarField::operator=
69 fvPatchScalarField::operator=(0.0);
83 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
91 qro_(mapper(ptf.qro_))
102 fixedValueFvPatchScalarField(ptf, iF),
120 fixedValueFvPatchScalarField::autoMap(m);
121 radiationCoupledBase::autoMap(m);
132 fixedValueFvPatchScalarField::rmap(ptf, addr);
133 radiationCoupledBase::rmap(ptf, addr);
135 refCast<const greyDiffusiveViewFactorFixedValueFvPatchScalarField>(ptf);
137 qro_.
rmap(mrptf.qro_, addr);
149 scalar Q =
gSum((*
this)*patch().magSf());
151 Info<< patch().boundaryMesh().mesh().name() <<
':' 152 << patch().name() <<
':' 153 << this->internalField().name() <<
" <- " 154 <<
" heat transfer rate:" << Q
155 <<
" wall radiative heat flux " 156 <<
" min:" <<
gMin(*
this)
157 <<
" max:" <<
gMax(*
this)
162 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.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
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.