BeamBending HyperMath Tutorial
BeamBending HyperMath Tutorial
In our program we will add a warning function if r>0.05 to avoid inaccuracy.
Bending- and shear stress at x=0
e
F
x
z
2
Shear stress
Von Mises Stress
The von Mises Stress for that state of stress is defined as:
Bending line
E
HyperMath Script
Open HyperMath and click on new file in the toolbar. This opens a new HyperMath script file.
Now we create the code for our program in the code editor.
Define global variables
Create a Timoschenko warning function
3
Create a function for bending stress
Create a function for shear stress
Create a function for von Mises stress
4
Create a function for the bending line
Create the main function
Run the script
Add a final line to your script or type the line into the command window.
5
This runs the calculation with b=40mm, h=200mm, l=1500mm, F=50000N. Save your script and
click on evaluate file in the toolbar to run the script. If you typed it into the command window
just press enter.
View the results
Now you can look at the line plot and the contour plot of the cross section.