54 gamma_(spectrum.gamma_)
65 Hs_(
dict.lookup<scalar>(
"Hs")),
66 Ts_(
dict.lookup<scalar>(
"Ts")),
67 gamma_(
dict.lookupOrDefault<scalar>(
"gamma", 3.3))
86 /(0.230 + 0.0336*gamma_ - 0.185/(1.9 + gamma_))
87 *(1.094 - 0.01915*
log(gamma_));
88 const scalar Tp = Ts_/(1 - 0.132*
pow(gamma_ + 0.2, -0.559));
100 const scalar Tp = Ts_/(1 - 0.132*
pow(gamma_ + 0.2, -0.559));
101 const scalar f1 = 1/Tp/
pow025(rootSmall/1.25);
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 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.
GodaJONSWAP(const GodaJONSWAP &spectrum)
Construct a copy.
virtual tmp< scalarField > S(const scalarField &f) const
Evaluate the wave spectral density at the given frequencies [m^2/Hz].
virtual ~GodaJONSWAP()
Destructor.
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.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
dimensionedScalar pos(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 log(const dimensionedScalar &ds)
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)