41 mixedFvPatchScalarField(p, iF),
47 valueFraction() = 0.0;
59 mixedFvPatchScalarField(ptf, p, iF, mapper),
78 mixedFvPatchScalarField(p, iF),
82 if (dict.
found(
"value"))
94 valueFraction() = 1.0;
96 fvPatchScalarField::operator=(refValue());
105 mixedFvPatchScalarField(ptf),
122 mixedFvPatchScalarField(ptf, iF),
140 mixedFvPatchScalarField::autoMap(m);
141 radiationCoupledBase::autoMap(m);
151 mixedFvPatchScalarField::rmap(ptf, addr);
152 radiationCoupledBase::rmap(ptf, addr);
181 const scalarField Ep(temissivity/(2.0*(2.0 - temissivity)));
184 valueFraction() = 1.0/(1.0 + gamma*patch().deltaCoeffs()/Ep);
189 mixedFvPatchScalarField::updateCoeffs();
197 writeEntryIfDifferent<word>(os,
"T",
"T", TName_);
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
scalarField emissivity() const
Calculate corresponding emissivity field.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const Type & value() const
Return const reference to value.
static int & msgType()
Message tag of standard messages.
scalarField emissivity_
Emissivity.
Macros for easy insertion into run-time selection tables.
void write(Ostream &) const
Write.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
A class for handling words, derived from string.
word emissivityMethod() const
Method to obtain emissivity.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the s...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
volScalarField scalarField(fieldObject, mesh)
MarshakRadiationFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow4(const dimensionedScalar &ds)
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (us...
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.