public double GetWindPressureMWFRSNet(double qz, double qh, double G, double Cpl, double Cpw) { double p = 0.0; Mwfrs structure = new Mwfrs(this.Log); p = structure.GetDesignPressureNet( qz, qh, G, Cpl, Cpw); return p; }
public static Dictionary<string, object> ExternalPressureCoefficientMWFRS(double B, double L, string WindFaceType, string Code = "ASCE7-10") { //Default values double C_p = 0; //Calculation logic: WindFace face; bool IsValidStringFaceType = Enum.TryParse(WindFaceType, true, out face); if (IsValidStringFaceType == false) { throw new Exception("Wind face type is not recognized. Use Windward, Leeward or Side. Check input string."); } CalcLog Log = new CalcLog(); Mwfrs Mwfrs = new Mwfrs(Log); C_p = Mwfrs.GetWallPressureCoefficient(face, B, L); return new Dictionary<string, object> { { "C_p", C_p } }; }
public double GetWindPressureMWFRS(double q, double G, double Cp, double qi, double GCpi) { double p = 0.0; Mwfrs structure = new Mwfrs(this.Log); p = structure.GetDesignPressure(q, G, Cp, qi, GCpi); return p; }