Linear Static Analysis of a Cantilever Beam

In this tutorial we will learn how to simulate the effects of a 100 kN/m^2 force on a simple 3D steel cantilever beam.  We will analyse the displacement and stress in the beam.

You will learn:

  • The Basic Simulation Workflow in OnScale Designer
  • How to set up a 3D model
  • How to create a simple geometry
  • How to perform static analysis
  • How to display and post-process your results
What is Static Analysis?: Static Analysis is the most simple type of analysis in that it assumes that your system does not depend on time (i.e. your applied load does not vary with time e.g. force load). The opposite of this is Dynamic Analysis.

Model Definition


Characteristics of the model


Steel Beam of Dimensions 100 mm x 20 mm x 10 mm

Mesh Size:

1 mm

Simulation Iterations (Conjugate Gradient Method):

1000 iterations

Output Results:

-Time History of Z Displacement at [100,10,9.9]

-Data Snapshot of Z Displacement 

-Data Snapshot of Stress XX

Material Data

Name Mild Steel, Generic
Code Name steel
Density 7,900 kg.m-3
Bulk Velocity 5,900 ms-1
Shear Velocity 3,200 ms-1

Why This Simulation?

In real life, steel beams are used in many different structures. It is important to be able to simulate the strain and displacement of these beams when forces are applied to them to ensure they do not buckle.

In this simulation we will apply a 100 kN/m^2 force to the top end of a beam while fixing the opposite end and observe the deformation of the beam.

Step by Step Tutorial in Video

Here's the tutorial recorded in video:

Note: The Designer interface has changed slightly since this video was recorded. The text that follows has been updated to reflect the interface changes.

The procedure is detailed in text after that:

The Simulation Process

Let's go through the step by step tutorial and see how to simulate this Simple Beam in OnScale!

Note: You can click on the images in the tutorial to make them bigger.

Step 1 - Create a New Project

Open up OnScale in Designer Mode. The first step is to create a new project.

  1. In the Home tab of the ribbon, click New Project. The New Project window shows.
  2. Type a name for the project.
  3. If desired, change the save location and/or project file name by clicking  beside Project File.
  4. For Analysis, select Mechanical Static.
  5. Select the Advanced checkbox.
  6. For Distance, select mm.
  7. Click OK.

Step 2 - Add the Materials from the Material DB

The second step is to add the material steel to the project materials to be used for the beam.

  1. Click Project Materials icon to open the Material Database
  2. Expand the 'Metal' materials dropdown 
  3. Add steel (double click to add the material)
  4. Select Done

Step 3 - Create the Beam Geometry

We will make use of the geometric primitives to build the beam. This beam is going to be a 100x20x10 mm cuboid so the cuboid primitive shape can be used. Click on the cuboid primitive in the application's ribbon to create this shape.

  1. Set the Material property of primitive_1 to 'steel'
  2. Set the X End (mm) property to 100
  3. Set the Y End (mm) property to 20
  4. Set the Z End (mm) property to 10
  5. Right click in the workspace and select Reset View to snap the view to the geometry

Note: You can also assign materials by right-clicking the part in the Model Tree and selecting Assign Material.

Step 4 - Define a Static Function

The next step is to add a static forcing function of value 100 kN/m^2.

  1. Expand Forcing Functions in the Model Tree
  2. Click '+' to open the Static Function dialogue
  3. Set Amplitude to 100,000

Step 5 - Choose The Right Mesh Size

It is time to set up the meshing of the model. Since this beam is a simple structure we can mesh coarsely.

  1. Expand Model and Mesh in the Model Tree
  2. Select Configuration
  3. Set Mesh Definition to Coarse
Important: The size of the grid is absolutely critical to get accurate results. It is generally advised to do a "Mesh Convergence" Analysis to select the most appropriate mesh size for your model. Because a Mesh which is too coarse will give you bad results and Mesh which is too fine will increase computation time. "Mesh Convergence" Analysis is done by changing the mesh size from coarse to fine and observing the results which are of interest. This makes it easy to spot where the results start to converge to a stable "accurate" value. Mesh Convergence Studies can be done easily using OnScale as all of these simulations can be run in parallel on the Cloud! 

Step 6 - Create The Force Load

We will now apply a 100 kN force load to the tip of the beam acting in the Z direction. First we must create the load.

  1. In the Model Tree, expand Boundary Conditions and then, beside Loads, click +.
  2. For Creation Mode, select Geometry Interface.
  3. For Geometry, select primitive_1 (steel) or click it in the model.
  4. For Interfacing Item, select side_6 (zmax).
  5. For Load Type, select Force.
  6. Under Scale, for Z type -1.
  7. Click Create Load.

