Go to the documentation of this file.
35 #ifndef waveModels_streamFunction_H
36 #define waveModels_streamFunction_H
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual bool readDict(const dictionary &overrideDict)
Read from dictionary.
TypeName("streamFunction")
Runtime type information.
InfoProxy< IOobject > info() const
Return info proxy.
volScalarField & h
Planck constant.
virtual void setLevel(const scalar t, const scalar tCoeff, scalarField &level) const
Set the water level.
virtual ~streamFunction()=default
Destructor.
A patch is a list of labels that address the faces in the global face list.
virtual void setVelocity(const scalar t, const scalar tCoeff, const scalarField &level)
Calculate the wave model velocity.
streamFunction(const dictionary &dict, const fvMesh &mesh, const polyPatch &patch, const bool readFields=true)
Constructor.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
scalar uMean_
Mean fluid speed in frame of reference (stream function)
scalarList Ejs_
Stream Function Ej coefficients.
const std::string patch
OpenFOAM patch number as a std::string.
scalarList Bjs_
Stream Function Bj coefficients.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
streamFunction wave model