BasinGeometry Class

Geometry of a basin

Definition

Namespace: DHI.Mike1D.NetworkDataAccess
Assembly: DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class BasinGeometry
Inheritance
Object    BasinGeometry

Constructors

BasinGeometry(IXYZTable) Create geometry data structure with specified number of levels
BasinGeometry(Int32, Boolean) Create geometry data structure with specified number of levels
BasinGeometry(IXYZTable, Double) Create geometry data structure with specified number of levels

Properties

AreaInterpolation Type of interpolation between levels.

If true, areas are interpolated linearly between levels.

If false, the basin is assumed to be conical, interpolation in cone radii is performed, giving the cone area at the level of interpolation. This is not interpolating linearly in the areas, instead it gives a geometrical more correct interpolation routine.

FlowAreas Flow area, cross sectional area perpendicular to main flow direction

This is used for head loss calculations between basin and connected reaches.

If flow areas are unknown, use the EstimateFlowAreas method to give an estimate based on a circular basin.

Levels Levels
Porosity Porosity.

If not defined, this is null.

Valid values are in the range ]0;1], 1 being fully void (default value) and zero having no void.

The values are step values, meaning that the porosity at position [i] is valid from level [i] to [i+1], no interpolation takes place.

SurfaceAreas Surface areas for each level
SurfaceRadii Radius of a circle matching the area of the level.

Computational parameter, evaluated based on the SurfaceAreas, used by the engines at runtime

Methods

CalculateSurfaceRadii Calculate SurfaceRadii array from SurfaceAreas.

must be called if geometry is updated.

Only necessary when AreaInterpolation is false.

CreatePorosity Add porosity array to object.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
EstimateFlowAreas Estimate flow areas from surface areas, assuming the basin is circular
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemovePorosity Remove porosity array from object.
RemoveSurfaceRadii Remove the SurfaceRadii array
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

ConvertElevVolToElevAreaTable Convert elevation volume storage definition to elevation surface definition
(Defined by BasinExtensions)
GetPorosity Get surface area of geometry at provided level, by interpolation
(Defined by EngineExtensions)
GetSurfaceArea Get surface area of geometry at provided level, by interpolation
(Defined by EngineExtensions)
GetSurfaceAreaCone Get surface area of geometry at provided level, by interpolation of cone/pyramid geometry
(Defined by EngineExtensions)
GetVolume Get volume of geometry at provided level
(Defined by EngineExtensions)
GetVolumeCone Get volume of geometry at provided level, by interpolation of cone/pyramid geometry
(Defined by EngineExtensions)

See Also