Click or drag to resize

HeadLossCalculator Class

Standard head loss calculation class
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Engine.ModuleHDHeadLossCalculator

Namespace:  DHI.Mike1D.Engine.ModuleHD
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class HeadLossCalculator : IHeadLossCalculator

The HeadLossCalculator type exposes the following members.

Constructors
  NameDescription
Public methodHeadLossCalculator
Create head loss calculator
Top
Properties
  NameDescription
Public propertyEffectiveFlowAreaEstimationType
How to estimate effective flow area in node
Public propertyHeadLossCalculationMethod
Head loss method to use
Public propertyHeadLossCoefficient
Head loss coefficient
Public propertyHeadLossCoefficientType
Head loss coefficient type
Top
Methods
  NameDescription
Public methodCalculateHeadloss
Calculate head loss for the provided reach.

Head loss is the loss of "height" from the node to the reach inlet. Head loss is handled with sign, so a negative headloss will raise the water level boundary condition in the connected reach.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initialize calculator, providing the calculator with the computational HD node.

The IHDNode contains the state of the node, and especially the water level in the node, WaterLevelN and WaterLevelNp1.

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also