51 word generation =
"Intermediate";
58 generation =
"Shallow";
67 Foam::waveModels::regularWaveModel::regularWaveModel
80 wavePhase_(1.5*mathematical::
pi)
98 waveHeight_ = readWaveHeight();
99 waveAngle_ = readWaveAngle();
101 readEntry(
"wavePeriod", wavePeriod_);
106 <<
"Wave period must be greater than zero. Supplied" 107 <<
" value wavePeriod = " << wavePeriod_
126 os <<
" Wave height : " << waveHeight_ <<
nl 127 <<
" Wave angle : " <<
radToDeg(waveAngle_) <<
nl 128 <<
" Wave period : " << wavePeriod_ <<
nl 129 <<
" Wave length : " << waveLength_ <<
nl 130 <<
" Wave phase : " << wavePhase_ <<
nl;
Different types of constants.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Unit conversion functions.
constexpr char nl
The newline '\n' character (0x0a)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
A class for handling words, derived from Foam::string.
constexpr scalar pi(M_PI)
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)
defineTypeNameAndDebug(combustionModel, 0)
virtual bool readDict(const dictionary &overrideDict)
Read from dictionary.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
constexpr scalar radToDeg(const scalar rad) noexcept
Conversion from radians to degrees.
Mesh data needed to do the Finite Volume discretisation.
meshDefDict readIfPresent("polyMeshPatches", polyPatchNames)
const std::string patch
OpenFOAM patch number as a std::string.
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.
virtual word waveType() const
Return word description of wave type.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...