bernd wrote: ↑
Wed Sep 11, 2019 12:24 pm
in the regard of a new solver ...
Before a new solver runs with FreeCAD FEM the new solver needs to be implemented in FreeCAD FEM. As an example have a look at the implementation of oofem solver in FreeCAD FEM.
https://github.com/berndhahnebach/FreeC ... s/femoofem
mainly what FreeCAD FEM does:
- writes an solver input file
- executes the solver
- reads the results
The biggest part is the input file. Since every solver has its own input file format this usually needs to be implemented.
This is exactly what I'm doing. FreeCAD writes the input file for MBDyn, execute MBDyn, and then simply read the results to animate the model. The beauty of this is that all the information, such as center of mass of each body, inertia moments, positions and orientations, all this stuff (needed for the input file) can be obtained from the FreeCAD model. This saves the user so much work in writing input files manually. Also, being able to visualize the results with just a click, and get an animation and plots, is fantastically handy. What the people using MBDyn normally do is use Matlab to program an animation and/or plot results. FreeCAD can do this without programing, much easier and faster.