Example #1
0
        public double GetNuRoughness(
            FlowUnitsType fType,
            PressUnitsType pType,
            double spGrav)
        {
            switch (Type)
            {
            case LinkType.FCV:
                return(NUConvert.RevertFlow(fType, Kc));

            case LinkType.PRV:
            case LinkType.PSV:
            case LinkType.PBV:
                return(NUConvert.RevertPressure(pType, spGrav, Kc));
            }
            return(Kc);
        }
Example #2
0
 public double GetNuInitialFlow(FlowUnitsType utype)
 {
     return(NUConvert.RevertFlow(utype, Q0));
 }
Example #3
0
 public double GetNuMaxFlow(FlowUnitsType utype)
 {
     return(NUConvert.RevertFlow(utype, Qmax));
 }
Example #4
0
 public double GetBaseNu(FlowUnitsType units)
 {
     return(NUConvert.RevertFlow(units, Base));
 }