34 #ifndef waveModels_shallowWaterAbsorption_H 35 #define waveModels_shallowWaterAbsorption_H
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void setLevel(const scalar t, const scalar tCoeff, scalarField &level) const
Set the water level.
virtual void setAlpha(const scalarField &level)
Set the alpha field based on the water level.
virtual void setVelocity(const scalar t, const scalar tCoeff, const scalarField &level)
Calculate the wave model velocity.
TypeName("shallowWaterAbsorption")
Runtime type information.
shallowWaterAbsorption(const dictionary &dict, const fvMesh &mesh, const polyPatch &patch, const bool readFields=true)
Constructor.
virtual ~shallowWaterAbsorption()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
const std::string patch
OpenFOAM patch number as a std::string.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type.
A patch is a list of labels that address the faces in the global face list.
virtual bool readDict(const dictionary &overrideDict)
Read from dictionary.