Go to the documentation of this file.
33 #include "phaseSystem.H"
47 fixedValueFvPatchScalarField(
p, iF),
62 fixedValueFvPatchScalarField(
p, iF,
dict),
63 q_(
"q",
dict,
p.size()),
64 relax_(
dict.getOrDefault<scalar>(
"relax", 1)),
65 Tmin_(
dict.getOrDefault<scalar>(
"Tmin", 273))
78 fixedValueFvPatchScalarField(psf,
p, iF, mapper),
91 fixedValueFvPatchScalarField(psf),
105 fixedValueFvPatchScalarField(psf, iF),
123 const phaseSystem&
fluid =
124 db().lookupObject<phaseSystem>(
"phaseProperties");
135 const fluidThermo&
thermo = phase.thermo();
138 phase.boundaryField()[
patch().index()];
150 Info<<
patch().name() <<
" " << phase.name()
151 <<
": Heat flux " <<
gMin(q0) <<
" - " <<
gMax(q0) <<
endl;
160 Info<<
patch().name() <<
" " <<
": overall heat flux "
161 <<
gMin(Q) <<
" - " <<
gMax(Q) <<
" W/m2, power: "
167 fixedValueFvPatchScalarField::updateCoeffs();
176 fixedValueFvPatchScalarField::autoMap(m);
187 fixedValueFvPatchScalarField::rmap(ptf, addr);
190 refCast<const fixedMultiPhaseHeatFluxFvPatchScalarField>(ptf);
192 q_.rmap(mptf.q_, addr);
201 writeEntry(
"value",
os);
212 fixedMultiPhaseHeatFluxFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
static constexpr const zero Zero
const dimensionedScalar alpha
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)
Type gSum(const FieldField< Field, Type > &f)
virtual void updateCoeffs()
virtual void rmap(const fvPatchScalarField &, const labelList &)
Generic templated field type.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
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)
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,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
const word & name() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeEntry(const keyType &key, const T &value)
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)
virtual void autoMap(const fvPatchFieldMapper &)
fixedMultiPhaseHeatFluxFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Type gMax(const FieldField< Field, Type > &f)
virtual void write(Ostream &) const
const Boundary & boundaryField() const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...