70 return k()*x - omega(u)*t;
76 return k()*depth() <
log(GREAT);
85 length_(wave.length_),
86 amplitude_(wave.amplitude_, false),
98 depth_(dict.lookupOrDefault<scalar>(
"depth", GREAT))
113 amplitude_->writeData(os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
dimensionedScalar tanh(const dimensionedScalar &ds)
tmp< scalarField > angle(const scalar t, const scalar u, const scalarField &x) const
Angle of the oscillation [rad].
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
bool shallow() const
Return whether shallow effects are to be included.
label k
Boltzmann constant.
scalar sigma() const
The intrinsic angular frequency [rad/s].
stressControl lookup("compactNormalStress") >> compactNormalStress
Generic base class for waves. Derived classes must implement field functions which return the elevati...
const Type & value() const
Return const reference to value.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
waveModel(const waveModel &wave)
Construct a copy.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionedVector & g
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual ~waveModel()
Destructor.
static autoPtr< waveModel > New(const objectRegistry &db, const dictionary &dict)
Select.
scalar omega(const scalar u) const
The observed angular frequency [rad/s].
dimensioned< scalar > mag(const dimensioned< Type > &)
scalar k() const
The angular wavenumber [rad/m].
A class for managing temporary objects.
Registry of regIOobjects.
virtual void write(Ostream &os) const
Write.