Go to the documentation of this file.
46 mixedFvPatchScalarField(
p, iF),
51 valueFraction() = 0.0;
64 mixedFvPatchScalarField(ptf,
p, iF, mapper),
77 mixedFvPatchScalarField(
p, iF),
78 TName_(
dict.getOrDefault<
word>(
"T",
"T"))
80 if (
dict.found(
"value"))
92 valueFraction() = 1.0;
94 fvPatchScalarField::operator=(refValue());
104 mixedFvPatchScalarField(ptf),
116 mixedFvPatchScalarField(ptf, iF),
151 boundaryRadiation.emissivity(
patch().index())
156 const scalarField Ep(emissivity/(2.0*(scalar(2) - emissivity)));
159 valueFraction() = 1.0/(1.0 +
gamma*
patch().deltaCoeffs()/Ep);
164 mixedFvPatchScalarField::updateCoeffs();
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
makePatchTypeField(fvPatchScalarField, greyDiffusiveRadiationMixedFvPatchScalarField)
A class for managing temporary objects.
static const boundaryRadiationProperties & New(const fvMesh &mesh, Args &&... args)
Get existing or create a new MeshObject.
const Type & value() const
Return const reference to value.
MarshakRadiationFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
dimensionedScalar pow4(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
Boundary radiation properties holder.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
static int & msgType()
Message tag of standard messages.
const std::string patch
OpenFOAM patch number as a std::string.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...