CrossSectionExtensionsCalculateNaturalDepth Method

Note: This API is now obsolete.
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 Manning resistance formulation when Manning formula is fullfilled: 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#
[ObsoleteAttribute("Use GetNaturalDepth. Beware of argument change (maxDepth not used")]
public static double CalculateNaturalDepth(
	this ICrossSection cs,
	double discharge,
	double slope,
	double maxDepth,
	HDParameterData hdParams
)

Parameters

cs  ICrossSection

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

discharge  Double

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

slope  Double

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

maxDepth  Double

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

hdParams  HDParameterData

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

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.CalculateNaturalDepth(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,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