public void WeldConcentricLoadAtAngleReturnsValue() { FilletWeld weld = new FilletWeld(50, 65, 70, 5.0 / 16.0, 2.0, 2.0); //L = 2 because Example uses 2 sided welds double phiF_nw = weld.GetStrength( WeldLoadType.WeldShear, 60.0, false); double refValue = 19.5; double actualTolerance = EvaluateActualTolerance(phiF_nw, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }
public void FilletWeldReturnsUnitStrengthWithoutBaseMetal() { FilletWeld weld = new FilletWeld(0, 0, 70, 1 / 16.0, 0, 1); double phiF_nw = weld.GetStrength(WeldLoadType.WeldShear, 0, true); double refValue = 1.392; double actualTolerance = EvaluateActualTolerance(phiF_nw, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }
public virtual double GetStrength(bool IgnoreDirectionalityEffects=false) { FilletWeld weld = new FilletWeld(0, 0, this.ElectrodeStrength, this.Leg, 0, Length); double phiR_n = 0; if (IgnoreDirectionalityEffects ==true) { phiR_n = weld.GetStrength(WeldLoadType.WeldShear, 0, true); } else { phiR_n = weld.GetStrength(WeldLoadType.WeldShear, theta, true); } return phiR_n; }
public IWeld GetWeld(WeldType weldType,double F_y, double F_u, double F_EXX, double Size, double A_nBase, double Length) { IWeld weld =null; switch (weldType) { case WeldType.CJP: weld = new CJPGrooveWeld(F_y, F_u, F_EXX, Size, A_nBase, Length); break; case WeldType.PJP: weld = new PJPGrooveWeld(F_y, F_u, F_EXX, Size, A_nBase, Length); break; case WeldType.Fillet: weld = new FilletWeld(F_y, F_u, F_EXX, Size, A_nBase, Length); break; } return weld; }
public IWeld GetWeld(WeldType weldType, double F_y, double F_u, double F_EXX, double Size, double A_nBase, double Length) { IWeld weld = null; switch (weldType) { case WeldType.CJP: weld = new CJPGrooveWeld(F_y, F_u, F_EXX, Size, A_nBase, Length); break; case WeldType.PJP: weld = new PJPGrooveWeld(F_y, F_u, F_EXX, Size, A_nBase, Length); break; case WeldType.Fillet: weld = new FilletWeld(F_y, F_u, F_EXX, Size, A_nBase, Length); break; } return(weld); }