53 UGasRef_(lookup(
"UGasRef")),
54 hRef_(lookup<scalar>(
"hRef")),
55 hWaveMin_(lookup<scalar>(
"hWaveMin")),
56 hWaveMax_(lookup<scalar>(
"hWaveMax"))
77 db().lookupObject<uniformDimensionedVectorField>(
"g").value()
80 const scalar
h0 = - gHat & origin_;
82 const vector UGasRefRel = UGasRef_ - UMean_->value(t);
84 const scalar magUGasRefRel =
mag(UGasRefRel);
88 if (magUGasRefRel > 0)
92 UGasRefRel/magUGasRefRel,
100 tU.
ref() += atm.
U(
p);
Macros for easy insertion into run-time selection tables.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
tmp< vectorField > U(const vectorField &p) const
Return the velocity distribution for the ATM.
Registry of regIOobjects.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
An extension of waveSuperposition which adds an atmospheric boundary layer model to the gas velocity....
waveAtmBoundaryLayerSuperposition(const objectRegistry &db)
Construct from a database.
~waveAtmBoundaryLayerSuperposition()
Destructor.
virtual tmp< vectorField > UGas(const scalar t, const vectorField &p) const
Get the gas velocity at a given time and global positions.
virtual bool write(const bool write=true) const
Inherit write from regIOobject.
A wrapper around a list of wave models. Superimposes the modelled values of elevation and velocity....
virtual tmp< vectorField > UGas(const scalar t, const vectorField &p) const
Get the gas velocity at a given time and global positions.
virtual bool write(const bool write=true) const
Inherit write from regIOobject.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
scalar h0(const fluidMulticomponentThermo &thermo, const scalarList &Y, const scalar p, const scalar T)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionSet normalised(const dimensionSet &)
dimensioned< scalar > mag(const dimensioned< Type > &)
defineTypeNameAndDebug(combustionModel, 0)