Run several simulations ? FEM Freecad

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
Toutanfil
Posts: 4
Joined: Tue Jul 05, 2022 1:59 pm

Run several simulations ? FEM Freecad

Post by Toutanfil »

Hello,

Is it possible to run several simulations one after the other?

With different loads' values or directions ...
It would allow me to run all simulations during the night to process results the following day.

I don't find anything about that online.


OS: Windows 10 Version 2004
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: French/Belgium (fr_BE)
Installed mods:
* A2plus 0.4.56a
* Assembly3 0.11.3
* Assembly4 0.11.12
* fasteners 0.3.40
* Manipulator 1.4.9
* MOOC 2022.4.21
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Run several simulations ? FEM Freecad

Post by NewJoker »

It would be easiest to export the .inp file, copy it multiple times and modify each copy - change keywords so that a different load case is evaluated. Then submit these files using CalculiX executable outside of FreeCAD. You can create a batch file with commands submitting these multiple jobs.
Toutanfil
Posts: 4
Joined: Tue Jul 05, 2022 1:59 pm

Re: Run several simulations ? FEM Freecad

Post by Toutanfil »

Thanks you NewJoker
I will try it.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Run several simulations ? FEM Freecad

Post by bernd »

By python this is very easy to archive in FreeCAD.

In FreeCAD by python:
- set up all your analysis by python or load a saved FreeCAD analysis.
- run the analysis
- save file with results
- clear results
- change parameter
- run analysis
- ...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Run several simulations ? FEM Freecad

Post by bernd »

FEM_Tutorial_Python this may help in this regard ...
Post Reply