40 fixedValueFvPatchScalarField(p, iF),
55 fixedValueFvPatchScalarField(p, iF, dict),
71 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
72 GammaMean_(ptf.GammaMean_().clone().
ptr()),
73 a_(ptf.a_().clone().
ptr()),
74 omega_(ptf.omega_().clone().
ptr())
85 fixedValueFvPatchScalarField(wmfrhpsf, iF),
86 GammaMean_(wmfrhpsf.GammaMean_().clone().
ptr()),
87 a_(wmfrhpsf.a_().clone().
ptr()),
88 omega_(wmfrhpsf.omega_().clone().
ptr())
108 "surfaceFilmProperties" 126 - film.nHat().boundaryField()[
patchi]
127 *(film.g().value() & film.nHat().boundaryField()[
patchi])
131 if (patch().size() && (
max(
mag(gTan)) < small))
134 <<
"is designed to operate on patches inclined with respect to " 144 nTan /=
mag(nTan) + rootVSmall;
153 const scalar t = db().time().timeOutputValue();
155 const scalar GMean = GammaMean_->
value(t);
156 const scalar a = a_->
value(t);
157 const scalar omega = omega_->
value(t);
171 pow(3*
sqr(mup/rhop)/(gTan + rootVSmall), 1.0/3.0)*
pow(Re, 1.0/3.0)
174 fixedValueFvPatchScalarField::updateCoeffs();
Run-time selectable general function of one variable.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Kinematic form of single-cell layer surface film model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
T * ptr()
Return object pointer for reuse.
const dimensionedScalar G
Newtonian constant of gravitation.
const Time & time() const
Return the reference to the time database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
Film height boundary condition for inclined films that imposes a sinusoidal perturbation on top of a ...
virtual Type value(const scalar x) const =0
Return value as a function of scalar x.
Foam::fvPatchFieldMapper.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const scalar twoPi(2 *pi)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar sin(const dimensionedScalar &ds)
const dimensionedScalar mu
Atomic mass unit.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
inclinedFilmNusseltHeightFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
virtual void write(Ostream &) const
Write.
#define WarningInFunction
Report a warning using Foam::Warning.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
Base class for region models.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
scalarField Re(const UList< complex > &cf)