39Foam::radiation::MarshakRadiationFvPatchScalarField::
40MarshakRadiationFvPatchScalarField
46 mixedFvPatchScalarField(
p, iF),
51 valueFraction() = 0.0;
55Foam::radiation::MarshakRadiationFvPatchScalarField::
56MarshakRadiationFvPatchScalarField
64 mixedFvPatchScalarField(ptf,
p, iF, mapper),
69Foam::radiation::MarshakRadiationFvPatchScalarField::
70MarshakRadiationFvPatchScalarField
77 mixedFvPatchScalarField(
p, iF),
78 TName_(
dict.getOrDefault<
word>(
"T",
"T"))
92 valueFraction() = 1.0;
98Foam::radiation::MarshakRadiationFvPatchScalarField::
99MarshakRadiationFvPatchScalarField
104 mixedFvPatchScalarField(ptf),
109Foam::radiation::MarshakRadiationFvPatchScalarField::
110MarshakRadiationFvPatchScalarField
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();
173 mixedFvPatchScalarField::write(
os);
174 os.writeEntryIfDifferent<
word>(
"T",
"T", TName_);
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.
void size(const label n)
Older name for setAddressableSize.
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,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
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 updateCoeffs()
Update the coefficients associated with the patch field.
Boundary radiation properties holder.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
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
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow4(const dimensionedScalar &ds)