Brief history.
First install of FC about four or five days ago.
I removed and re-installed FC three days ago
(it crashed w/o message when I pushed a button)
(FC offered to recover at restart, but that failed - and FC would not restart again)
Another crash-after-button-push the next day resulted in a successful recovery.
No crashes since.
Yesterday I installed the CFDof workbench using the addon mgr.
End history.
This is my first attempt to run a CFD analysis with FreeCAD. I'm trying to do the elbow tutorial.
Things seem to work fine 'til I try to build the mesh.
From the CFD Mesh | Status window in the Combo View | Task tab
Code: Select all
0.0: Starting meshing ...
0.0: Exporting mesh region data ...
0.0: Error: OpenFOAM installation path not set and not found
Error is still there.
********************
Here are the things you request with a problem report.
HELP|ABOUT
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13528 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
REPORT VIEW
Code: Select all
Starting meshing ...
Part to mesh: Name --> Pad, Label --> Pad, ShapeType --> Solid
CharacteristicLengthMax: 800.0
ElementDimension: 3D
No mesh regions.
Populating mesh dictionaries in folder c:\users\lb17\appdata\local\temp\meshCase
Traceback (most recent call last):
File "C:\Users\LB17\AppData\Roaming\FreeCAD\Mod\CfdOF\_TaskPanelCfdMesh.py", line 237, in runMeshProcess
cart_mesh.write_mesh_case()
File "C:\Users\LB17\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdMeshTools.py", line 600, in write_mesh_case
'TranslatedFoamPath': CfdTools.translatePath(CfdTools.getFoamDir()),
File "C:\Users\LB17\AppData\Roaming\FreeCAD\Mod\CfdOF\CfdTools.py", line 393, in getFoamDir
raise IOError("OpenFOAM installation path not set and not found")
IOError: OpenFOAM installation path not set and not found
Code: Select all
Python 2.7.14 (default, Jan 16 2018, 16:11:42) [MSC v.1800 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import WebGui
>>> from StartPage import StartPage
>>>
>>> class WebPage(object):
>>> def __init__(self):
>>> self.browser=WebGui.openBrowserWindow('Start page')
>>> self.browser.setHtml(StartPage.handle(), App.getResourceDir() + 'Mod/Start/StartPage/')
>>> def onChange(self, par, reason):
>>> if reason == 'RecentFiles':
>>> self.browser.setHtml(StartPage.handle(), App.getResourceDir() + 'Mod/Start/StartPage/')
>>>
>>> class WebView(object):
>>> def __init__(self):
>>> self.pargrp = FreeCAD.ParamGet('User parameter:BaseApp/Preferences/RecentFiles')
>>> self.webPage = WebPage()
>>> self.pargrp.Attach(self.webPage)
>>> def __del__(self):
>>> self.pargrp.Detach(self.webPage)
>>>
>>> webView=WebView()
>>>
>>> import FreeCAD
>>> FreeCAD.open(u"C:/Users/LB17/Documents/freeCAD_0.17/test_elbow_1.FCStd")
>>> App.setActiveDocument("test_elbow_1")
>>> App.ActiveDocument=App.getDocument("test_elbow_1")
>>> Gui.ActiveDocument=Gui.getDocument("test_elbow_1")
>>>
>>> FreeCAD.ActiveDocument.Pad_Mesh.CharacteristicLengthMax = '800 mm'
>>> FreeCAD.ActiveDocument.Pad_Mesh.MeshUtility = 'gmsh'
>>> FreeCAD.ActiveDocument.Pad_Mesh.ElementDimension = '3D'
>>> FreeCAD.ActiveDocument.Pad_Mesh.CellsBetweenLevels = 3
>>> FreeCAD.ActiveDocument.Pad_Mesh.EdgeRefinement = 0
>>> FreeCAD.ActiveDocument.Pad_Mesh.PointInMesh = {u'y': 0.0, u'x': 0.0, u'z': 0.0}
>>>
>>> FreeCAD.ActiveDocument.Pad_Mesh.CharacteristicLengthMax = '800 mm'
>>> FreeCAD.ActiveDocument.Pad_Mesh.MeshUtility = 'gmsh'
>>> FreeCAD.ActiveDocument.Pad_Mesh.ElementDimension = '3D'
>>> FreeCAD.ActiveDocument.Pad_Mesh.CellsBetweenLevels = 3
>>> FreeCAD.ActiveDocument.Pad_Mesh.EdgeRefinement = 0
>>> FreeCAD.ActiveDocument.Pad_Mesh.PointInMesh = {u'y': 0.0, u'x': 0.0, u'z': 0.0}
>>>