Go to the documentation of this file.
45 fixedValueFvPatchScalarField(
p, iF),
59 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
60 qro_(ptf.qro_, mapper)
72 fixedValueFvPatchScalarField(
p, iF,
dict,
false),
73 qro_(
"qro",
dict,
p.size())
75 if (
dict.found(
"value"))
77 fvPatchScalarField::operator=
85 fvPatchScalarField::operator=(0.0);
96 fixedValueFvPatchScalarField(ptf),
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))
203 qro_.writeEntry(
"qro",
os);
int debug
Static debugging option.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
makePatchTypeField(fvPatchScalarField, greyDiffusiveRadiationMixedFvPatchScalarField)
A class for managing temporary objects.
Type gAverage(const FieldField< Field, Type > &f)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSum(const FieldField< Field, Type > &f)
tmp< scalarField > qro(label bandI=0) const
Return external + solar load radiative heat flux.
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
View factor radiation model. The system solved is: C q = b where: Cij = deltaij/Ej - (1/Ej - 1)Fij q ...
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition provides a grey-diffuse condition for radiative heat flux,...
const std::string patch
OpenFOAM patch number as a std::string.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Type gMin(const FieldField< Field, Type > &f)
greyDiffusiveViewFactorFixedValueFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
Type gMax(const FieldField< Field, Type > &f)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...