39 waveAtmBoundaryLayerSuperposition,
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);
A wrapper around a list of wave models. Superimposes the modelled values of elevation and velocity...
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
virtual tmp< vectorField > UGas(const scalar t, const vectorField &p) const
Get the gas velocity at a given time and global positions.
void write(Ostream &) const
Write.
T & ref() const
Return non-const reference or generate a fatal error.
void size(const label)
Override size to be inconsistent with allocated storage.
tmp< vectorField > U(const vectorField &p) const
Return the velocity distribution for the ATM.
void write(Ostream &) const
Write.
~waveAtmBoundaryLayerSuperposition()
Destructor.
Macros for easy insertion into run-time selection tables.
waveAtmBoundaryLayerSuperposition(const objectRegistry &db)
Construct from a database.
stressControl lookup("compactNormalStress") >> compactNormalStress
Form normalised(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< vectorField > UGas(const scalar t, const vectorField &p) const
Get the gas velocity at a given time and global positions.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
Registry of regIOobjects.