Simple Beam

Follow

In this tutorial we will learn how to simulate the effects of a 1N force on a simple 3D beam.  The outputs analysed will be the displacement and stress in the beam.

 final.png

Final Model

New Project 

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

newprjct.png

  1. Click New Project to open the New Project dialogue
  2. Enter Model Name
  3. Change working units to mm 
  4. Click ... to choose a directory to save the project to
  5. Click OK to create the project.

Materials

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

mats.png

  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

Primitives

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.

 

prim1.png

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

Static Function

The next step is to add a static forcing function of value 1N.

static_function.png

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

Mesh

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

Create a New Load 

We will now apply a 1N force load to the tip of the beam acting in the -ve Z direction. First we must create the load.

 createload.png

  1. Expand Boundary Conditions in the Model Tree
  2. Click '+' to open the load dialogue
  3. Set Creation Mode to be Geometry Interface
  4. Set Geometry to primitive_1
  5. Set Interfacing Item to side_6 (zmax)
  6. Select Create Load

Edit Load Properties 

Now that our load has been defined, we can set it's properties.

  1. Set Load Type to Force
  2. Set Forcing Function to staticfunc_1
  3. Expand Scale
  4. Set Z Scale to -1
  5. Expand Interface Definition
  6. Expand Minimum
  7. Set X to 90
  8. Set Y to 0
  9. Set Z to 10

Boundary Conditions 

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

boun.png

  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

Analysis

We will now choose to do a static analysis on the beam.

analysis.png 

  1. Click Analysis 
  2. Change Analysis Type to Static

Outputs

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 1

out1.png

  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 to 100
  7. Set Y to 10
  8. Set Z to 9.9

Output 2

out2.png

  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 3

out3.png

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

Run Model on Cloud

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

roc.png

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

Downloading Simulation Results 

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

download.png

  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.

Switch to the Post Processor  

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

Open Results 

  fileex.png

  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 

timehist.png

  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'

Plot Data Snapshots

Stress

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

Z Displacement

zdsp.png

  1. Expand 'Dspl'
  2. Double click 'z'
  3. Select Deformed Plot icon
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.