You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parameterReal m_manning(unit="m(1/3)/s", min=0) =40"Manning M (Strickler) coefficient M=1/n (typically 60-110 for steel, 30-60 for rock tunnels)"annotation (
25
+
Dialog(group = "Friction", enable = friction_method == Types.FrictionMethod.ManningFriction and not use_n));
26
+
parameterBoolean use_n =false"If true, use Mannings coefficient n (=1/M) instead of Manning's M (Strickler)"annotation (
parameterReal n_manning(unit="s/m(1/3)", min=0) =0.025"Manning's n coefficient (typically 0.009-0.017 for steel/concrete, 0.017-0.030 for rock tunnels)"annotation (
29
+
Dialog(group = "Friction", enable = friction_method == Types.FrictionMethod.ManningFriction and use_n));
30
+
18
31
19
32
// Steady state:
20
33
parameterBoolean SteadyState=data.SteadyState"If true, starts in steady state"annotation (Dialog(group="Initialization"));
@@ -29,6 +42,10 @@ model Pipe "Model of a pipe"
29
42
SI.VolumeFlowRate Vdot "Volume flow rate";
30
43
31
44
protected
45
+
parameterReal n_eff =if use_n then n_manning else1/m_manning "Effective Manning's n coefficient";
and <a href=\"modelica://OpenHPL.UsersGuide.References\">[Splavska2017a]</a>.</p><p>Updated formulation for non-equal inlet- and outlet diameter.</p><p><br></p><p><br></p>
114
+
and <a href=\"modelica://OpenHPL.UsersGuide.References\">[Splavska2017a]</a>.</p>
0 commit comments