54 gamma_(spectrum.gamma_)
65 U10_(
dict.lookup<scalar>(
"U10")),
66 F_(
dict.lookup<scalar>(
"F")),
67 gamma_(
dict.lookupOrDefault<scalar>(
"gamma", 3.3))
84 const scalar
alpha = 0.076*
pow(
sqr(U10_)/(F_*g()), 0.22);
86 const scalar wp = 22*
pow(
sqr(g())/(U10_*F_), 1.0/3.0);
95 const scalar wp = 22*
pow(
sqr(g())/(U10_*F_), 1.0/3.0);
Macros for easy insertion into run-time selection tables.
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 any number of values (e....
A class for managing temporary objects.
virtual ~JONSWAP()
Destructor.
JONSWAP(const JONSWAP &spectrum)
Construct a copy.
virtual scalar fFraction(const scalar fraction) const
Return the frequency below which a given fraction of the spectrum's.
virtual void write(Ostream &os) const
Write.
virtual tmp< scalarField > S(const scalarField &f) const
Evaluate the wave spectral density at the given frequencies [m^2/Hz].
Base class for wave spectra.
scalar fFraction(const scalar fraction, const scalar f1) const
Return the frequency below which a given fraction of the spectrum's.
virtual void write(Ostream &os) const
Write.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const scalar twoPi(2 *pi)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar pow5(const dimensionedScalar &ds)
dimensionedScalar exp(const dimensionedScalar &ds)
void writeEntryIfDifferent(Ostream &os, const word &entryName, const EntryType &value1, const EntryType &value2)
Helper function to write the keyword and entry only if the.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar pow025(const dimensionedScalar &ds)