Hello,
I managed to compile the latest build on a ubuntu 16.04.
Unfortunately Freecad crashes when I try to reproduce the simulation in your video.
It crashes when I try to assign the fluid boundary condition. I get the following messages in the terminal (see below).
I also noticed that all elements of the simulation (mesh, material,..) in the model-tree-view are not grouped. I grouped it manually.
I can create a MechanicalAnalysis (where all elements a grouped) but it seams that the results can not be loaded into Freecad after running calculix. I saved this model and opened it in my local Freecad 0.16 and could run the simulation without problems.
Do you have any clue why the open-foam version crashes while the calculix version does not?
- user@cupboard:~/Downloads/FreecadOF/FreeCAD/bin$ ./FreeCAD
FreeCAD 0.16, Libs: 0.16R6308 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Attach observer 0x1586590
Attach observer 0x13f3bb0
Attach observer 0x13e0a70
Attach observer 0x13b7598
Attach observer 0x1439438
Attach observer 0x1439438
Attach observer 0x1444170
Mod pluginloader InitGui.py starting ...
Could not parse stylesheet of widget 0x21ded00
During initialization the error No module named yaml occurred in /home/user/.FreeCAD/Mod/freecad-pluginloader-localdirs/InitGui.py
Attach observer 0x158c268
Attach observer 0x120aed0
Solver OpenFOAM is created
Running the Python command 'Fem_NewCfdAnalysis' failed:
Traceback (most recent call last):
File "/home/user/Downloads/FreecadOF/FreeCAD/Mod/Fem/CaeAnalysis.py", line 184, in Activated
_CreateCaeAnalysis('OpenFOAM')
File "/home/user/Downloads/FreecadOF/FreeCAD/Mod/Fem/CaeAnalysis.py", line 147, in _CreateCaeAnalysis
FreeCADGui.doCommand("CaeAnalysis.makeCaeSolver('{}')".format(solverName))
File "<string>", line 1, in <module>
File "/home/user/Downloads/FreecadOF/FreeCAD/Mod/Fem/CaeSolver.py", line 57, in makeCaeSolver
obj = _createCaeSolver(solverInfo, analysis)
File "/home/user/Downloads/FreecadOF/FreeCAD/Mod/Fem/CaeSolver.py", line 83, in _createCaeSolver
mod = importlib.import_module(solverInfo["Module"])
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/user/Downloads/FreecadOF/FreeCAD/Mod/Fem/FoamCfdSolver.py", line 35, in <module>
from FoamCaseBuilder import supported_turbulence_models
No module named FoamCaseBuildersh: 1: SMDS_MemoryLimit: not found
Running the Python command 'Fem_NewMaterial' failed:
Traceback (most recent call last):
File "/home/user/Downloads/FreecadOF/FreeCAD/Mod/Fem/CaeAnalysis.py", line 205, in Activated
FreeCADGui.doCommand("Gui.activeDocument().setEdit(App.ActiveDocument.ActiveObject.Name)")
File "<string>", line 1, in <module>
No such object found in document: ''Object::connect: No such slot FemGui::TaskFemFluidBoundary::onBoundaryValueChanged(double) in /home/user/Downloads/FreecadOF/FreeCAD/src/Mod/Fem/Gui/TaskFemFluidBoundary.cpp:137
Object::connect: (sender name: 'spinBoundaryValue')
*** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 18
user@cupboard:~/Downloads/FreecadOF/FreeCAD/bin$