Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerWorkflows/FreeCADBatchFEMTools/README.md
3196 views

FreeCADBatchFEMTools - A library for using FreeCAD for FEM preprocessing in batch mode

FreeCADBatchFEMTools.py is a set of tools for handling batch type preprocessing for Elmer Solver. The library was written by Trafotek Oy in collaboration with VTT Technical Research Centre of Finland Ltd supported by Business Finland Oy.

Features

  • Intended for batch mode usage (automatic preprocessing)

  • Creating mesh objects for FreeCAD

  • Manipulating the mesh sizes of solids

  • Creating meshes using Gmsh

  • Running ElmerGrid and exporting mesh for ElmerSolver

  • Selecting and naming bodies and boundaries for ElmerSolver

Requirements

  • FreeCAD 0.19 (tested with Libs: 0.19R18738 (Git))

  • Gmsh 3

  • ElmerGrid (Elmer 8.3)

Tested FreeCAD versions

  • freecad-daily (20. November 2019)

Tests

Tests are located at ./tests folder.

Notes

  • To run scripts in batch mode that use FreeCADBatchFEMTools, use: FreeCADc FreeCAD -c PWD/script_name.py

Authors

  • Eelis Takala, Trafotek Oy

  • Janne Keranen, VTT Technical Research Centre of Finland Ltd

  • Sami Rannikko, Trafotek Oy