2D-meshing in cfd
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
2D-meshing in cfd
I tried to use 2D-meshing (gmsh) in cfd-wb.
Extract 2D-shape from body using facebinder-tool in arch-wb.
FEM-meshing works for 2D, but cfd gives back error
„For 2D meshing, two parallel 2D bounding planes must be present as boundary conditions in the CFD analysis object.“
Is there a special workflow?
system:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14098 (Git)
Build type: Release
Branch: master
Hash: 0c33d00bfdf8270e7e5b33d792bf0ad9bbbfc819
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)
Extract 2D-shape from body using facebinder-tool in arch-wb.
FEM-meshing works for 2D, but cfd gives back error
„For 2D meshing, two parallel 2D bounding planes must be present as boundary conditions in the CFD analysis object.“
Is there a special workflow?
system:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14098 (Git)
Build type: Release
Branch: master
Hash: 0c33d00bfdf8270e7e5b33d792bf0ad9bbbfc819
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: 837
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: 2D-meshing in cfd
Yes - create a 3D shape, then assign the CFD boundary 'constraint/2D bounding plane' to the front and back surfaces (which must be parallel and planar). Then mesh as normal.thschrader wrote: ↑Sun Jul 29, 2018 10:42 am I tried to use 2D-meshing (gmsh) in cfd-wb.
Extract 2D-shape from body using facebinder-tool in arch-wb.
FEM-meshing works for 2D, but cfd gives back error
„For 2D meshing, two parallel 2D bounding planes must be present as boundary conditions in the CFD analysis object.“
Is there a special workflow?
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: 2D-meshing in cfd
Thanks for the tip, it works.oliveroxtoby wrote: ↑Mon Jul 30, 2018 6:14 am Yes - create a 3D shape, then assign the CFD boundary 'constraint/2D bounding plane' to the front and back surfaces (which must be parallel and planar). Then mesh as normal.
2D is a nice option, saves a lot of computing time.
The solver storms through the calculation...
Re: 2D-meshing in cfd
Hello,
I add the bounding planes parrallel but I have always the error message telling that I am not using them.
Something to activate somewhere?
[/img]
Best regards
Julien
I add the bounding planes parrallel but I have always the error message telling that I am not using them.
Something to activate somewhere?
[/img]
Best regards
Julien
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: 2D-meshing in cfd
Put each 2D-bounding plane into a separate constraint-condition, see my file.
gmsh: works fine
cfmesh: meshing error at front-window
snappyhexmesh: gives allways a 3D-mesh (?) OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15399 (Git)
Build type: Release
Branch: master
Hash: 9683abfc36c3e9e94b9175428ec9491b869a6b97
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)
Re: 2D-meshing in cfd
Thank you, it works with gmsh but no boundary layers are avalaible with gmsh. Only refinement on surfaces but I don't see any change in the mesh when I use or not these feature.
Now I want to try to calculate the lift and drag force acting on a surface ... Seems difficult, I start with your post on the topic "computing forces:how to setup proper simulation" https://forum.freecadweb.org/viewtopic.php?f=37&t=26923.
How can do to calculate the force acting on the surface of the circle?
I don't know exactly how to start, maybe the paraview documentation or some tutorial?
Best regards
Julien
Now I want to try to calculate the lift and drag force acting on a surface ... Seems difficult, I start with your post on the topic "computing forces:how to setup proper simulation" https://forum.freecadweb.org/viewtopic.php?f=37&t=26923.
How can do to calculate the force acting on the surface of the circle?
I don't know exactly how to start, maybe the paraview documentation or some tutorial?
Best regards
Julien
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: 2D-meshing in cfd
Re: 2D-meshing in cfd
Thank you very much for your help.
I see also some add-on workbench on the forum.
Is these tools are usefull for the post processing ?
I install the workbench DesignPhysics, but I don't know how to put it visible on the FreeCAD windows.
Best regards
Julien
I see also some add-on workbench on the forum.
Is these tools are usefull for the post processing ?
I install the workbench DesignPhysics, but I don't know how to put it visible on the FreeCAD windows.
Best regards
Julien
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: 2D-meshing in cfd
No, for openfoam results definitly not. Designsphysics is the Freecad-GUI for the dualsphysics-solver,
which uses a particle-method (point cloud). It is mainly used for free surface flow.
Advantage: writing the point cloud (the "mesh) goes superfast, even with millions of points.
Disadvantage: you need a really fast machine...
But it is interesting and cool stuff. Have a look at the tutorials
https://www.youtube.com/watch?v=uQ_vVYTRZZk
https://www.youtube.com/watch?v=B8mP9E75D08
http://design.sphysics.org/
http://www.dual.sphysics.org/