Computational Fluid Dynamics (CFD) workbench using OpenFOAM

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by bernd »

Which constraint do you like to apply. We may could do a hack, just to get it useble to make this example?
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by thschrader »

bernd wrote: Wed Jan 24, 2018 5:00 pm I would just be speed up things a lot if we would only display one arrow per face, but this can not be adjusted ATM.
Lets colour the faces, no 3D-arrows. Mhh...lets say when thre are more than 100 faces to display...
polymer
Posts: 278
Joined: Fri Sep 12, 2014 8:49 am

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by polymer »

I think a combination whould be good, color to Show which Face belong to the contrain and a Limited number of arrows.
User avatar
TT-RS
Posts: 70
Joined: Fri Oct 24, 2014 9:19 pm

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by TT-RS »

For me, it is the most interesting workbench in FC, very interesting and promising.
User avatar
oliveroxtoby
Posts: 812
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by oliveroxtoby »

TT-RS wrote: Tue Feb 06, 2018 6:14 pm For me, it is the most interesting workbench in FC, very interesting and promising.
Thank you for the support! :-)
Please provide all the information requested in this post before reporting problems with CfdOF.
User avatar
sket
Posts: 61
Joined: Sun May 11, 2014 4:50 pm

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by sket »

hello, I'm trying to add the workbench, when I check the dependencies I have this result:

Code: Select all

Checking dependencies...
Paraview executable paraview not found in path.
when I installed OpenFoam, this install also Paraview. I found the folder of Paraview in /opt.
what should I do? how should I proceed?

edit: please some help.
User avatar
oliveroxtoby
Posts: 812
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by oliveroxtoby »

sket wrote: Sun May 13, 2018 10:23 am hello, I'm trying to add the workbench, when I check the dependencies I have this result:

Code: Select all

Checking dependencies...
Paraview executable paraview not found in path.
when I installed OpenFoam, this install also Paraview. I found the folder of Paraview in /opt.
what should I do? how should I proceed?

edit: please some help.
Sorry - missed this post. The easiest way would be to add a symlink to the paraview executable to one of the bin directories in your path - say /usr/local/bin - with a command like

Code: Select all

ln -s /opt/paraview/bin/paraview /usr/local/bin/paraview
Please provide all the information requested in this post before reporting problems with CfdOF.
User avatar
sket
Posts: 61
Joined: Sun May 11, 2014 4:50 pm

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by sket »

oliveroxtoby wrote: Fri Jun 08, 2018 12:19 pm
sket wrote: Sun May 13, 2018 10:23 am hello, I'm trying to add the workbench, when I check the dependencies I have this result:

Code: Select all

Checking dependencies...
Paraview executable paraview not found in path.
when I installed OpenFoam, this install also Paraview. I found the folder of Paraview in /opt.
what should I do? how should I proceed?

edit: please some help.
Sorry - missed this post. The easiest way would be to add a symlink to the paraview executable to one of the bin directories in your path - say /usr/local/bin - with a command like

Code: Select all

ln -s /opt/paraview/bin/paraview /usr/local/bin/paraview
thank you Oliver!
User avatar
Crossleyuk
Posts: 165
Joined: Wed Jun 20, 2018 7:47 am
Location: United Kingdom
Contact:

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by Crossleyuk »

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)

I am relatively new to FreeCAD (six months) but can now use it reasonably well after great support from the Forum. I am now looking to move forward into a piece of research (MPhil) and need to use CFD, so CfdOF has been a fantastic start.

I have it all up and running and started with the initial "Elbow" tutorial after going through the Read Me.
CFD Tutorial 1 - Elbow Rev 2.FCStd
(340.26 KiB) Downloaded 47 times
I am also seeing different dialogues to those illustrated in the turorial with failures as indicated by this dialogue:
Elbow Tutorial Mesh Response - Rev P1.PNG
Elbow Tutorial Mesh Response - Rev P1.PNG (23.21 KiB) Viewed 1926 times
And others saying:

Response after start of Meshing
0.0: Starting meshing ...
0.1: Exporting mesh region data ...
0.4: Exporting the part surfaces ...
0.5: Running gmsh ...
7.5: ./Allmesh: line 6: [: too many arguments
7.7: tee: log./c/Program: No such file or directory
7.7: tee: Files/FreeCAD: No such file or directory
7.7: tee: 0.17/bin/gmsh.exe: No such file or directory
7.8: tee: log./c/Program: No such file or directory
7.8: tee: Files/FreeCAD: No such file or directory
7.8: tee: 0.17/bin/gmsh.exe: No such file or directory
26.6: Meshing completed[/color]

and

Response from Solver Run (3D Mesh)
0.0: Checking dependencies...
0.0: OpenFOAM case writer is called
0.9: Error writing case:
0.9: [Error 3] The system cannot find the path specified:'c:\\uappdata\\local\\temp\\meshCase\\constant\\triSurface/*.*'
0.9: Write case setup file failed
sers\\user\\

Sorry, very inexperienced in the Forum and don't understand what is going on here. Could you please direct me to some further assistance.
User avatar
oliveroxtoby
Posts: 812
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Computational Fluid Dynamics (CFD) workbench using OpenFOAM

Post by oliveroxtoby »

Crossleyuk wrote: Tue Jan 15, 2019 6:06 am
I am relatively new to FreeCAD (six months) but can now use it reasonably well after great support from the Forum. I am now looking to move forward into a piece of research (MPhil) and need to use CFD, so CfdOF has been a fantastic start.

I am also seeing different dialogues to those illustrated in the turorial with failures as indicated by this dialogue:

Elbow Tutorial Mesh Response - Rev P1.PNG

And others saying:

Response after start of Meshing
0.0: Starting meshing ...
0.1: Exporting mesh region data ...
0.4: Exporting the part surfaces ...
0.5: Running gmsh ...
7.5: ./Allmesh: line 6: [: too many arguments
7.7: tee: log./c/Program: No such file or directory
7.7: tee: Files/FreeCAD: No such file or directory
7.7: tee: 0.17/bin/gmsh.exe: No such file or directory
7.8: tee: log./c/Program: No such file or directory
7.8: tee: Files/FreeCAD: No such file or directory
7.8: tee: 0.17/bin/gmsh.exe: No such file or directory
26.6: Meshing completed[/color]
Could you update the workbench and check it again? I ran into the same issue recently and could have sworn I had fixed it. Let me know if that doesn't help.
Please provide all the information requested in this post before reporting problems with CfdOF.
Post Reply