Professional Documents
Culture Documents
Beam49 User's Manual
Beam49 User's Manual
Contents
Overview Introduction
Installing the Library Accessing the Library Deleting the Library Input 1 1 1 2 3 4 5 5 6 6 6 6 6 7 10 14 15 16 17 17 17 17 1
Commands
RVM Y PLOTD BROWS QUERY MAX EXTRM PURGE About
Example Problems
Example 1: Constant EI Beam Example 2: Variable EI Beam
Appendices
A B C D E F G Symbols Sign Convention Output Browser Operations Global Variables Assumptions & Limitations Acknowledgments About Beam49
Beam49
Contents
Overview
Beam49 is a beam analysis program for the HP 49G and HP 49G+ 1 calculators. It computes the reactions at the supports and shear, bending moment, slope, and deflection at a user-specified number of increments. The program can be executed from any directory. Use any consistent units; results are in terms of the same length and force units as the input. Cantilever members may have the support located at either the left or the right end. The following support types are permitted for beams with two or more supports: all supports pinned, left end fixed, or both ends fixed. Overhangs are allowed. The modulus of elasticity and/or moment of inertia may be variable. The loading may include any combination of concentrated loads; applied moments; and uniform, linear, and nonlinear distributed loads. Redundant reactions and the slope and deflection are computed by the moment-area method. Results are rounded to seven significant digits.
Introduction
Installing the Library 1. Backup your calculator data. 2. Download the library to the HP 49. 3. Recall the library to the stack. 4. Purge the variable that contains the library. 5. Install the library into port 0 or 1. For example, execute 1 STO to store it in port 1. 6. Press ON F3 simultaneously to warmstart the calculator and attach the library. Accessing the Library Press
LIB
Alternatively, you can assign the program 1707 MENU to a user key. Press that user key to display the Beam49 menu.
NXT toggles between the two pages of the menu.
Deleting the Library 1. Enter :n:1707, where n is the port number. 2. Press TOOL PURGE to purge the library from port memory.
Beam49
Introduction
Input The RVM program computes the reactions at the supports and the shear and bending moment at a user-specified number of increments. The beam length, number of increments, support locations, and at least one load must be entered. For a statically indeterminate beam of variable EI, the variable E and/or variable I data are also required for calculating the reactions. The Y program uses the bending moment data generated by RVM to compute the slope and deflection at each increment. Unless previously defined, the following input is required: flexural rigidity type, modulus of elasticity and moment of inertia. A command line prompt or an input form is used to enter one to three values. Anything that evaluates to a real number, such as a variable name, may be entered in the command line. ON clears the command line or cancels if the command line is empty.
CANCEL
Input data are entered on the stack when an indefinite number of arguments are allowedfor support locations, loads, variable E data, and variable I data. Enter any number of support locations in any order. For all other stack input, enter the data in the sequence requested by the prompt. For example, at the X_M? prompt any number of applied moments may be entered in any order, but each moment M must be immediately preceded by its location X. Similarly, the prompt X1_X2_W? indicates that any number of uniform and/or nonlinear distributed loads may be entered in any order, but each load W must be immediately preceded by the start and end locations (X1 and X2 in either order). The menu keys activated for stack input are described in the following table: Stack Input Menu Key
OVER
L
?
Description Executes the OVER command. OVER executes PICK3 and Note: executes SWAP and Redraws the prompt. Displays some help text. Prompts to cancel program execution. CANCL cancels without confirmation. Resumes program execution (same as
CONT
HELP
CANCL
OK
ON ).
An error message is displayed for any invalid input and the user is required to correct the problem before continuing.
Beam49
Introduction
Commands
RVM
Computes the reactions, vertical shear, and bending moment. Input: Enter the length L and number of increments N. Results are computed at an increment of L N .
Input the support locations. If the beam has two or more supports and the left end is supported, select the support type. If the beam is statically indeterminate, select the flexural rigidity type.
If EI is constant, E and I data are not required for calculating the reactions. If E is variable, input the variable E data. If I is variable, input the variable I data.
Input any concentrated loads. Input any applied moments. Input any uniform and/or nonlinear distributed loads. Input any linear distributed loads.
Remarks: Once the loads have been entered, any existing results in the current directory will be overwritten. To save current results and run RVM for another problem, switch to a different directory.
The program calculates the reactions, then superposes the effect of each load and reaction to compute the shear and bending moment at N increments. Reactions for statically indeterminate members are determined by the moment-area method.
Number of increments: A greater number of increments will generally produce results that are more accurateup to a point. For more increments, however, the program generates more data. Thus, more time and memory are required to compute and store the results. Regardless of the value entered, the program always uses at least twenty and no more than one thousand increments.
If AutoAdjust N is checked, the program may adjust the number of increments to a value close to the user-entered number, but one that produces a reasonable increment. It will also attempt to find a number that results in most of the entered locations positioned a whole number of increments from either end. In addition, the program will limit the number of increments in order to reserve enough RAM so that the Y program can be executed subsequently without running out of memory. If AutoAdjust N is unchecked, the user-entered value is not altered (provided 20 N 1000).
Beam49
Commands
Y
Computes the slope and deflection.
Input:
Constant EI Enter the modulus of elasticity and moment of inertia. Variable I Enter the modulus of elasticity. If the beam is statically determinate, input the variable I data. Variable E If the beam is statically determinate, input the variable E data. Enter the moment of inertia. Variable E & I (statically determinate beam) Input the variable E data. Input the variable I data. For statically indeterminate beams of variable EI, the program uses the variable E and/or variable I data that were used for computing the reactions.
Remarks: Before running Y, the RVM program must be executed to compute the bending moment M data. Y calculates M EI at each increment, then integrates the data to compute the slope and deflection at each increment. Any current slope and deflection data are overwritten.
Beam49
Commands
PLOTD
Plots the selected diagram. Input: Select a diagram.
F1 toggles draw the supports on SUP
or off
SUP .
Remarks: activates the graphics cursor. Press ON to return to the stack display.
CANCEL
Example plots:
BROWS
Displays the specified results. Input: Optional: Enter specific locations on the stack before pressing BROWS . Select the results that you want to display.
F1 toggles slope output to degrees DEG or radians RAD .
Input the range (unless locations were entered on the stack or REACTIONS was selected). Enter the start location X1, end location X2, and increment X. Press ENTER with the default values to display all the data. resets the current field and the default values. resets all fields to
Remarks: Results are displayed in the output browser (see appendix C). To display results for a few specific points, enter the locations on the stack before executing BROWS. Objects on the stack that are invalid locations, such as tagged numbers, are ignored. Two values are returned at discontinuitiesthe left- and right-hand limits. When the diagram is constant on some interval and the default minimum increment is used, the interval and the value for that interval are displayed, as shown in the following example. Example: PLOTD and BROWS output for a shear diagram.
Beam49
Commands
QUERY
Displays all current results for one location.
Input: Enter a location. F1 toggles slope output to degrees DEG or radians RAD . Press ON to cancel.
CANCEL
Remarks: The location is rounded to the nearest increment. Results are displayed in the output browser. Example: For the shear diagram shown on the previous page, shear is undefined at X=120. Thus, the left- and right-hand limits are displayed for shear: V is the shear to the left of the discontinuity and V is the shear to the right of the discontinuity.
MAX
Returns the maximum or minimum valuethe one of greater absolute value or the positive value when the maximum and minimum are of equal magnitude.
Input:
Optional: Enter start and end locations (X1 and X2) before pressing MAX . Select from the list of current results.
Remarks: When there are valid locations on stack levels 1 and 2, the max value between those two points is returned to the stack, tagged with X1XX2 Zmax, where Z is the result symbol.
Otherwise, the stack is ignored and the max value over the entire length of the beam is returned, tagged with Zmax. EVAL removes the tag.
EXTRM
Displays the maximum and minimum values and their locations.
Input: Select from the list of current results. Remarks: Results are displayed in the output browser as Location: Value.
PURGE
Purges Beam49 data from the current directory.
Input:
YES
or
YES
NO
Remarks:
purges DAT, BDat, and the plot parameter variables (PAR and PPAR ).
About
Displays the software version and copyright message until any key is pressed.
Beam49
Commands
Example Problems
Example 1: Constant EI Beam
y 0.125 kips/in 16 kips 0.25 kips/in 150 kip-in
M1
0.125 kips/in 16 kips 0.25 kips/in 150 kip-in x 60 in 120 in 160 in 200 in 240 in
R1
R2
R3
8 kips
FBD
2) Enter 240 for the length L and a value for the number of increments N. Press ENTER or
OK .
OK
Beam49
6) Press
YES
7) Input the location and load for each of the two concentrated loads.
60 SPC 16 SPC 240 SPC 8 OK
8) Press
YES
OK
10) Press
YES
11) Input the start location, end location, and uniform load value.
60 SPC 160 SPC .25
OK
12) Press
YES
OK
OK
Beam49
Display the shear and bending moment results for the midpoint X = L 2 .
QUERY
L
ENTER
Compute the slope and deflection for a beam of E = 29000 ksi and I = 127 in4. 1) Press
Y
.
ENTER 127 ENTER
Press ENTER .
QUERY 70 ENTER
Recalculate the slope and deflection for a beam of E = 10000 ksi and I = 154 in4. 1)
Y
154 ENTER
Beam49
M1
M2
L= 6 m
6m
R1 R2
FBD
E = 200 GPa E = 69 GPa 0.3 m 0.125 m 0.3 m
1.5 m 2m 4m 4.5 m 6m
0.1 m
d=
0 1.5 2 4 4.5
Beam49
210 8 69 10 6 210 8
K (.125) 3
' K (.125 + .0875 X)^ 3'
K=
0.1 = 8.33333333333E 3 12
X = Distance from X1
10
For this example problem, store the moment of inertia data prior to executing RVM as follows: 1. Store the value 8.33333333333E3 in the variable K. 2. Key in the following program containing the start location and moment of inertia for each of the three sections:
0. ' K (.3 .0875 X) ^3.' 2. K .125 3. ^ 4. ' K (.125 + .0875 X)^ 3.'
Checksum: # 1E65h 3. Store the program in the variable I. Compute the reactions, shear and bending moment. 1) Press
RVM .
2) Enter 6 for the length L and a value for the number of increments N. Press ENTER or
OK .
Beam49
11
6) Input the start location X1 and modulus of elasticity E for each of the three material sections.
0 SPC 2 EEX 8 SPC 1.5 SPC 69 EEX 6 SPC 4.5 SPC 2 EEX 8
.
OK
I ENTER
OK
NO
at the Concentrated Loads? prompt. at the Applied Moments? prompt. at the Uniform or Nonlinear Distributed Loads? prompt.
L
NO YES
11) Input the load data. Enter the start and end locations: 0 Assemble the load expression:
40 +/
SPC
SIN
OK
12) Press
NO
Beam49
12
Find the locations where the bending moment is zero: Plot the diagram, then press to enter the PICTURE environment and activate the graphics cursor. Press + or (X,Y) to turn on the cursor coordinate display and use the arrow keys to move the cursor. The moment diagram crosses the x-axis at approximately X = 2.1 m and X = 3.9 m. Press ON to exit the PICTURE environment.
CANCEL
BROWS
OK
Press
YES
to compute the slope and deflection, then plot the diagrams with PLOTD.
Display the maximum and minimum slope in degrees: Press NXT to display the second menu page. Press EXTRM and highlight SLOPE. If necessary, press F1 to toggle slope output to degrees DEG .
OK
MAX
Beam49
13
A
E I L M N P R1, R2, V W W1 W2 X
Symbols
Modulus of elasticity Moment of inertia Length of the beam Applied moment; bending moment Number of increments Concentrated load Force reactions at the supports Vertical shear Uniform or nonlinear distributed load Linear distributed load start value Linear distributed load end value Locationdistance from the left end of the beam. X is also used as the independent variable in algebraic expressions for nonlinear distributed loads and continuously varying moments of inertia, where: X = Distance from the start location of the distributed load or varying cross section Start location End location Increment Deflection Slope in radians Slope in degrees
X1 X2
X
Beam49
Appendix A: Symbols
14
B
Symbol
Sign Convention
Description
Sign Convention
Input: P M W, W1 & W2 Output: V M Shear Bending moment Slope (radians or degrees) Deflection +V = +M = + = Counterclockwise rotation +Y = Upward
Reaction Notation And Sign Convention
+M1 +M1
or
Y
Support Type
Cantilever
+R1 +R1
+M1
+M1
+M4
Beam49
15
The output browser is a multi-pick choose box similar to the built-in browser, but with a few additional active keys. This browser uses the current system font; system flag 90 (choose boxes in minifont) has no effect. The active keys are described in following table:
Key
F1
Description
The label of the left-hand menu key indicates the current number display format (STD, FIX 4, SCI 5, etc.). Press the key repeatedly to cycle the display mode from FIX to SCI to ENG to STD and back to FIX. F1 sets the display mode to STD. Toggles the checkmark on the highlighted line. CHK checks all and CHK unchecks all. Exits without copying anything to the stack. Exits and copies the checked values (or the highlighted value) to the stack. Moves the highlight bar up one line. At the top line, wraps around to the bottom line. Press and hold to scroll up. jumps to the middle line and jumps to the top line. Moves up one page. Moves the highlight bar down one line. At the bottom line, wraps around to the top line. Press and hold to scroll down. jumps to the middle line and jumps to the bottom line. Moves down one page.
CHK
CANCL OK
0 thru 6
+/-
Set the number of decimal places or significant digits displayed. Same as F1 . Same as CANCL . Same as
OK
ON turns the calculator off without exiting.
OFF
ON
CANCEL
ENTER
Beam49
16
D Global Variables
The program stores output data in two variables: DAT (real array) and BDat (library data). These variables may be copied or moved from one directory to another, but both variables must reside in the current directory and they must contain data for the same beam problem or else you will get an error message.
Acknowledgments
Thanks to Eric Rechlin for providing hpcalc.org and to the following people for their indispensable programming tools: Sebastien Carlier and Christoph Gieelink for Emu48 Mika Heiskanen and Jan Brittenson for the Jazz debugger Jurjen Bos for Nosy Pierre Tardy for CQIF? Eduardo Kalinowski and Carsten Dominik for Programming In System RPL
G About Beam49
Version 1.1 Library ID 1707 Size 25417 bytes Language System RPL
Beam49
Appendices D-G
17