0% found this document useful (0 votes)
103 views

BeamBending HyperMath Tutorial

This document provides instructions for creating a HyperMath script to calculate the bending line and stresses of a cantilever beam. It defines the relevant formulas from beam bending theory, including formulas for bending stress, shear stress, and von Mises stress. It then outlines the steps to create the HyperMath script, including defining variables, creating functions for the stress calculations and bending line, and running the main function to output results. The script allows users to model and visualize the stresses on a cantilever beam under a load.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views

BeamBending HyperMath Tutorial

This document provides instructions for creating a HyperMath script to calculate the bending line and stresses of a cantilever beam. It defines the relevant formulas from beam bending theory, including formulas for bending stress, shear stress, and von Mises stress. It then outlines the steps to create the HyperMath script, including defining variables, creating functions for the stress calculations and bending line, and running the main function to output results. The script allows users to model and visualize the stresses on a cantilever beam under a load.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1

This tutorial was written by Marco Wenzel (Altair / Germany)


Beam-Bending with HyperMath

This tutorial shows how to create a simple program to calculate the bending line and stress of a
cantilever beam.
Mathematical background

Timoschenko beam bending
Referring to Timoschenko a certain ratio between height and lever arm needs to be very much
smaller than one, that you can use the Bernoulli beam bending theory.


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.

You might also like