39Foam::radiation::MarshakRadiationFixedTemperatureFvPatchScalarField::
40MarshakRadiationFixedTemperatureFvPatchScalarField
46 mixedFvPatchScalarField(
p, iF),
51 valueFraction() = 0.0;
55Foam::radiation::MarshakRadiationFixedTemperatureFvPatchScalarField::
56MarshakRadiationFixedTemperatureFvPatchScalarField
64 mixedFvPatchScalarField(ptf,
p, iF, mapper),
65 Trad_(ptf.Trad_, mapper)
69Foam::radiation::MarshakRadiationFixedTemperatureFvPatchScalarField::
70MarshakRadiationFixedTemperatureFvPatchScalarField
77 mixedFvPatchScalarField(
p, iF),
78 Trad_(
"Trad",
dict,
p.size())
86 valueFraction() = 1.0;
92Foam::radiation::MarshakRadiationFixedTemperatureFvPatchScalarField::
93MarshakRadiationFixedTemperatureFvPatchScalarField
98 mixedFvPatchScalarField(ptf),
103Foam::radiation::MarshakRadiationFixedTemperatureFvPatchScalarField::
104MarshakRadiationFixedTemperatureFvPatchScalarField
110 mixedFvPatchScalarField(ptf, iF),
123 mixedFvPatchScalarField::autoMap(m);
134 mixedFvPatchScalarField::rmap(ptf, addr);
137 refCast<const MarshakRadiationFixedTemperatureFvPatchScalarField>(ptf);
139 Trad_.rmap(mrptf.Trad_, addr);
169 boundaryRadiation.emissivity(patch().index())
174 const scalarField Ep(emissivity/(2.0*(scalar(2) - emissivity)));
177 valueFraction() = 1.0/(1.0 +
gamma*patch().deltaCoeffs()/Ep);
182 mixedFvPatchScalarField::updateCoeffs();
191 mixedFvPatchScalarField::write(
os);
192 Trad_.writeEntry(
"Trad",
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
static int & msgType() noexcept
Message tag of standard messages.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const Type & value() const
Return const reference to value.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
virtual void operator=(const UList< scalar > &)
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 fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Boundary radiation properties holder.
A class for managing temporary objects.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow4(const dimensionedScalar &ds)