Commit 8decb0ac authored by Mathias Chouet's avatar Mathias Chouet :spaghetti:
Browse files

cosmétique

Showing with 4 additions and 4 deletions
+4 -4
......@@ -32,7 +32,7 @@ export class StructureWeirCem88d extends RectangularStructure {
const b1: number = Math.sqrt(this.prms.h1.v);
const b2: number = Math.sqrt(this.prms.h1.v - this.prms.h2.v);
const cd1: number = cd * 2.5981; // cd * 3*sqrt(3)/2
this.debug("StructureCem88d.Equation b1=" + b1 + " b2=" + b2 + " cd1=" + cd1);
this.debug("StructureWeirCem88d.Equation b1=" + b1 + " b2=" + b2 + " cd1=" + cd1);
switch (data.ENUM_StructureFlowMode) {
case StructureFlowMode.WEIR:
switch (data.ENUM_StructureFlowRegime) {
......@@ -41,7 +41,7 @@ export class StructureWeirCem88d extends RectangularStructure {
break;
case StructureFlowRegime.SUBMERGED:
v = cd1 * this.prms.h2.v * b2;
this.debug("StructureCem88d.Equation WEIR SUBMERGED Q=" + v);
this.debug("StructureWeirCem88d.Equation WEIR SUBMERGED Q=" + v);
break;
}
break;
......@@ -56,12 +56,12 @@ export class StructureWeirCem88d extends RectangularStructure {
break;
case StructureFlowRegime.SUBMERGED:
v = cd1 * b2 * this.prms.W.v;
this.debug("StructureCem88d.Equation ORIFICE SUBMERGED Q=" + v);
this.debug("StructureWeirCem88d.Equation ORIFICE SUBMERGED Q=" + v);
break;
}
}
this.debug(
"StructureCem88d.Equation(h1=" + this.prms.h1.v + ",h2="
"StructureWeirCem88d.Equation(h1=" + this.prms.h1.v + ",h2="
+ this.prms.h2.v + ",W=" + this.prms.W.v + ") => Q=" + v);
return new Result(v, data);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment