40 fixedValueFvPatchScalarField(p, iF),
56 fixedValueFvPatchScalarField(ptf, p, iF, mapper),
57 GammaMean_(ptf.GammaMean_().clone().ptr()),
58 a_(ptf.a_().clone().ptr()),
59 omega_(ptf.omega_().clone().ptr())
71 fixedValueFvPatchScalarField(p, iF, dict),
84 fixedValueFvPatchScalarField(wmfrhpsf),
85 GammaMean_(wmfrhpsf.GammaMean_().clone().ptr()),
86 a_(wmfrhpsf.a_().clone().ptr()),
87 omega_(wmfrhpsf.omega_().clone().ptr())
98 fixedValueFvPatchScalarField(wmfrhpsf, iF),
99 GammaMean_(wmfrhpsf.GammaMean_().clone().ptr()),
100 a_(wmfrhpsf.a_().clone().ptr()),
101 omega_(wmfrhpsf.omega_().clone().ptr())
121 "surfaceFilmProperties" 138 if (patch().size() && (
max(
mag(gTan)) < small))
141 <<
"is designed to operate on patches inclined with respect to " 151 nTan /=
mag(nTan) + rootVSmall;
160 const scalar t = db().time().timeOutputValue();
162 const scalar GMean = GammaMean_->value(t);
163 const scalar a = a_->value(t);
164 const scalar omega = omega_->value(t);
178 pow(3*
sqr(mup/rhop)/(gTan + rootVSmall), 1.0/3.0)*
pow(Re, 1.0/3.0)
181 fixedValueFvPatchScalarField::updateCoeffs();
191 GammaMean_->writeData(os);
193 omega_->writeData(os);
194 writeEntry(
"value", os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
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.
const dimensionedScalar G
Newtonian constant of gravitation.
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...
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 ...
Foam::fvPatchFieldMapper.
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.
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)