41 mixedFvPatchScalarField(p, iF),
47 valueFraction() = 0.0;
58 mixedFvPatchScalarField(p, iF),
62 if (dict.
found(
"value"))
74 valueFraction() = 1.0;
76 fvPatchScalarField::operator=(refValue());
88 mixedFvPatchScalarField(ptf, p, iF, mapper),
106 mixedFvPatchScalarField(ptf, iF),
124 mixedFvPatchScalarField::autoMap(m);
125 radiationCoupledBase::autoMap(m);
135 mixedFvPatchScalarField::rmap(ptf, addr);
136 radiationCoupledBase::rmap(ptf, addr);
165 const scalarField Ep(temissivity/(2.0*(2.0 - temissivity)));
168 valueFraction() = 1.0/(1.0 + gamma*patch().deltaCoeffs()/Ep);
173 mixedFvPatchScalarField::updateCoeffs();
184 writeEntryIfDifferent<word>(os,
"T",
"T", TName_);
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
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.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
scalarField emissivity() const
Calculate corresponding emissivity field.
static int & msgType()
Message tag of standard messages.
scalarField emissivity_
Emissivity.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
A class for handling words, derived from string.
void write(Ostream &) const
Write.
Foam::fvPatchFieldMapper.
const Type & value() const
Return const reference to value.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the s...
word emissivityMethod() const
Method to obtain emissivity.
virtual label size() const
Return size.
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.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pow4(const dimensionedScalar &ds)
virtual void write(Ostream &) const
Write.
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (us...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.