Click or drag to resize

CrossSectionExtensionsCalculateNaturalDepth 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 Manning resistance formulation when Manning formula is fullfilled:
Q = M*A*R^(2/3)*sqrt(I)

Namespace:  DHI.Mike1D.CrossSectionModule
Assembly:  DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static double CalculateNaturalDepth(
	this ICrossSection cs,
	double discharge,
	double slope,
	double maxDepth,
	HDParameterData hdParams
)

Parameters

cs
Type: DHI.Mike1D.CrossSectionModuleICrossSection

[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
Type: SystemDouble

[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
Type: SystemDouble

[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
Type: SystemDouble

[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
Type: DHI.Mike1D.HDParameterDataAccessHDParameterData

[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

Type: 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