38Foam::radiation::greyDiffusiveViewFactorFixedValueFvPatchScalarField::
39greyDiffusiveViewFactorFixedValueFvPatchScalarField
45 fixedValueFvPatchScalarField(
p, iF),
50Foam::radiation::greyDiffusiveViewFactorFixedValueFvPatchScalarField::
51greyDiffusiveViewFactorFixedValueFvPatchScalarField
59 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
60 qro_(ptf.qro_, mapper)
64Foam::radiation::greyDiffusiveViewFactorFixedValueFvPatchScalarField::
65greyDiffusiveViewFactorFixedValueFvPatchScalarField
72 fixedValueFvPatchScalarField(
p, iF,
dict, false),
73 qro_(
"qro",
dict,
p.size())
90Foam::radiation::greyDiffusiveViewFactorFixedValueFvPatchScalarField::
91greyDiffusiveViewFactorFixedValueFvPatchScalarField
96 fixedValueFvPatchScalarField(ptf),
101Foam::radiation::greyDiffusiveViewFactorFixedValueFvPatchScalarField::
102greyDiffusiveViewFactorFixedValueFvPatchScalarField
108 fixedValueFvPatchScalarField(ptf, iF),
121 fixedValueFvPatchScalarField::autoMap(m);
132 fixedValueFvPatchScalarField::rmap(ptf, addr);
135 refCast<const greyDiffusiveViewFactorFixedValueFvPatchScalarField>(ptf);
137 qro_.rmap(mrptf.qro_, addr);
151 scalar Q =
gSum((*
this)*patch().magSf());
153 Info<< patch().boundaryMesh().mesh().name() <<
':'
154 << patch().name() <<
':'
155 << this->internalField().name() <<
" <- "
156 <<
" heat transfer rate:" << Q
157 <<
" wall radiative heat flux "
158 <<
" min:" <<
gMin(*
this)
159 <<
" max:" <<
gMax(*
this)
172 db().lookupObject<
viewFactor>(
"radiationProperties");
183 if (this->db().foundObject<volScalarField>(qSecName))
202 fixedValueFvPatchScalarField::write(
os);
203 qro_.writeEntry(
"qro",
os);
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 Boundary & boundaryField() const
Return const-reference to the boundary field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
virtual void operator=(const UList< scalar > &)
friend Ostream & operator(Ostream &, const fvPatchField< scalar > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a grey-diffuse condition for radiative heat flux,...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
tmp< scalarField > qro(label bandI=0) const
Return external + solar load radiative heat flux.
View factor radiation model. The system solved is: C q = b where: Cij = deltaij/Ej - (1/Ej - 1)Fij q ...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Type gSum(const FieldField< Field, Type > &f)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gAverage(const FieldField< Field, Type > &f)
Type gMin(const FieldField< Field, Type > &f)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Type gMax(const FieldField< Field, Type > &f)