Update on the development of the OpenFOAM CFD workbench (CFDOF)
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hi Oliver
I just tried again your updated cfd wb. To do so, I first de-installed the old one and installed the new one with the installer macro.
dependency checker says, everything fine. To create a Gmsh mesh was possible, but to create a region failed. Iǜe got following error message:
Traceback (most recent call last):
File "/home/peter/.FreeCAD/Mod/CfdOF/_TaskPanelCfdMeshRegion.py", line 309, in add_references
import FemSelectionObserver
ImportError: No module named FemSelectionObserver
I`ve tested same in Fem wb. No problem with Gmsh meshing, no problem to create a region by selecting a solid.
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12361 (Git)
Build type: None
Branch: master
Hash: ad457ba96b14a4c0f2a4d1da019c5c9a83bbab40
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
I just tried again your updated cfd wb. To do so, I first de-installed the old one and installed the new one with the installer macro.
dependency checker says, everything fine. To create a Gmsh mesh was possible, but to create a region failed. Iǜe got following error message:
Traceback (most recent call last):
File "/home/peter/.FreeCAD/Mod/CfdOF/_TaskPanelCfdMeshRegion.py", line 309, in add_references
import FemSelectionObserver
ImportError: No module named FemSelectionObserver
I`ve tested same in Fem wb. No problem with Gmsh meshing, no problem to create a region by selecting a solid.
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12361 (Git)
Build type: None
Branch: master
Hash: ad457ba96b14a4c0f2a4d1da019c5c9a83bbab40
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Thanks for reporting. The file we import from FEM workbench was recently moved. Should be working now.wafi wrote: ↑Thu Oct 12, 2017 8:37 am Hi Oliver
I just tried again your updated cfd wb. To do so, I first de-installed the old one and installed the new one with the installer macro.
dependency checker says, everything fine. To create a Gmsh mesh was possible, but to create a region failed. Iǜe got following error message:
Traceback (most recent call last):
File "/home/peter/.FreeCAD/Mod/CfdOF/_TaskPanelCfdMeshRegion.py", line 309, in add_references
import FemSelectionObserver
ImportError: No module named FemSelectionObserver
Please provide all the information requested in this post before reporting problems with CfdOF.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hello Oliver,
is there a limit for the maximum numbers of faces to assign
no-slip walls in the boundary dialog? Below you see the yellow head
consisting of 11 faces, face number 15 is the "eye". In createPatchDict
face 15 was assigned as default with no slip, see the the U-field plot in
paraview (the eye should have the same blue colour U=0 as the rest of
the head, which was defined as no-slip-wall).
Thomas
is there a limit for the maximum numbers of faces to assign
no-slip walls in the boundary dialog? Below you see the yellow head
consisting of 11 faces, face number 15 is the "eye". In createPatchDict
face 15 was assigned as default with no slip, see the the U-field plot in
paraview (the eye should have the same blue colour U=0 as the rest of
the head, which was defined as no-slip-wall).
Thomas
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
That shouldn't be happening. Any chance you can send your file or (ideally) generate a simplified example which exhibits the problem, for debugging?thschrader wrote: ↑Fri Oct 13, 2017 12:47 pm Hello Oliver,
is there a limit for the maximum numbers of faces to assign
no-slip walls in the boundary dialog? Below you see the yellow head
consisting of 11 faces, face number 15 is the "eye". In createPatchDict
face 15 was assigned as default with no slip, see the the U-field plot in
paraview (the eye should have the same blue colour U=0 as the rest of
the head, which was defined as no-slip-wall).
Thomas
model.JPG
createPatchDict.JPG
U_field.JPG
Please provide all the information requested in this post before reporting problems with CfdOF.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
File ready for download on my dropbox, 1.9MB.
https://www.dropbox.com/s/pr463reovjbo5 ... FCStd?dl=0
system:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12373 (Git)
Build type: Release
Branch: master
Hash: 494a9a3f3b573edb887a000dbab831a49d7729db
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Here is a new simulation with the same number of faces (6 for the cube, 11 for the "head")
like the head above. Everything works fine, no default faces in createPatchdict and paraview.
There must be something wrong with the monkeyhead-solid. The head was redesigned with
splines/surface-wb. The original stl has more than 55000 facets. There was (now still is...)
a diskussion about that in the german forum.
https://forum.freecadweb.org/viewtopic.php?f=13&t=24812
Please dont waste your time, sorry for the noise. I will design a better solid.
regards Thomas
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Glad you got it working, but the original case should have worked as well. Using your test case we have identified and fixed the issue, so hopefully you won't run into this again. Thanks for the assistance!thschrader wrote: ↑Sat Oct 14, 2017 2:32 pm Here is a new simulation with the same number of faces (6 for the cube, 11 for the "head")
like the head above. Everything works fine, no default faces in createPatchdict and paraview.
There must be something wrong with the monkeyhead-solid. The head was redesigned with
splines/surface-wb. The original stl has more than 55000 facets. There was (now still is...)
a diskussion about that in the german forum.
https://forum.freecadweb.org/viewtopic.php?f=13&t=24812
Please dont waste your time, sorry for the noise. I will design a better solid.
regards Thomas
Oliver
Please provide all the information requested in this post before reporting problems with CfdOF.
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Oliver, thank you, everything works fine, no more defaultFaces.
Now I am ready for the competition
https://www.youtube.com/watch?v=lBG3qphtofE
(but I think with my little steam-driven laptop I am
not starting from the pole-position...
Now I am ready for the competition
https://www.youtube.com/watch?v=lBG3qphtofE
(but I think with my little steam-driven laptop I am
not starting from the pole-position...
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
@Oliver, short question:
Accepts the cfd-of wb the bluecfd-singlecore version ?
https://sourceforge.net/projects/bluecfd-sc/
https://sourceforge.net/p/bluecfd-sc/wiki/FrontPage/
I know a FC-user running under Win 8.1-32 bit.
regards Thomas
Accepts the cfd-of wb the bluecfd-singlecore version ?
https://sourceforge.net/projects/bluecfd-sc/
https://sourceforge.net/p/bluecfd-sc/wiki/FrontPage/
I know a FC-user running under Win 8.1-32 bit.
regards Thomas
- oliveroxtoby
- Posts: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hi Thomas,thschrader wrote: ↑Tue Oct 31, 2017 12:49 pm @Oliver, short question:
Accepts the cfd-of wb the bluecfd-singlecore version ?
https://sourceforge.net/projects/bluecfd-sc/
https://sourceforge.net/p/bluecfd-sc/wiki/FrontPage/
I know a FC-user running under Win 8.1-32 bit.
regards Thomas
No idea I'm afraid...this is the first I've heard of it. I see it's a deprecated project; it all depends on whether it behaves the same as blueCFD-Core. Only way to find out is to try...
Please provide all the information requested in this post before reporting problems with CfdOF.