The following warnings occurred:
Warning [2] Undefined array key 127922 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 127922 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





HP35s Reinforced concrete beam design to BS8110



#2

Anyone who wants a copy of my fully working and tested program, 'BEAM 8110' please send your email address so that I can send you an M$Word file of the formatted, commented listing.

It will take me too long to amend the listing to use only the displayable character-set in this forum so I'm offering only the downloadable listing. I also don't have a facility for posting a downloadable version.

Everyone please feel free either to put the downloadable file online on your own websites for the benefit of others or to port the listing to this restricted character-set and upload it to MoHPC.

The program has 564 lines, with loops within loops.
It uses 25 variables and 3 flags.
It uses only one LBL.

FUNCTIONALITY AND USE

(taken from the first page of the listing file):

Designs main reinforcement for rectangular reinforced concrete
beams to BS 8110:Pt.1:1997. Singly or doubly reinforced (tension
steel only or tension and compression steel).
Parabolic-rectangular concrete compression stress block.
Program assumes steel is high-yield (grade 460) but this can
easily be altered in the code, optionally with a steel grade
prompt for user-specified input.

Input
Mu (N-mm) The required ultimate moment of resistance.
Fcu (N/mm2) Characteristic cube strength
C (mm) Cover to main bars all round
Program now suggests a suitable section size for a singly-
reinforced section, which user can over-ride or accept.
H (mm) Section total depth (accept suggested/over-ride)
B (mm) Section total breadth (accept suggested/over-ride)
Q (mm) Bar diameter of compression
(optional entry - autogen input if left blank)
O (mm) Bar diameter of tension steel
(optional entry - autogen input if left blank)

Bar diameters are entered into the two lines of screen display,
compression then tension, before pressing R/S. After entering
neither tensile nor compressive steel the program takes a minute
or more to finish. Finishes more quickly if at least the tensile
bar diameter is entered..

Output
[NC, DiamC] No. of compression bars needed, bar diameter
[NT, DiamT] No. of tension bars needed, bar diameter

Mu (N-mm) Mu for the rounded-up whole numbers of bars
Mu (N-mm) Mu that the calculated exact area of steel
actually needed would provide
The latter is re-calculated for the output steel
so serves as a check of a correct result

E (kg/m) Tot steel wt. for rounded-up whole numbers of bars
E (kg/m) Total steel weight for the calculated exact are of steel actually needed (not a whole no. of bars)
Users can assess the efficiency of the solution by
comparing the two displayed steel weights.

Tension steel
Finds no.of bars needed for the user-specified bar size,
increasing bar size if bar-spacing too close. Does not warn
user if maximum bar diameter reached but tension bars still
too close.

Compression steel
Always included if user enters a compression bar diameter and is
automatically triggered if not entered but small section size
makes it necessary. Adjusts compr. bar diameter for sensible
min. bar spacing (assuming 20mm aggregate size).
Also complies with min. 0.2% rule for compression steel.

Partial optimising
Program chooses the compression bar diameter that gives the least
total steel weight for tens. + compr. steel.

REFERENCES
BS8110:Pt.1:1997
Reynolds and Steadman: Reinforced concrete
designer’s handbook: 10th ed.

John@Wasilewski.co.uk


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP35s Program Four Slings Lift Calculation Jean-Marc Biram (Australia) 2 2,130 12-16-2013, 07:21 PM
Last Post: Jean-Marc Biram (Australia)
  HP35s Calculator Max Rope Tension Program Jean-Marc Biram (Australia) 10 4,262 12-12-2013, 12:03 AM
Last Post: Jean-Marc Biram (Australia)
  HP-80 History, Design and Interesting Facts BShoring 1 1,306 11-30-2013, 08:50 AM
Last Post: Xavier A. (Brazil)
  Trouble entering a HP35s program line Arno 2 1,498 04-05-2013, 06:28 PM
Last Post: Arno
  HP35s scientific calculator GREG W THOMAS 4 1,860 03-22-2013, 06:49 AM
Last Post: Thomas Radtke
  AME Design Port Extender for the HP41 Dane Spillers 2 1,326 03-14-2013, 07:58 PM
Last Post: dane spillers
  HP35s "MEMORY CLEAR" flashes Mark Paris 1 1,448 08-31-2012, 07:35 PM
Last Post: Bart (UK)
  HP35S keyboard Nick R 8 2,731 08-01-2012, 01:27 PM
Last Post: Dave Shaffer (Arizona)
  12C in 14 Masterpieces of Gadget Design Egan Ford 10 3,186 07-31-2012, 10:18 PM
Last Post: Palmer O. Hanson, Jr.
  HP-28--better design? Matt Agajanian 7 2,403 06-27-2012, 09:27 AM
Last Post: David Tellet

Forum Jump: