Required field
Required field
Required field

# How to Learn SimScale in 30 Days

How to Learn SimScale in 30 Days

Only 30 days have passed since I joined the SimScale team. As a CAE sales engineer, my primary focus was to learn how to use the SimScale simulation platform with all of its functionalities. It seemed like a long way to go back then, but now I’m starting to feel like I’m on my way to becoming an expert. So here are some tips on how to learn SimScale in 30 days:

## How to Learn SimScaleGetting Started with SimScale

My learning process started by completing the tutorials available on the website. I started with the basics: Stress Analysis of a Connecting Rod. This helped me learn how to set up a simulation on SimScale and familiarize myself with the user interface and capabilities of this 3D simulation software. Following every step, I successfully completed Tutorial 1.

If you are new to the SimScale platform like I was, you can always search through the tutorials available on the SimScale website by going to the Resources tab and clicking on Documentation and then Tutorials. It will bring you here.

## How to Learn SimScaleHow to Learn SimScale While Performing My First Simulation

After reading the documentation and completing all of the tutorials, it was time to attempt my first simulation.

I started by uploading the CAD geometry: a piston-crank assembly. The file was a .STEP file that contained three solid bodies: the piston, the connecting rod, and the crankshaft.

When I meshed the geometry, things became more complicated. I started with the default mesh settings using the type: fully automatic tetrahedralization, a mesh order of 1, a fineness of 2 – Coarse, and 1 core for processing.

What followed was an error message:

So, I checked the mesh operations event log:

## How to Learn SimScaleMeshing

The three possible issues that needed to be considered were:

1. My CAD geometry was not clean, meaning that there were potentially small gaps, extraneous surfaces, or very fine details in the CAD geometry that could not be resolved
3. The CAD geometry file format was incompatible

Since the CAD geometry was uploaded as a .STEP file (the recommended file type), I was able to rule out that issue.

Next, I tried adjusting the meshing parameters to generate a finer mesh using both fully automatic tetrahedralization and parameterized tetrahedralization types. However, each iteration resulted in the same error meshing.

That meant that the problem was with my CAD geometry. It appeared to be clean, but upon closer inspection, there were overlapping surfaces on the pins’ contacts at both ends of the connecting rod.

After removing these extraneous surfaces, the CAD geometry meshed successfully, and I was able to move forward with the simulation.

## How to Learn SimScaleMesh Refinement

In my third week, I learned how important the quality of the mesh is for a successful simulation, as it has a great influence on the solver convergence and final simulation results.

A common misconception when generating a mesh is that the finer the mesh, the better the results. While finer meshes can give a higher accuracy, they are also more expensive, requiring increased memory and CPU time. Thus, the best mesh is one that has been constructed with an understanding of the physics of the problem in mind and can accurately capture the physical behavior of the model in a computationally efficient manner.

## How to Learn SimScaleA SimScale Example

Continuing with the piston-crank assembly, a coarse mesh and a fine mesh were generated using the platform’s ‘fully automatic tetrahedralization’ mesh operation type.

The coarse mesh is sufficient for the volumes, but it is too coarse near the contact regions. The fine mesh has the necessary detail in these contact regions but it is unnecessarily fine on the volumes. Knowing this, I tried to improve it by making manual refinements.

As a general rule, a coarse mesh can be used in regions of low stress and strain. Near corners, concentrated loads or stresses, areas of contact, and in locations with an abrupt change in material properties, a finer discretization is required to fully capture the physical behavior.

There is a mesh operation type called ‘tetrahedralization with refinements’ that allows the user to add manual refinement zones. Maintaining a coarser mesh on the volumes while refining the mesh size at the contact zones produced the following result:

This refined mesh integrates the best qualities of the previous coarse and fine meshes.

## How to Learn SimScalePost-Processing Animation

The simulation run was successful and therefore I could produce an animation in the post-processing software called ParaView.

## How to Learn SimScaleAluminum Carabiner Simulation and Plastic Behavior

For my latest simulation, I was inspired by one of my favorite hobbies: rock climbing. Carabiners are an essential piece of equipment for the sport and I thought it would be interesting to make a static analysis simulation.

## How to Learn SimScalePlastic Material Behavior

An important topic that I have not discussed yet is material plasticity. For solid mechanics, the default setting for material behavior is ‘linear elastic.’ The linear elastic assumption is valid when there are small deformations (strains). When stresses are high enough to induce yielding in the material, there is a transition from linear elastic behavior to plastic behavior due to non-reversible deformations in the material. The stress-strain plot below shows this principle:

A rock climbing carabiner could be subject to high loads and large deformations. Thus, plastic material behavior should be considered in the simulation.

## How to Learn SimScaleDefining the Stress-Strain Curve

Stress-strain curves are widely available online and are typically presented in graphical form. For aluminum 6061-T6 (red), the stress-strain curve is as follows:

On the SimScale platform, the values from the material stress-strain curve must be extracted and entered into a spreadsheet (.csv file) with the strain values in column 1 and corresponding stress values in column 2.

Things to keep in mind:

• There should be enough values in the spreadsheet to accurately represent the stress-strain curve
• The strains have to be strictly increasing
• The slope of the stress-strain curve between 0 and yielding (elastic region) must be larger than all of the slopes between successive points

## How to Learn SimScaleHow to Do This for Your SimScale Simulation?

In the simulation designer, you can define materials and assign volumes to them. Many commonly used materials are already predefined and can be imported from the material library (available at the bottom of the Material’s window).

When the material behavior is set to ‘Plastic’, the option to ‘Define the value via a table’ will appear. Under the ‘Source’ parameter, you can upload a spreadsheet and define the desired stress-strain curve for the defined material.

The plastic material behavior has been fully defined and you can continue with the rest of the simulation.

## How to Learn SimScaleConclusion

My first 30 days at SimScale have come and gone. It has been a busy time and I feel that I have learned a lot.

I really hope that my tips will help you guys get familiarized with the platform. To make sure I give you a starting point, here’s a short list that was of great help for me:

• Tutorials: The best way to get started with the SimScale platform. Each tutorial covers a different analysis type and allows the user to quickly familiarize themselves with the user interface and platform functionality.
• Encountering Mesh Errors: If you run into this type of error, check the CAD geometry file to make sure that it is compatible with the system requirements (.IGES, .STEP, .BREP, and .STL are all supported); check that the meshing parameters are reasonable; check that the CAD geometry is clean (free of small gaps, extraneous surfaces, and unnecessary details).
• Manual Refinements: As a general rule, a coarse mesh can be used in regions of low stress and strain. Near corners, concentrated loads or stresses, areas of contact, and in locations with abrupt change in material properties, a finer discretization will improve the accuracy of the solution
• Post-Processing: Viewing your simulation results can be done directly on the SimScale platform (Beta version) or via a third-party post-processing software, such as ParaView.
• Plastic Material Behavior: For materials subjected to high loads and deformation, the plastic behavior must be considered. Values can be extracted from a material stress-strain curve and uploaded in the Material window as a .csv file.

I hope this article helped has given you a better idea of how to learn SimScale. Good luck with your projects and I’m really excited to see them in the Public Projects Library. As for me, now I feel ready to face more complex simulations!

To discover all the simulation features provided by SimScale, download the document below.