42 mixedFvPatchScalarField(p, iF),
48 valueFraction() = 0.0;
60 mixedFvPatchScalarField(p, iF),
62 Trad_(
"Trad", dict, p.
size())
70 valueFraction() = 1.0;
72 fvPatchScalarField::operator=(refValue());
85 mixedFvPatchScalarField(ptf, p, iF, mapper),
93 Trad_(mapper(ptf.Trad_))
104 mixedFvPatchScalarField(ptf, iF),
122 mixedFvPatchScalarField::autoMap(m);
123 radiationCoupledBase::autoMap(m);
134 mixedFvPatchScalarField::rmap(ptf, addr);
135 radiationCoupledBase::rmap(ptf, addr);
137 refCast<const MarshakRadiationFixedTemperatureFvPatchScalarField>(ptf);
139 Trad_.
rmap(mrptf.Trad_, addr);
164 const scalarField Ep(temissivity/(2*(2 - temissivity)));
167 valueFraction() = 1.0/(1.0 + gamma*patch().deltaCoeffs()/Ep);
172 mixedFvPatchScalarField::updateCoeffs();
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
scalarField emissivity() const
Calculate corresponding emissivity field.
static int & msgType()
Message tag of standard messages.
scalarField emissivity_
Emissivity.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
MarshakRadiationFixedTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
void write(Ostream &) const
Write.
Foam::fvPatchFieldMapper.
const Type & value() const
Return const reference to value.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (us...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the s...
word emissivityMethod() const
Method to obtain emissivity.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow4(const dimensionedScalar &ds)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)