35 wallBoilingPhaseChangeRateFvPatchScalarField::propertyNames_
40 "nucleationSiteDensity",
46 wallBoilingPhaseChangeRateFvPatchScalarField::propertyPtrs_
48 &wallBoilingPhaseChangeRateFvPatchScalarField::wetFraction_,
49 &wallBoilingPhaseChangeRateFvPatchScalarField::dDeparture_,
50 &wallBoilingPhaseChangeRateFvPatchScalarField::fDeparture_,
51 &wallBoilingPhaseChangeRateFvPatchScalarField::nucleationSiteDensity_,
52 &wallBoilingPhaseChangeRateFvPatchScalarField::qQuenching_,
53 &wallBoilingPhaseChangeRateFvPatchScalarField::qEvaporative_
60 wallBoilingPhaseChangeRateFvPatchScalarField::propertyDimensions_
82 calculatedFvPatchScalarField(
p, iF),
83 boiling_(
p.size(), scalar(0)),
84 wetFraction_(
p.size(), scalar(0)),
85 dDeparture_(
p.size(), vGreat),
86 fDeparture_(
p.size(), scalar(0)),
87 nucleationSiteDensity_(
p.size(), scalar(0)),
88 qQuenching_(
p.size(), scalar(0)),
89 qEvaporative_(
p.size(), scalar(0)),
90 alphatLiquid_(
p.size(), scalar(0)),
91 alphatVapour_(
p.size(), scalar(0))
103 calculatedFvPatchScalarField(
p, iF,
dict),
108 nucleationSiteDensity_(
"nucleationSiteDensity",
dimInvArea,
dict,
p.size()),
125 calculatedFvPatchScalarField(psf,
p, iF, mapper),
126 boiling_(mapper(psf.boiling_)),
127 wetFraction_(mapper(psf.wetFraction_)),
128 dDeparture_(mapper(psf.dDeparture_)),
129 fDeparture_(mapper(psf.fDeparture_)),
130 nucleationSiteDensity_(mapper(psf.nucleationSiteDensity_)),
131 qQuenching_(mapper(psf.qQuenching_)),
132 qEvaporative_(mapper(psf.qEvaporative_)),
133 alphatLiquid_(mapper(psf.alphatLiquid_)),
134 alphatVapour_(mapper(psf.alphatVapour_))
145 calculatedFvPatchScalarField(psf, iF),
146 boiling_(psf.boiling_),
147 wetFraction_(psf.wetFraction_),
148 dDeparture_(psf.dDeparture_),
149 fDeparture_(psf.fDeparture_),
150 nucleationSiteDensity_(psf.nucleationSiteDensity_),
151 qQuenching_(psf.qQuenching_),
152 qEvaporative_(psf.qEvaporative_),
153 alphatLiquid_(psf.alphatLiquid_),
154 alphatVapour_(psf.alphatVapour_)
166 return this->*propertyPtrs_[propertyNames_[
name]];
176 return *propertyDimensions_[propertyNames_[
name]];
183 return alphatLiquid_;
190 return alphatVapour_;
200 calculatedFvPatchScalarField::map(ptf, mapper);
203 refCast<const wallBoilingPhaseChangeRateFvPatchScalarField>(ptf);
205 mapper(boiling_, tiptf.boiling_);
206 mapper(wetFraction_, tiptf.wetFraction_);
207 mapper(dDeparture_, tiptf.dDeparture_);
208 mapper(fDeparture_, tiptf.fDeparture_);
209 mapper(nucleationSiteDensity_, tiptf.nucleationSiteDensity_);
210 mapper(qQuenching_, tiptf.qQuenching_);
211 mapper(qEvaporative_, tiptf.qEvaporative_);
212 mapper(alphatLiquid_, tiptf.alphatLiquid_);
213 mapper(alphatVapour_, tiptf.alphatVapour_);
222 calculatedFvPatchScalarField::reset(ptf);
225 refCast<const wallBoilingPhaseChangeRateFvPatchScalarField>(ptf);
227 boiling_.reset(tiptf.boiling_);
228 wetFraction_.reset(tiptf.wetFraction_);
229 dDeparture_.reset(tiptf.dDeparture_);
230 fDeparture_.reset(tiptf.fDeparture_);
231 nucleationSiteDensity_.reset(tiptf.nucleationSiteDensity_);
232 qQuenching_.reset(tiptf.qQuenching_);
233 qEvaporative_.reset(tiptf.qEvaporative_);
234 alphatLiquid_.reset(tiptf.alphatLiquid_);
235 alphatVapour_.reset(tiptf.alphatVapour_);
256 writeEntry(os,
"nucleationSiteDensity", nucleationSiteDensity_);
258 writeEntry(os,
"qEvaporative", qEvaporative_);
259 writeEntry(os,
"alphatLiquid", alphatLiquid_);
260 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...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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.
Dimension set for the base types.
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.
Motion of the mesh specified as a list of pointMeshMovers.
This boundary condition is used for the phase change rate field of the wall boiling fvModel....
const scalarField & alphatVapour() const
Access the vapour turbulent thermal diffusivity.
static const dimensionSet & propertyDimensions(const word &name)
Access one of the property fields' dimensions by name.
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.
wallBoilingPhaseChangeRateFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, fvMesh > &)
Construct from patch and internal field.
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.
const scalarField & property(const word &name) const
Access one of the property fields by name.
A class for handling words, derived from string.
#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)
void inv(pointPatchField< tensor > &, const pointPatchField< tensor > &)
const dimensionSet & dimTime
const dimensionSet & dimRate
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimHeatFlux(dimEnergy *inv(dimTime *dimArea))
const dimensionSet & dimEnergy
const dimensionSet dimInvArea(inv(dimArea))
const dimensionSet & dimArea
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)