buddyd16 / Structural-Engineering

Structural Engineering Modules (Python 2.7 primarily)
BSD 3-Clause "New" or "Revised" License
228 stars 66 forks source link

[Three Moment Method][Beam Patterning] - Relative Error in Slope Values and Deflection Values due to Cumulative Trapezoidal Integration #4

Closed buddyd16 closed 6 years ago

buddyd16 commented 7 years ago

Upon testing for short weak beams with extreme loads (1000 kips/ft, 1 ft long, E = 1 psi, I = 1 in^4) and extremely long weak beams (1000 ft, 1 kip/ft, , E = 1 psi, I = 1 in^4) the error from the cumulative trapezoidal integration utilized for the slope and deflection values becomes unacceptable. Initial testing indicates shifting to Simpson rule integration will lead to an acceptable level of error.

Cum Trap - Deflection @ right support - Value should be: 0 : Error,short/weak = -0.288 in (500 calculation stations) Error,long/weak = -500000.675 in (12000 calculation stations, 1 station per inch) Error,long/weak as steel = -0.01724 in (12000 calculation stations, 1 station per inch, E= 29000000 psi, I=1 in^4) Error,long/weak Concrete - 150 pcf, F'c = 2500 psi = -0.16495 in (12000 calculation stations, 1 station per inch, E= 3031243.56 psi, I=1 in^4)

Simpson - Deflection @ right support - Value should be: 0 : Error,short/weak = -0.001 in (500 calculation stations) Error,long/weak = -55.57 in (12000 calculation stations, 1 station per inch) Error,long/weak as steel = -0.000001916 in (12000 calculation stations, 1 station per inch, E= 29000000 psi, I=1 in^4) Error,long/weak Concrete - 150 pcf, F'c = 2500 psi = -0.00001833 in (12000 calculation stations, 1 station per inch, E= 3031243.56 psi, I=1 in^4)

Further implementing a method to identify point load application points and insert them as additional calculation stations will reduce error at those locations of abrupt diagram changes, should allow for the implementation of point moments which currently introduce unacceptable error into the slope and deflection values.

No eta on this implementation but it is being studied

Alternatively I can stop being a wimp and go thru the derivation of the real slope and deflection values for the general cases of pin-pin beam with moments at both ends with point load anywhere, variable partial UDL, and point moment and apply the principle of super position.

buddyd16 commented 6 years ago

Made an attempt to implement the switch to Simpson rule integration and calculation time increased exponentially. Test case was for an 8 span beam with patterned live loads and calc time was +/- 3.5 mins. vs. +/- 1 min. for current cum. trap. method. for a real world beam the accuracy gains are not worth the increased computation time. My take away from this is I really need to spend some time and do the real derivations for slope and deflection for point moments and start/end span moments. I would think getting into these derivations would also solve bug #1 .If anyone out there wants to weigh in with solutions please do....as on my end real world work is going to take priority over this personal project :(

buddyd16 commented 6 years ago

making slow progress...have the general form equations for a point moment now - see the recently added pin pin beam point moment script in the analysis folder.

need to take the derivative of the deflection functions I currently have for udl, point, and trap loading's which should be fairly simple.

Have a method in mind for the handling of cantilevers, I am finding the derivation for slope and deflection to not be too bad so far, udl and especially trapezoidal loads are always a headache though so not looking forward to that.

buddyd16 commented 6 years ago

general formulas done for all but left side cantilevers, will be completely reworking the beam patterning program in the near future.

buddyd16 commented 6 years ago

have everything in place to be able to do exact results now and no longer rely on the approximate integration. Will leave this issue open until I rewrite the beam patterning and three moment files.

buddyd16 commented 6 years ago

exact methods uploaded with _e in the filename