|
[Sponsors] |
[snappyHexMesh] snappyHexMesh makes a 3D mesh when I'm looking for a 2D flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 7, 2017, 18:46 |
snappyHexMesh makes a 3D mesh when I'm looking for a 2D flow
|
#1 |
New Member
Join Date: May 2017
Posts: 8
Rep Power: 9 |
Hi everyone,
I'm trying to simulate flow around an airfoil by following a tutorial given here. I was able to successfully complete the tutorial and get reasonable values, but now I'm at a stage where I'm trying to modify the airfoil in the tutorial (from a NACA0015 to a NACA0012) and making the domain much smaller. All is well until I run simpleFoam and check my results, and I end up with an anomaly in my solution: flow is going around the airfoil through the front and back of the domain: I tried seeing what I could do in the snappyHexMeshDict file and blockMeshDict files that I used to build the domain, but I have no leads on why this is happening. Would anyone happen to have any clue as to what the cause may be? The blockMeshDict file says that the domain is 1 cell deep, but I can't find anything in the snappyHexMeshDict that says the same thing. |
|
June 8, 2017, 03:09 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Attachment 56513snappyHexMesh is a 3D mesher, there is no way to tell snappy to make a 2D mesh. However, you can create a 2D mesh by extruding one layer of cells from the appropriate patch. After extrusion, you simply throw away all other cells.
So just extend your workflow with two more additional steps.
|
|
June 12, 2017, 20:30 |
|
#3 |
New Member
Join Date: May 2017
Posts: 8
Rep Power: 9 |
That did it for me. Thanks!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Optimizing snappyHexMesh for internal (ribbed) channel flow | backscatter | OpenFOAM Meshing & Mesh Conversion | 1 | November 5, 2018 14:28 |
[snappyHexMesh] Failed 10 mesh checks after snappyHexMesh | jet_engine | OpenFOAM Meshing & Mesh Conversion | 9 | November 21, 2016 14:37 |
[snappyHexMesh] problem with snappyHexMesh | kanes | OpenFOAM Meshing & Mesh Conversion | 10 | January 26, 2016 07:11 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |