Bower model for meandering jet. More...
#include <velocity_function.hpp>
Public Member Functions | |
BowerModel () | |
BowerModel (std::vector< T > &p) | |
auto | operator() (const T x, const T y, const T t=0) const |
Public Attributes | |
T | sc_ |
T | a_ |
T | l_ |
T | cx_ |
T | lambda_ |
Detailed Description
template<typename T>
struct LCS::VelocityFunction::BowerModel< T >
Bower model for meandering jet.
The velocity function of the Bower model for meandering jets is implemented here. [1]
The streamfunction is defined as
where is the scale factor,
is the center streamline,
is the wave amplitude,
is the wave number,
is the scale width of the jet, and
is the direction of current.
Here, we implement the streamfunction in the moving frame, which is independent of time:
where , and
.
Then, the velocity in the moving frame can be obtained by calculating the partial derivatives of the streamfunction:
- Template Parameters
-
T Numeric data type of the values.
Constructor & Destructor Documentation
|
inline |
Constructor with default parameters.
|
inline |
Constructor with customized parameters.
- Parameters
-
p A vector of parameters.
Member Function Documentation
|
inline |
Get the velocity at a given point.
- Parameters
-
x -coordinate of the point.
y -coordinate of the point.
t Time for velocity. Since the flow is steady (independent of time), t
should be 0 here.
Member Data Documentation
T LCS::VelocityFunction::BowerModel< T >::a_ |
Wave amplitude (km).
T LCS::VelocityFunction::BowerModel< T >::cx_ |
Jet phase speed (km/day).
T LCS::VelocityFunction::BowerModel< T >::l_ |
Wave length (km).
T LCS::VelocityFunction::BowerModel< T >::lambda_ |
Scale width of the jet (40km).
T LCS::VelocityFunction::BowerModel< T >::sc_ |
Magnitude of downstream speed at the jet center (km/day).
The documentation for this struct was generated from the following file: