38 calculatedFvPatchScalarField(
p, iF),
39 condensing_(
p.size(), scalar(0)),
40 alphatLiquid_(
p.size(), scalar(0)),
41 alphatVapour_(
p.size(), scalar(0))
53 calculatedFvPatchScalarField(
p, iF,
dict),
69 calculatedFvPatchScalarField(psf,
p, iF, mapper),
70 condensing_(mapper(psf.condensing_)),
71 alphatLiquid_(mapper(psf.alphatLiquid_)),
72 alphatVapour_(mapper(psf.alphatVapour_))
83 calculatedFvPatchScalarField(psf, iF),
84 condensing_(psf.condensing_),
85 alphatLiquid_(psf.alphatLiquid_),
86 alphatVapour_(psf.alphatVapour_)
102 return alphatVapour_;
112 calculatedFvPatchScalarField::map(ptf, mapper);
115 refCast<const wallCondensationPhaseChangeRateFvPatchScalarField>(ptf);
117 mapper(condensing_, tiptf.condensing_);
118 mapper(alphatLiquid_, tiptf.alphatLiquid_);
119 mapper(alphatVapour_, tiptf.alphatVapour_);
128 calculatedFvPatchScalarField::reset(ptf);
131 refCast<const wallCondensationPhaseChangeRateFvPatchScalarField>(ptf);
133 condensing_.reset(tiptf.condensing_);
134 alphatLiquid_.reset(tiptf.alphatLiquid_);
135 alphatVapour_.reset(tiptf.alphatVapour_);
153 writeEntry(os,
"alphatLiquid", alphatLiquid_);
154 writeEntry(os,
"alphatVapour", alphatVapour_);
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,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition is used for the phase change rate field of the wall condensation fvModel....
wallCondensationPhaseChangeRateFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, fvMesh > &)
Construct from patch and internal field.
const scalarField & alphatVapour() const
Access the vapour turbulent thermal diffusivity.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
const scalarField & alphatLiquid() const
Access the liquid turbulent thermal diffusivity.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void map(const fvPatchScalarField &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const dimensionSet & dimless
const dimensionSet & dimMass
const dimensionSet & dimLength
makeNullConstructablePatchTypeField(fvPatchVectorField, noSlipFvPatchVectorField)
const dimensionSet & dimTime
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)