35 wallBoilingPhaseChangeRateFvPatchScalarField::propertyNames_
40 "nucleationSiteDensity",
45 const List<const scalarField wallBoilingPhaseChangeRateFvPatchScalarField::*>
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 wetFraction_(
p.size(), scalar(0)),
84 dDeparture_(
p.size(), vGreat),
85 fDeparture_(
p.size(), scalar(0)),
86 nucleationSiteDensity_(
p.size(), scalar(0)),
87 qQuenching_(
p.size(), scalar(0)),
88 qEvaporative_(
p.size(), scalar(0)),
89 alphatLiquid_(
p.size(), scalar(0)),
90 alphatVapour_(
p.size(), scalar(0))
102 calculatedFvPatchScalarField(
p, iF,
dict),
106 nucleationSiteDensity_(
"nucleationSiteDensity",
dimInvArea,
dict,
p.size()),
123 calculatedFvPatchScalarField(psf,
p, iF, mapper),
124 wetFraction_(mapper(psf.wetFraction_)),
125 dDeparture_(mapper(psf.dDeparture_)),
126 fDeparture_(mapper(psf.fDeparture_)),
127 nucleationSiteDensity_(mapper(psf.nucleationSiteDensity_)),
128 qQuenching_(mapper(psf.qQuenching_)),
129 qEvaporative_(mapper(psf.qEvaporative_)),
130 alphatLiquid_(mapper(psf.alphatLiquid_)),
131 alphatVapour_(mapper(psf.alphatVapour_))
142 calculatedFvPatchScalarField(psf, iF),
143 wetFraction_(psf.wetFraction_),
144 dDeparture_(psf.dDeparture_),
145 fDeparture_(psf.fDeparture_),
146 nucleationSiteDensity_(psf.nucleationSiteDensity_),
147 qQuenching_(psf.qQuenching_),
148 qEvaporative_(psf.qEvaporative_),
149 alphatLiquid_(psf.alphatLiquid_),
150 alphatVapour_(psf.alphatVapour_)
162 return this->*propertyPtrs_[propertyNames_[
name]];
172 return *propertyDimensions_[propertyNames_[
name]];
179 return alphatLiquid_;
186 return alphatVapour_;
196 calculatedFvPatchScalarField::map(ptf, mapper);
199 refCast<const wallBoilingPhaseChangeRateFvPatchScalarField>(ptf);
201 mapper(wetFraction_, tiptf.wetFraction_);
202 mapper(dDeparture_, tiptf.dDeparture_);
203 mapper(fDeparture_, tiptf.fDeparture_);
204 mapper(nucleationSiteDensity_, tiptf.nucleationSiteDensity_);
205 mapper(qQuenching_, tiptf.qQuenching_);
206 mapper(qEvaporative_, tiptf.qEvaporative_);
207 mapper(alphatLiquid_, tiptf.alphatLiquid_);
208 mapper(alphatVapour_, tiptf.alphatVapour_);
217 calculatedFvPatchScalarField::reset(ptf);
220 refCast<const wallBoilingPhaseChangeRateFvPatchScalarField>(ptf);
222 wetFraction_.reset(tiptf.wetFraction_);
223 dDeparture_.reset(tiptf.dDeparture_);
224 fDeparture_.reset(tiptf.fDeparture_);
225 nucleationSiteDensity_.reset(tiptf.nucleationSiteDensity_);
226 qQuenching_.reset(tiptf.qQuenching_);
227 qEvaporative_.reset(tiptf.qEvaporative_);
228 alphatLiquid_.reset(tiptf.alphatLiquid_);
229 alphatVapour_.reset(tiptf.alphatVapour_);
249 writeEntry(os,
"nucleationSiteDensity", nucleationSiteDensity_);
251 writeEntry(os,
"qEvaporative", qEvaporative_);
252 writeEntry(os,
"alphatLiquid", alphatLiquid_);
253 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.
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.
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.
wallBoilingPhaseChangeRateFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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 dimEnergy
const dimensionSet dimRate
const dimensionSet dimless
const dimensionSet dimLength
makeNullConstructablePatchTypeField(fvPatchVectorField, noSlipFvPatchVectorField)
const dimensionSet dimTime
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimMass
const dimensionSet dimHeatFlux(dimEnergy *inv(dimTime *dimArea))
const dimensionSet dimArea
void inv(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
const dimensionSet dimInvArea(inv(dimArea))