CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Problem with C-mesh for aerofoil with single, 6 vertex block

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By montju

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2022, 17:49
Default Problem with C-mesh for aerofoil with single, 6 vertex block
  #1
New Member
 
Sebastian
Join Date: Feb 2020
Posts: 2
Rep Power: 0
montju is on a distinguished road
Hi all,

I'm currently trying to generate a C-mesh around a NACA aerofoil with a single block going from the trailing edge of the pressure side to the trailing edge of the suction side. Behind the trailing edge, there should be two blocks. The block and vertex ID's are shown in the image "blockMesh-vertices.jpg".

The boundary layer block around the aerofoil is block 0, the downstream blocks are 3 (suction side) and 4 (pressure side) - disregard the rest of the image as it's redundant for this problem.

Even though the blocks are generated the way I intended them to be, the faces connecting block 0 with blocks 3 and 4 show some weird behaviour --> "naca0012-mesh1.jpg", "naca0012-mesh2.jpg"

When I run checkMesh, I get the following output --> "checkMesh.txt".


It seems to me that even though the blocks are generated and I checked multiple times that I follow the right-handed rule and all other definitions for the hex blocks as specified on
HTML Code:
 /https://www.openfoam.com/documentation/user-guide/4-mesh-generation-and-conversion/4.3-mesh-generation-with-the-blockmesh-utility
, blockMesh is unable to do this kind of block or am I missing a point somewhere and didn't properly define the block? I also attached the blockMeshDict file to recreate the problem.

I would really appreciate some feedback if what I'm trying to do is even possible with blockMesh and if so, how I would possibly fix this issue.


Cheers, Sebastian
Attached Images
File Type: jpg blockMesh-vertices.jpg (109.3 KB, 28 views)
File Type: jpg naca0012-mesh1.jpg (197.6 KB, 28 views)
File Type: jpg naca0012-mesh2.jpg (192.3 KB, 22 views)
Attached Files
File Type: txt checkMesh.txt (4.1 KB, 1 views)
File Type: zip blockMeshDict.zip (60.5 KB, 4 views)

Last edited by montju; July 9, 2022 at 13:24. Reason: Modified html link to be correctly shown.
montju is offline   Reply With Quote

Old   July 11, 2022, 04:00
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey Sebastian,


it looks like that your ordering of the blocks is wrong in the areas you mentioned. It seems that you have some flip of the volumes (checkMesh should give you - probably - negative volumes - simply test it). For a easier analysis, simply take the block which is wired and create the mesh for only this block. Doing so will give you a better understanding of the problem.

I guess the numbering of the blocks is wrong (some small mistake).


Furthermore, as I discussed with Philipp already, it might be also a good option to use snappy for your investigations.

Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 11, 2022, 04:19
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Here one tweet that shows that snappy can handle your problem Ver well.

https://twitter.com/joegigeo/status/...R36SBa2nA&s=19

However, i would further optimize the mesh around the airfoil.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 11, 2022, 06:04
Default
  #4
New Member
 
Sebastian
Join Date: Feb 2020
Posts: 2
Rep Power: 0
montju is on a distinguished road
Hi Tobi,


thanks for taking a look - initially I really thought I had the block ordering correct but the more I look at it the more I'm doubting myself again.


In the meantime I already looked into snappyHexMesh, but the twitter post you attached finally convinced my that I snappy will most likely be the better option for this problem, especially with all the different airfoils and AoA I'd like to simulate.


Sebi
Tobi likes this.
montju is offline   Reply With Quote

Reply

Tags
airfoil 2d, blockmesh, blockmeshdict, c-mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[foam-extend.org] Foam-extend-3.1 on RHEL: mesh problem lxwd OpenFOAM Installation 4 March 25, 2017 17:10
[Commercial meshers] Icem Mesh to Foam jphandrigan OpenFOAM Meshing & Mesh Conversion 4 March 9, 2010 03:58
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 12:19.