Hi All,
I have just installed the cfdof module in freecad to start some trials and I have come up with 1 semi major issue and 1 major issue.
1st) when I create a volume (a rectangular section which is 40mmx40mmx2500mm) in part design and create the container for open foam and try to mesh the volume using cfmesh I get the below error.
"0.0: Starting meshing ...
0.0: Exporting mesh region data ...
0.1: Exporting the part surfaces ...
0.2: Running cfMesh ...
0.2: Mesher started
2.3: Meshing exited with error"
and in the freecad report view I get the messege below.
"not a freecad file: .STL
Starting meshing ...
Part to mesh: Name --> Pad, Label --> Pad, ShapeType --> Solid
CharacteristicLengthMax: 50.012798362
ElementDimension: 3D
No mesh regions.
Populating mesh dictionaries in folder C:\meshCase
Successfully wrote meshCase to folder C:\meshCase
Executing: C:\PROGRA~1\BLUECF~1\OPENFO~1.X\..\msys64\usr\bin\bash --login -O expand_aliases -c cd "/c/meshCase" && ./Allmesh
Raw command: [u'C:/Program Files/FreeCAD 0.17/bin\\python.exe', '-u', 'C:\\Users\\Sahil\\AppData\\Roaming\\FreeCAD\\Mod\\CfdOF\\WindowsRunWrapper.py', 'C:\\PROGRA~1\\BLUECF~1\\OPENFO~1.X\\..\\msys64\\usr\\bin\\bash', '--login', '-O', 'expand_aliases', '-c', 'cd "/c/meshCase" && ./Allmesh']
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait...
Environment is now ready. Notes:
- You can change between installed versions by running: ofmenu
- You can change to other predefined versions by running: ofmenuNew
Fem::FemMeshObjectPython: Links go out of the allowed scope"[/quote]
2nd) If i do mesh using gsmsh and go through the steps and get to viewing the results paraview does not work. however i have salome-meca for windows installed with paravis and that works.
" ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819
vtkGenericOpenGLRenderWindow (000002473F057B40): GLEW could not be initialized.
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 819
vtkGenericOpenGLRenderWindow (000002473F057B40): GLEW could not be initialized.
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408
vtkShaderProgram (000002473F63DAB0): 1: #version 120
18: /*=========================================================================
19:
20: Program: Visualization Toolkit
21: Module: vtkPolyDataVS.glsl
22:
23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
24: All rights reserved.
25: See Copyright.txt or
http://www.kitware.com/Copyright.htm for details.
26:
27: This software is distributed WITHOUT ANY WARRANTY; without even
28: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29: PURPOSE. See the above copyright notice for more information.
30:
31: =========================================================================*/
32:
33: attribute vec4 vertexMC;
34:
35: // frag position in VC
36: varying vec4 vertexVCVSOutput;
37:
38: // optional normal declaration
39: //VTK::Normal::Dec
40:
41: // extra lighting parameters
42: //VTK::Light::Dec
43:
44: // Texture coordinates
45: //VTK::TCoord::Dec
46:
47: // material property values
48: //VTK::Color::Dec
49:
50: // clipping plane vars
51: //VTK::Clip::Dec
52:
53: // camera and actor matrix values
54: uniform mat4 MCDCMatrix;
55: uniform mat4 MCVCMatrix;
56:
57: // Apple Bug
58: //VTK::PrimID::Dec
59:
60: // Value raster
61: //VTK::ValuePass::Dec
62:
63: void main()
64: {
65: //VTK::Color::Impl
66:
67: //VTK::Normal::Impl
68:
69: //VTK::TCoord::Impl
70:
71: //VTK::Clip::Impl
72:
73: //VTK::PrimID::Impl
74:
75: vertexVCVSOutput = MCVCMatrix * vertexMC;
76: gl_Position = MCDCMatrix * vertexMC;
77:
78:
79: //VTK::ValuePass::Impl
80:
81: //VTK::Light::Impl
82: }
83:
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409
vtkShaderProgram (000002473F63C5B0):
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861
vtkGenericOpenGLRenderWindow (000002473F057B40): Hardware does not support the number of textures defined.
Generic Warning: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104
vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring.
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 1861
vtkGenericOpenGLRenderWindow (000002473F057B40): Hardware does not support the number of textures defined.
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408
vtkShaderProgram (000002473F63D1F0): 1: #version 120
2: #ifdef GL_ES
3: #if __VERSION__ == 300
4: #define attribute in
5: #define varying out
6: #endif // 300
7: #else // GL_ES
8: #define highp
9: #define mediump
10: #define lowp
11: #if __VERSION__ == 150
12: #define attribute in
13: #define varying out
14: #endif
15: #endif // GL_ES
16:
17: attribute vec4 ndCoordIn;
18: attribute vec2 texCoordIn;
19: varying vec2 texCoord;
20: void main()
21: {
22: gl_Position = ndCoordIn;
23: texCoord = texCoordIn;
24: }
ERROR: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409
vtkShaderProgram (000002473F63D1F0):
Generic Warning: In C:\bbd\2d618e80\build\superbuild\paraview\src\VTK\Rendering\OpenGL2\vtkOpenGLRenderTimer.cxx, line 104
vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring.
versionFunctions: Not supported on OpenGL ES"
details copied from freecad "about tab"
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
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)