42 mixedFvPatchScalarField(p, iF),
48 valueFraction() = 0.0;
61 mixedFvPatchScalarField(ptf, p, iF, mapper),
69 Trad_(ptf.Trad_, mapper)
81 mixedFvPatchScalarField(p, iF),
83 Trad_(
"Trad", dict, p.
size())
91 valueFraction() = 1.0;
93 fvPatchScalarField::operator=(refValue());
103 mixedFvPatchScalarField(ptf),
121 mixedFvPatchScalarField(ptf, iF),
139 mixedFvPatchScalarField::autoMap(m);
140 radiationCoupledBase::autoMap(m);
151 mixedFvPatchScalarField::rmap(ptf, addr);
152 radiationCoupledBase::rmap(ptf, addr);
154 refCast<const MarshakRadiationFixedTemperatureFvPatchScalarField>(ptf);
156 Trad_.
rmap(mrptf.Trad_, addr);
181 const scalarField Ep(temissivity/(2.0*(scalar(2.0) - temissivity)));
184 valueFraction() = 1.0/(1.0 + gamma*patch().deltaCoeffs()/Ep);
189 mixedFvPatchScalarField::updateCoeffs();
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void write(Ostream &) const
Write.
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.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
scalarField emissivity() const
Calculate corresponding emissivity field.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const Type & value() const
Return const reference to value.
static int & msgType()
Message tag of standard messages.
scalarField emissivity_
Emissivity.
Macros for easy insertion into run-time selection tables.
void write(Ostream &) const
Write.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
MarshakRadiationFixedTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
word emissivityMethod() const
Method to obtain emissivity.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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.