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
-
- Veteran
- Posts: 3158
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Just downloaded the latest 0.17.12539 dev-snapshot.
When loading an existing case, the InitialiseFields dialog
is inactive. With my "old" 0.17.12431 everything works fine.
(@Oliver: the loaded case is the "damBreak"-tutorial from the
openFoam user guide. With the cfd-of wb you only need 15 min to
generate the case... paraview-results below calculated with 0.17.12431)
Another wish: everytime when using a new dev-snapshot, I manually (must)
copy the gnuplot-folder/gnuplot...egg-info file from my previous version into
the bin/lib/site-packages folder of the new FC-version. Please add
the gnuplot files as a standard to FC, thanks.
System used:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12539 (Git)
Build type: Release
Branch: master
Hash: adc24f8c8ffb81ce5b85af9ac6ed67054ae0030d
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)
When loading an existing case, the InitialiseFields dialog
is inactive. With my "old" 0.17.12431 everything works fine.
(@Oliver: the loaded case is the "damBreak"-tutorial from the
openFoam user guide. With the cfd-of wb you only need 15 min to
generate the case... paraview-results below calculated with 0.17.12431)
Another wish: everytime when using a new dev-snapshot, I manually (must)
copy the gnuplot-folder/gnuplot...egg-info file from my previous version into
the bin/lib/site-packages folder of the new FC-version. Please add
the gnuplot files as a standard to FC, thanks.
System used:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12539 (Git)
Build type: Release
Branch: master
Hash: adc24f8c8ffb81ce5b85af9ac6ed67054ae0030d
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)
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hi Thomas, nice pics.thschrader wrote: ↑Thu Nov 02, 2017 5:17 pm the loaded case is the "damBreak"-tutorial from the
openFoam user guide.
In case you still have all your 'transfered'/rebuilt openFoam-tutorial- models, you could post it here or in the wiki!?
BR,
Wilfried
-
- Veteran
- Posts: 3158
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hi Wilfried,HoWil wrote: ↑Fri Nov 03, 2017 8:09 pmHi Thomas, nice pics.thschrader wrote: ↑Thu Nov 02, 2017 5:17 pm the loaded case is the "damBreak"-tutorial from the
openFoam user guide.
In case you still have all your 'transfered'/rebuilt openFoam-tutorial- models, you could post it here or in the wiki!?
BR,
Wilfried
here are two cases lower than 500KB.
damBreak uses the same parameters like in the openfoam user guide.
In TankFlooding the g-vector points in -z direction. CFD-OF uses the -y direction as default,
after writing the case, edit the g-dict and overwrite the vector.
In both cases you must edit (after case writing) the transportProperties-dict, the nu/sigma-values are
generated with zeros(?). Then run solver. See pics below. I hope it will work...
It is not necessary to use the parallel-run option.
I used the 0.17.12431, see error in 0.17.12539 from post above.
Regards Thomas
-
- Veteran
- Posts: 3158
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
@HoWil:
be patient, even with a very coarse mesh the damBreak-case needs more
than 2000 sec runtime..(1 sec simulation, parallel run )
be patient, even with a very coarse mesh the damBreak-case needs more
than 2000 sec runtime..(1 sec simulation, parallel run )
- oliveroxtoby
- Posts: 840
- 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. Should be fixed now. 12539 or later is now required.thschrader wrote: ↑Thu Nov 02, 2017 5:17 pm Just downloaded the latest 0.17.12539 dev-snapshot.
When loading an existing case, the InitialiseFields dialog
is inactive. With my "old" 0.17.12431 everything works fine.
Glad to hear!thschrader wrote: (@Oliver: the loaded case is the "damBreak"-tutorial from the
openFoam user guide. With the cfd-of wb you only need 15 min to
generate the case... paraview-results below calculated with 0.17.12431)
You should be able to use the "Download / install gnuplot.py" button on the CFD preferences page to do this.thschrader wrote: Another wish: everytime when using a new dev-snapshot, I manually (must)
copy the gnuplot-folder/gnuplot...egg-info file from my previous version into
the bin/lib/site-packages folder of the new FC-version.
Not my call to make. It may be better to move to matplotlib which is already included in FreeCAD. Please consider helping out - see some discussion near the end of the thread https://forum.freecadweb.org/viewtopic. ... 6&start=60thschrader wrote: Please add
the gnuplot files as a standard to FC, thanks.
Please provide all the information requested in this post before reporting problems with CfdOF.
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hi Oliver
seems to be new problems in the meshing module, I not able to mesh and I getting following failure message:
Running the Python command 'Cfd_MeshCartFromShape' failed:
Traceback (most recent call last):
File "/home/peter/.FreeCAD/Mod/CfdOF/_CommandCfdMeshCartFromShape.py", line 67, in Activated
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject((App.ActiveDocument.ActiveObject)")
('unexpected EOF while parsing', ('<string>', 1, 71, 'FemGui.getActiveAnalysis().addObject((App.ActiveDocument.ActiveObject)\n'))
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12570 (Git)
Build type: None
Branch: master
Hash: b01c503c2cb37b2ed4fb848b0f495f599a7b179f
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)
seems to be new problems in the meshing module, I not able to mesh and I getting following failure message:
Running the Python command 'Cfd_MeshCartFromShape' failed:
Traceback (most recent call last):
File "/home/peter/.FreeCAD/Mod/CfdOF/_CommandCfdMeshCartFromShape.py", line 67, in Activated
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject((App.ActiveDocument.ActiveObject)")
('unexpected EOF while parsing', ('<string>', 1, 71, 'FemGui.getActiveAnalysis().addObject((App.ActiveDocument.ActiveObject)\n'))
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12570 (Git)
Build type: None
Branch: master
Hash: b01c503c2cb37b2ed4fb848b0f495f599a7b179f
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: 840
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
My apologies - that one wasn't picked up by our tests. Should be fixed.wafi wrote: ↑Sat Nov 11, 2017 2:55 pm Hi Oliver
seems to be new problems in the meshing module, I not able to mesh and I getting following failure message:
Running the Python command 'Cfd_MeshCartFromShape' failed:
Traceback (most recent call last):
File "/home/peter/.FreeCAD/Mod/CfdOF/_CommandCfdMeshCartFromShape.py", line 67, in Activated
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject((App.ActiveDocument.ActiveObject)")
('unexpected EOF while parsing', ('<string>', 1, 71, 'FemGui.getActiveAnalysis().addObject((App.ActiveDocument.ActiveObject)\n'))
Please provide all the information requested in this post before reporting problems with CfdOF.
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Hi guys,
Thank you for your great work.
I just want to say that the dynamic viscosity of air under FluidProperties is always zero since rev.14761
Is that a general issue or ist it because of my FC or PC settings?
Thank you for your great work.
I just want to say that the dynamic viscosity of air under FluidProperties is always zero since rev.14761
Is that a general issue or ist it because of my FC or PC settings?
-
- Veteran
- Posts: 3158
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Same problem here...
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14825 (Git)
Build type: Release
Branch: master
Hash: a0ff629747d5d73567075821852a8cdaadcf51c5
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
- oliveroxtoby
- Posts: 840
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: Update on the development of the OpenFOAM CFD workbench (CFDOF)
Thank you for reporting this. It should now be fixed.
Please provide all the information requested in this post before reporting problems with CfdOF.