47 const scalar
h(get<scalar>(
"waveHeight"));
51 <<
"Wave height must be greater than zero. Supplied"
52 <<
" value waveHeight = " <<
h
62 return degToRad(get<scalar>(
"waveAngle"));
92 if (waveModel::readDict(overrideDict))
94 readEntry(
"activeAbsorption", activeAbsorption_);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
InfoProxy< ensightCells > info() const
Return info proxy.
Mesh data needed to do the Finite Volume discretisation.
A patch is a list of labels that address the faces in the global face list.
Base class for waveModels.
scalar readWaveAngle() const
Helper function to read the wave angle from the coeff dictionary.
scalar readWaveHeight() const
Helper function to read the wave height from the coeff dictionary.
virtual bool readDict(const dictionary &overrideDict)
Read from dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
OBJstream os(runTime.globalPath()/outputName)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
constexpr scalar degToRad() noexcept
Multiplication factor for degrees to radians conversion.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Unit conversion functions.