NodeCoverDisplaceable Class

A displaceable spilling cover on top of EngineNodeSewer with dynamically changing opening due to pressure Spilling covers will spill water out of the cover above a certain water level. Covers are connected to EngineNodeSewer with a Bridge Pattern (EngineNodeSewer as a reference to a NodeCover)

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class NodeCoverDisplaceable : NodeCover
Inheritance
Object    NodeCover    NodeCoverDisplaceable

Constructors

NodeCoverDisplaceable Create cover from Mike1DDataAccess.ICover

Properties

AllowInflow When the 1D model is coupled to a 2D model through a node with a displaceable cover, flow is allowed back into the node.
Diameter Diameter of the cover, may vary from the diameter of the manhole. Unit: [m] Default: 1
DiameterAtWaterLevelStart Setter for the diameter at the water level where the cover starts
(Inherited from NodeCover)
Fraction The fraction which tells how much the cover has moved. Value in [0; 1]
IsSpilling Boolean indicating if this cover is spilling (removing water)
(Overrides NodeCoverIsSpilling)
MaxFractionChangeRate Maximum allowed change of displacement fraction pr second. Can help stabilize oscillations when cover is displaced drastically.
PressureTable Table containing pressure in a manhole and the corresponding displacement fraction of the cover. If the fraction is 0 the cover is in its place and has not moved whereas 1 means the cover is completely removed. Only increasing values allowed. Units: [m] vs []
SpillCoefficient Linear scaling coefficient for the spill Unit: [] Default: 1
UseExpandingCoverForWeirFlow Flag specifying to use expanding cover for weir flow calculations.
WaterLevelStart Water level where the cover starts
(Inherited from NodeCover)

Methods

CalculatePressure Calculate pressure head as difference between 1D and 2D water level. Displacement fraction is updated if pressure exceeds previous maximum pressure.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FlowArea Flow area of the cover
(Overrides NodeCoverFlowArea(Double, Double))
FlowAreaExpanding Flow area of an expanding cover (Expanding + Spilling covers use this)
(Inherited from NodeCover)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetOrificeArea Calculate the area of the opening which appears when the cover is moved. The displacement is given as a fraction of coverage s.t. 0 corresponds to no displacement and 1 corresponds to the cover being completely removed.
GetTypeGets the Type of the current instance.
(Inherited from Object)
InCover Returns true of waterLevel is inside the cover
(Inherited from NodeCover)
Initialize Initialize the cover by setting engine time.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PrepareForTimeStep Prepare cover for time step. Important for keeping track of when and how to update the displacement fraction. If the simulation uses adaptive time step, we need to be able to 'reset' the fraction/pressure to a previous (potentially lower) value.
SpillingDischarge Return discharge (q) out of cover and set dq/dh
(Overrides NodeCoverSpillingDischarge(Double, Double))
SurfaceArea Surface area of the cover
(Overrides NodeCoverSurfaceArea(Double, Double))
SurfaceAreaExpanding Surface area of an expanding cover (Expanding + Spilling covers use this)
(Inherited from NodeCover)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Volume Volume of water in the cover.
(Overrides NodeCoverVolume(Double, Double))
VolumeExpanding Volume of an expanding cover (Expanding + Spilling covers use this)
(Inherited from NodeCover)

Fields

_diameterAtWaterLevelStart Diameter at the level where the cover starts
(Inherited from NodeCover)
_expansionCoefficient Expansion coefficient. This is that factor with which the surface area can maximally expand. Default value: 1000
(Inherited from NodeCover)
_waterLevelStart Water level where the cover starts
(Inherited from NodeCover)

See Also