Go to the documentation of this file.
40 fixedValueFvPatchVectorField(
p, iF),
41 filmRegionName_(
"surfaceFilmProperties"),
57 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
60 a_(ptf.
a_().clone().ptr()),
61 omega_(ptf.
omega_().clone().ptr())
73 fixedValueFvPatchVectorField(
p, iF),
76 dict.lookupOrDefault<
word>(
"filmRegion",
"surfaceFilmProperties")
92 fixedValueFvPatchVectorField(fmfrpvf),
94 GammaMean_(fmfrpvf.
GammaMean_().clone().ptr()),
95 a_(fmfrpvf.
a_().clone().ptr()),
96 omega_(fmfrpvf.
omega_().clone().ptr())
107 fixedValueFvPatchVectorField(fmfrpvf, iF),
109 GammaMean_(fmfrpvf.
GammaMean_().clone().ptr()),
110 a_(fmfrpvf.
a_().clone().ptr()),
111 omega_(fmfrpvf.
omega_().clone().ptr())
124 const label patchI = patch().index();
143 if (patch().size() && (
max(
mag(gTan)) < SMALL))
146 <<
"is designed to operate on patches inclined with respect to "
156 nTan /=
mag(nTan) + ROOTVSMALL;
165 const scalar t = db().time().timeOutputValue();
168 const scalar a =
a_->value(t);
169 const scalar omega =
omega_->value(t);
174 const scalarField mup(
mu.boundaryField()[patchI].patchInternalField());
177 const scalarField rhop(
rho.boundaryField()[patchI].patchInternalField());
183 fixedValueFvPatchVectorField::updateCoeffs();
193 writeEntryIfDifferent<word>
197 "surfaceFilmProperties",
200 GammaMean_->writeData(os);
202 omega_->writeData(os);
203 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
autoPtr< DataEntry< scalar > > GammaMean_
Mean mass flow rate per unit length [kg/s/m].
virtual void write(Ostream &) const
Write.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
autoPtr< DataEntry< scalar > > omega_
Perturbation frequency [rad/s/m].
const dimensionedScalar mu
Atomic mass unit.
const dimensionedScalar G
Newtonian constant of gravitation.
autoPtr< DataEntry< scalar > > a_
Perturbation amplitude [m].
dimensionedScalar sin(const dimensionedScalar &ds)
scalarField Re(const UList< complex > &cf)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const Time & time() const
Return the reference to the time database.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const scalar twoPi(2 *pi)
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
inclinedFilmNusseltInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
volVectorField vectorField(fieldObject, mesh)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Film velocity boundary condition for inclined films that imposes a sinusoidal perturbation on top of ...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
word filmRegionName_
Name of film region.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Foam::fvPatchFieldMapper.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
#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...