Go to the documentation of this file.
43 mixedFvPatchScalarField(
p, iF),
48 valueFraction() = 0.0;
61 mixedFvPatchScalarField(ptf,
p, iF, mapper),
62 Trad_(ptf.
Trad_, mapper)
74 mixedFvPatchScalarField(
p, iF),
75 Trad_(
"Trad",
dict,
p.size())
83 valueFraction() = 1.0;
85 fvPatchScalarField::operator=(refValue());
95 mixedFvPatchScalarField(ptf),
107 mixedFvPatchScalarField(ptf, iF),
120 mixedFvPatchScalarField::autoMap(m);
131 mixedFvPatchScalarField::rmap(ptf, addr);
134 refCast<const MarshakRadiationFixedTemperatureFvPatchScalarField>(ptf);
136 Trad_.rmap(mrptf.
Trad_, addr);
166 boundaryRadiation.emissivity(patch().index())
171 const scalarField Ep(emissivity/(2.0*(scalar(2.0) - emissivity)));
174 valueFraction() = 1.0/(1.0 + gamma*patch().deltaCoeffs()/Ep);
179 mixedFvPatchScalarField::updateCoeffs();
189 Trad_.writeEntry(
"Trad", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for managing temporary objects.
MarshakRadiationFixedTemperatureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
rDeltaT dimensionedInternalField()
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, boundaryRadiationPropertiesFvPatchField)
const Type & value() const
Return const reference to value.
static const boundaryRadiationProperties & New(const fvMesh &mesh)
dimensionedScalar pow4(const dimensionedScalar &ds)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Pre-declare SubField and related Field type.
scalarField Trad_
Radiation temperature field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
static int & msgType()
Message tag of standard messages.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...