Go to the documentation of this file.
47 fixedGradientFvPatchScalarField(
p, iF),
56 qrIncident_(
p.size(),
Zero)
69 fixedGradientFvPatchScalarField(psf,
p, iF, mapper),
71 qrIncident_(psf.qrIncident_)
83 fixedGradientFvPatchScalarField(
p, iF),
85 qrIncident_(
"qrIncident",
dict,
p.size())
87 if (
dict.found(
"value") &&
dict.found(
"gradient"))
108 fixedGradientFvPatchScalarField(psf, iF),
110 qrIncident_(psf.qrIncident_)
120 fixedGradientFvPatchScalarField(ptf),
122 qrIncident_(ptf.qrIncident_)
133 fixedGradientFvPatchScalarField::autoMap(m);
135 qrIncident_.autoMap(m);
145 fixedGradientFvPatchScalarField::rmap(psf, addr);
148 refCast<const fixedIncidentRadiationFvPatchScalarField>
154 qrIncident_.rmap(thftpsf.qrIncident_, addr);
172 radiation.absorptionEmission().e()().boundaryField()[
patch().index()]
182 fixedGradientFvPatchScalarField::updateCoeffs();
187 Info<<
patch().boundaryMesh().mesh().name() <<
':'
188 <<
patch().name() <<
':'
189 << this->internalField().name() <<
" -> "
190 <<
" radiativeFlux:" << qr
191 <<
" walltemperature "
192 <<
" min:" <<
gMin(*
this)
193 <<
" max:" <<
gMax(*
this)
207 qrIncident_.writeEntry(
"qrIncident",
os);
208 writeEntry(
"value",
os);
221 fixedIncidentRadiationFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void operator=(const UList< Type > &)
virtual void updateCoeffs()
makePatchTypeField(fvPatchScalarField, greyDiffusiveRadiationMixedFvPatchScalarField)
static constexpr const zero Zero
Type gAverage(const FieldField< Field, Type > &f)
Different types of constants.
Common functions used in temperature coupled boundaries.
Ostream & endl(Ostream &os)
const Type & value() const
Type gSum(const FieldField< Field, Type > &f)
virtual void write(Ostream &) const
const dimensionedScalar kappa
virtual void autoMap(const fvPatchFieldMapper &)=0
dimensionedScalar pow4(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
fixedIncidentRadiationFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void autoMap(const fvPatchFieldMapper &)
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void rmap(const fvPatchField< scalar > &, const labelList &)=0
Boundary condition for thermal coupling for solid regions. Used to emulate a fixed incident radiative...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Top level model for radiation modelling.
const dimensionedScalar sigma
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Foam::fvPatchFieldMapper.
virtual void rmap(const fvPatchScalarField &, const labelList &)
void write(Ostream &os) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...