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);
int debug
Static debugging option.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
static constexpr const zero Zero
Global zero (0)
Type gAverage(const FieldField< Field, Type > &f)
Different types of constants.
Common functions used in temperature coupled boundaries.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
Type gSum(const FieldField< Field, Type > &f)
virtual void write(Ostream &) const
Write.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
virtual void autoMap(const fvPatchFieldMapper &)=0
Map (and resize as needed) from self given a mapping object.
dimensionedScalar pow4(const dimensionedScalar &ds)
messageStream Info
Information stream (stdout output on master, null elsewhere)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
fixedIncidentRadiationFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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 &)
Map (and resize as needed) from self given a mapping object.
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void rmap(const fvPatchField< scalar > &, const labelList &)=0
Reverse map the given fvPatchField onto this fvPatchField.
Boundary condition for thermal coupling for solid regions. Used to emulate a fixed incident radiative...
const std::string patch
OpenFOAM patch number as a std::string.
Top level model for radiation modelling.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void write(Ostream &os) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Type gMin(const FieldField< Field, Type > &f)
virtual void operator=(const UList< Type > &)
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...