New solver object for handling ElmerFEM execution in FEM-workbench
This page is dedicated to the description of the Google Summer of Code 2017 project idea regarding accessing of ElmerFEM from within FreeCAD.
This GSoC project aims at building a first bridge between FreeCAD and ElmerFEM. The intension is to use FreeCAD for geometrical modeling and basic preprocessing and ElmerFEM as external solver, since the graphical user interface of ElmerFEM called ElmerGUI is no more active developed.
A new solver object has to be implemented based on existing objects. The execution of ElmerSolver is handled by this new solver-object from within FreeCAD. All solver-specific information is provided by an externally generated solver-input-file which has to be selected with a proper graphical user interface. The definition of boundaries and domains inside the model is done by using existing FEMMesh-Groups while presenting the user supportive information extracted from the provided solver-input-file.
- Get familiar with FreeCAD, how 3D-models are built up, and how elements of this models can be access via python-console.
- Get familiar with ElmerSolver, ElmerGUI to set up basic simulation models and solver-input-files.
- The student has to be familiar with pre- and postprocessing related to numeric simulations.
- Existing solver objects for other solvers like CalculiX have to be adopted to handle Elmer-specific settings.
- All mesh related definitions is done using existing tools in FreeCAD’s FEM-workbench.
- The evaluation of the simulation output in done in Paraview.
- Basic GUI-elements have to be introduced to handle the externally provided solver-input-file for running the simulation with ElmerSolver.
- A easy to use solver-object and self-explaining dialogs for handling all external Elmer-related processes
- Test runs ensuring the functionality
- Documentation and tutorials for the workflow
Since the integration of external solvers is a huge area in constant evolution, the work done in this GSoC will only cover a small part of it. But if the bases are done right, extending them will be easy and could develop very far.
- Programming language Python
- Good understanding and use of APIs from FreeCAD, and PyQt as well as the structure of solver-input-files for ElmerSolver
- Knowledge of 3D modeling, basics of numerics simulations and computational geometry is a plus