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();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (us...
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
scalarField emissivity() const
Calculate corresponding emissivity field.
Foam::fvPatchFieldMapper.
void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by any number of values (e...
word emissivityMethod() const
Method to obtain emissivity.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
static int & msgType()
Message tag of standard messages.
Macros for easy insertion into run-time selection tables.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
scalarField emissivity_
Emissivity.
dimensionedScalar pow4(const dimensionedScalar &ds)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
virtual label size() const
Return size.
MarshakRadiationFixedTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
const Type & value() const
Return const reference to value.