|
[Sponsors] |
meshing axisymmetric problems with irregular boundaries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 14, 2010, 15:12 |
meshing axisymmetric problems with irregular boundaries
|
#1 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Hello,
I have an axisymmetric problem wit internal flow and with an irregular outer boundary. Thus the problem is not easily handled with the blockMesh utility. Thus, I think I need to use the snappyHexMesh utility. As I understand it, the snappyHexMesh requires an STL file. I think I can generate the STL by manually (the ascii format is described here) Since the problem is internal, I will try to create a wedge-type background mesh, and assign wedge patches to the azimuthal faces. Is that the right way to go about this problem? Thank you, Mirko |
|
July 15, 2010, 03:13 |
|
#2 |
Senior Member
|
Hi,
there are many ways to generate an Stereolithography (STL)-Files. Most Cad Programs for example Salome http://www.salome-platform.org/ or freecad http://free-cad.sourceforge.net/ or Blender http://www.blender.org/ to name a few opensource programs can export to STL. an other way is discribed here (blender->calculix->openfoam) http://www.openfoamworkshop.org/08/p...FOAMCharts.pdf search this forum for internal flow and snappyhexmesh (SHM) http://www.cfd-online.com/Forums/ope...rnal-flow.html and you will find an answer how to use SHM for internal flows. => I believe it was s.th like you must provide s.th like "location in mesh" and this "point" has really to be inside the STL for internal flow. otherwise you would mesh outside like in a windtunnel. before you work with "blockmesh" which should only used for simple examples try discretizer http://www.discretizer.org/ or engrid http://engits.eu/cms/index.php?id=4 Last edited by elvis; July 15, 2010 at 03:39. |
|
July 15, 2010, 10:35 |
|
#3 | |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Quote:
|
||
July 17, 2010, 13:41 |
|
#4 |
Member
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17 |
Hi,
Beware, snappyHexMesh will create a 3D mesh... It sounds as if you want an axisymmetric 2D mesh. /Ola |
|
July 19, 2010, 09:21 |
|
#5 | |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
As I still have access to a Fluent/Gambit license (it will expire eventually), I ended up creating the wedge geometry with a hex mesh in Gambit.
I exported the mesh as a fluent file, labeling the wedge faces as symmetry. Then I used the fluent3DtoFoam utility. Finally, I corrected the wedge faces in the dictionaries from symmetry to wedge. Quote:
- set-up a wedge geometry, - mesh it using snappyHexMesh, - remove the 3D mesh - extract the 2D mesh of the wedge face into the 3D domain But I do not know the commands to accomplish that. |
||
July 19, 2010, 09:55 |
|
#6 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi,
This procedure is a little bit tedious, but, will get the job done: run snappyHexMesh - make sure that you have the face as boundary patch that you want to extrude as 2D. run extrudeMesh. Search for a file called extrudeProperties. This will give the name of the patch that you want to extrude. You will then have a 2D mesh with 1 cell thick. rum makeAxialMesh to convert the 2D mesh into wedge. If you already have the fluent/gamit mesh, then, you should be able to use the extrudeMesh and makeAxialMesh utilities. Pei |
|
July 20, 2010, 10:17 |
|
#7 | |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Quote:
Mirko |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Problems with periodic/cyclic boundaries | sebastian | OpenFOAM Meshing & Mesh Conversion | 7 | March 16, 2012 05:56 |
Benchmark problems for axisymmetric cases in 2D | Malarvizhi | Main CFD Forum | 4 | February 10, 2006 01:20 |
ghost cells in axisymmetric problems | ma | Main CFD Forum | 2 | May 17, 2004 14:52 |
Problems with internal angles when meshing | Ivan | CFX | 2 | August 30, 2002 07:54 |
Meshing problems??? | Nish | CFX | 3 | August 22, 2000 03:57 |