XSBaseRawGetLocalVelocity Method |
Calculates a local velocity for a given x along the cross sectional profile. The result must
be divided by GetLocalVelocityFactor().
The calculation is based on a parallel canal analysis, and if integrated up,
matches the total discharge through the cross section.
Namespace:
DHI.Mike1D.CrossSectionModule
Assembly:
DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public double GetLocalVelocity(
double q,
double x,
double waterdepth
)
Public Function GetLocalVelocity (
q As Double,
x As Double,
waterdepth As Double
) As Double
public:
double GetLocalVelocity(
double q,
double x,
double waterdepth
)
Parameters
- q
- Type: SystemDouble
Discharge - x
- Type: SystemDouble
Cross sectional coordinate, need not start at 0. - waterdepth
- Type: SystemDouble
Global water depth
Return Value
Type:
DoubleA local velocity at the x coordinate of the cross section.
See Also