54 gamma_(spectrum.gamma_)
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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].
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
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)
void pow025(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void pow4(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
dimensionedScalar log(const dimensionedScalar &ds)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)