Go to the documentation of this file.
32 #include "phaseSystem.H"
46 fixedValueFvPatchScalarField(
p, iF),
61 fixedValueFvPatchScalarField(
p, iF,
dict),
62 q_(
"q",
dict,
p.size()),
63 relax_(
dict.lookupOrDefault<scalar>(
"relax", 1.0)),
64 Tmin_(
dict.lookupOrDefault<scalar>(
"Tmin", 273))
77 fixedValueFvPatchScalarField(psf,
p, iF, mapper),
90 fixedValueFvPatchScalarField(psf),
104 fixedValueFvPatchScalarField(psf, iF),
152 <<
": Heat flux " <<
gMin(q0) <<
" - " <<
gMax(q0) <<
endl;
161 Info<<
patch().name() <<
" " <<
": overall heat flux "
162 <<
gMin(Q) <<
" - " <<
gMax(Q) <<
" W/m2, power: "
168 fixedValueFvPatchScalarField::updateCoeffs();
177 writeEntry(
"value", os);
int debug
Static debugging option.
virtual void write(Ostream &) const
Write.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
static constexpr const zero Zero
Global zero.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
Fundamental fluid thermodynamic properties.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSum(const FieldField< Field, Type > &f)
#define forAll(list, i)
Loop across all elements in list.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
messageStream Info
Information stream (uses stdout - output is on the master only)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Calculates a wall temperature that produces the specified overall wall heat flux across all the phase...
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.
const word & name() const
const std::string patch
OpenFOAM patch number as a std::string.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Foam::fvPatchFieldMapper.
Class to represent a system of phases and model interfacial transfers between them.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Type gMin(const FieldField< Field, Type > &f)
fixedMultiPhaseHeatFluxFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Type gMax(const FieldField< Field, Type > &f)
virtual void write(Ostream &) const
Write.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...