CrossSectionExtensionsGetNaturalDepth(ICrossSection, Double, Double, HDParameterData) Method

Gets the Natural depth for a given discharge [m3/s] and slope [dimensionless] The natural depth is the depth where the flow resistance and velocity balances, i.e., for the Manning formula: Q = M*A*R^(2/3)*sqrt(I)

Definition

Namespace: DHI.Mike1D.CrossSectionModule
Assembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static double GetNaturalDepth(
	this ICrossSection cs,
	double discharge,
	double slope,
	HDParameterData hdParams
)

Parameters

cs  ICrossSection

[Missing <param name="cs"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetNaturalDepth(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

discharge  Double

[Missing <param name="discharge"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetNaturalDepth(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

slope  Double

[Missing <param name="slope"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetNaturalDepth(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

hdParams  HDParameterData

[Missing <param name="hdParams"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetNaturalDepth(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetNaturalDepth(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICrossSection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also