47 fixedGradientFvPatchScalarField(
p, iF),
49 qrIncident_(
p.size(),
Zero)
62 fixedGradientFvPatchScalarField(psf,
p, iF, mapper),
64 qrIncident_(psf.qrIncident_)
76 fixedGradientFvPatchScalarField(
p, iF),
78 qrIncident_(
"qrIncident",
dict,
p.size())
80 if (!this->readGradientEntry(
dict) || !this->readValueEntry(
dict))
82 extrapolateInternal();
95 fixedGradientFvPatchScalarField(psf, iF),
97 qrIncident_(psf.qrIncident_)
107 fixedGradientFvPatchScalarField(ptf),
109 qrIncident_(ptf.qrIncident_)
120 fixedGradientFvPatchScalarField::autoMap(m);
122 qrIncident_.autoMap(m);
132 fixedGradientFvPatchScalarField::rmap(psf, addr);
135 refCast<const fixedIncidentRadiationFvPatchScalarField>
141 qrIncident_.rmap(thftpsf.qrIncident_, addr);
159 radiation.absorptionEmission().e()().boundaryField()[
patch().index()]
169 fixedGradientFvPatchScalarField::updateCoeffs();
176 Info<<
patch().boundaryMesh().mesh().name() <<
':' 177 <<
patch().name() <<
':' 178 << this->internalField().name() <<
" -> " 179 <<
" radiativeFlux:" << qr
180 <<
" walltemperature " 181 <<
" min:" <<
limits.min()
182 <<
" max:" <<
limits.max()
196 qrIncident_.writeEntry(
"qrIncident",
os);
210 fixedIncidentRadiationFvPatchScalarField
Different types of constants.
makePatchTypeField(fvPatchScalarField, greyDiffusiveRadiationMixedFvPatchScalarField)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const fvPatchField< scalar > &, const labelList &)=0
Reverse map the given fvPatchField onto this fvPatchField.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void autoMap(const fvPatchFieldMapper &)=0
Map (and resize as needed) from self given a mapping object.
void write(Ostream &os) const
Write.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Macros for easy insertion into run-time selection tables.
fixedIncidentRadiationFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Boundary condition for thermal coupling for solid regions. Used to emulate a fixed incident radiative...
virtual void write(Ostream &) const
Write.
Type gSum(const FieldField< Field, Type > &f)
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
Write.
A FieldMapper for finite-volume patch fields.
MinMax< Type > gMinMax(const FieldField< Field, Type > &f)
Top level model for radiation modelling.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
int debug
Static debugging option.
Type gAverage(const FieldField< Field, Type > &f, const label comm)
The global arithmetic average of a FieldField.
OBJstream os(runTime.globalPath()/outputName)
Common functions used in temperature coupled boundaries.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow4(const dimensionedScalar &ds)
const std::string patch
OpenFOAM patch number as a std::string.
messageStream Info
Information stream (stdout output on master, null elsewhere)
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
static constexpr const zero Zero
Global zero (0)