Note: Force loads adds a force to the part of the model. They must be defined using the name of the forcing function to use, the scale factors which represent the magnitude and direction of the force, and interface definition which describes which material interface the load has to be applied to.

Let's now set the interface definition. With load_1 selected in the Model Tree, do the following in the Properties window:

  1. Expand Interface Definition.
  2. For Minimum (mm) > X (mm), type 90.
  3. For Maximum (mm) > X (mm), type 100.
  4. For Maximum (mm) > Y (mm), type 20.
  5. For Maximum (mm) > Z (mm), type 10.

Step 7 - Define the Boundary Conditions 

We need to set the boundary conditions so that one side of the beam is fixed.

  1. Click Domain Boundaries in the Model Tree
  2. Expand X Minimum
  3. Set X Minimum to Fixed
  4. Expand X Maximum
  5. Set X Maximum to Free
  6. Expand Y Minimum
  7. Set Y Minimum to Free
  8. Expand Y Maximum
  9. Set Y Maximum to Free
  10. Expand Z Minimum
  11. Set Z Minimum to Free
  12. Expand Z Maximum
  13. Set Z Maximum to Free


Step 8 - Define the Simulation Output Results

We will now define 3 outputs, a time history of the displacement at the tip of the beam, the Z displacement of the beam and the stress in the beam.

Output Result 1 : Time History Graph of Displacement at (100,10,9.9)

  1. Click '+' to create a new output
  2. Set Output Type to Time History
  3. Set Array Type to Displacement
  4. Set Array Component to Z
  5. Expand Location
  6. Set X Location to 100
  7. Set Y Location to 10
  8. Set Z Location to 9.9

Output Result 2 : Data Snapshot of Z Displacement 

  1. Click '+' to create a new output
  2. Set Output Type to Data Snapshot
  3. Set Array Type to Displacement
  4. Set Array Component to Z

Output Result 3 : Data Snapshot of XX Stress 

  1. Set Output Type to Data Snapshot
  2. Set Array Type to Stress
  3. Set Array Component to XX

Note: In OnScale, you have to define which results you want to see out of this model before it is run. This is done mainly to decrease the amount of memory required and only output what is required and this also decreases the amount of data that is required to be downloaded from the cloud, so choose wisely what you want to get from your model!

Step 9 - Run the Simulation on the Cloud

At this point the model is completely set up and it can now be run on the cloud.

  1. Click Run on Cloud 
  2. Select Estimate 
  3. Select Run

How does the "Estimator" works? The Estimator, like its name indicates, performs one step of the simulation and provides an estimation of the Model Solve Time. This estimation is done with complex algorithms and a lot of simulation experience. This then allows the user to choose how many Cores they wish to use for the simulation. More Cores will speed up the completion time of your model.

What are Core Hours? A Core-Hour is a measurement of computational time. In OnScale, if you run one CPU for one hour, that's one Core-Hour. If you run 1000 CPUs for 1 hour, then that's 1000 Core-Hours. More details here.

How to Get the Simulation Results?

Once the simulation has finished, the results are available in your storage to download.

  1. Click the Storage icon to open the cloud storage
  2. Select your job from the dropdown menu
  3. Expand the simulation folder
  4. CTRL + select the flxdato & flxhst file, right click and select Download Selection



Choose an appropriate save location and close the cloud storage.

Step 10 - Check the Simulation Results

Switch to the Post Processor 

Click this icon to access the Post Processor to analyse simulation results


Note: Post Processor is a mode in OnScale where you can review and process results calculated during simulations.

Open Results 

  1. Click File Explorer
  2. Select the folder icon and choose the directory you saved your results to
  3. Double click the history file to open the field history results
  4. Double click the data out file to open the time data results

Plot Time History (Z Displacement at Tip of Beam)

Note: Time Histories are output types which allow users to monitor the results at a specific point in a model.

  1. Double click 'zdsp' to plot displacement time history
  2. Set Plot Title to 'Z Displacement at Tip of Beam '
  3. Set X-Axis Label to 'Iterations'
  4. Set Y-Axis Label to 'Displacement (m)'

Plot Data Snapshots

Important: Snapshot results are the way in OnScale to obtain the full model data at every node or element at a snapshot in time.


  1. Double click 'sgxx'
  2. Select Deformed Plot icon
  3. Reorientate axis to XZ

Z Displacement

  1. Expand 'Dspl'
  2. Double click 'z'
  3. Select Deformed Plot icon

Try for yourself 

Now that we have introduced you to the tutorial, try have a play around with some of the settings, add some other outputs, or use this model as a starting point of your own.