34 #ifndef waveModels_waveGenerationModel_H 35 #define waveModels_waveGenerationModel_H virtual bool readDict(const dictionary &overrideDict)
Read from dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~waveGenerationModel()=default
Destructor.
TypeName("waveGenerationModel")
Runtime type information.
scalar readWaveAngle() const
Helper function to read the wave angle from the coeff dictionary.
Base class for waveModels.
waveGenerationModel(const dictionary &dict, const fvMesh &mesh, const polyPatch &patch, const bool readFields=true)
Constructor.
InfoProxy< IOobject > info() const noexcept
Return info proxy, for printing information to a stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
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.
scalar readWaveHeight() const
Helper function to read the wave height from the coeff dictionary.