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

[snappyHexMesh] refined blockmesh for snappyhexmesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2016, 07:30
Default refined blockmesh for snappyhexmesh
  #1
New Member
 
Tobi
Join Date: Feb 2013
Location: Bavaria
Posts: 7
Rep Power: 13
TOM01 is on a distinguished road
Hello,

does anybody know wether it is possible to use region wise refined blockmeshes as input for snappy hex mesh.

Or more general: Is it possible to use as input for the castellation other meshes than regular hex meshes?

I set up a refined blockmesh as in the attached picture.

But snappy hex mesh says:

--> FOAM FATAL ERROR:
cell 1590 of level 0 uses more than 8 points of equal or lower level
Points so far:8(2024 2025 2035 2036 2134 2135 2145 2146)

The cell is in first layer of the refined part of the mesh. (2nd picture below)
refinedZylinder.png
refinedZylinder1_cell1590.png
TOM01 is offline   Reply With Quote

Old   March 20, 2016, 08:58
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

From what I have seen, you need to have pretty much only hexes to be able to run snappyHexMesh (anything more than 8 vertices for a block and it doesn't work)

Refining the original mesh in only particular directions over only a portion of the mesh does not allow you to run snappyHexMesh (refining leads to more vertices within the same block and so it shows that error)

Hope this helps.

Cheers,
Antimony
ellenripley likes this.
Antimony is offline   Reply With Quote

Old   March 20, 2016, 10:20
Default
  #3
New Member
 
Tobi
Join Date: Feb 2013
Location: Bavaria
Posts: 7
Rep Power: 13
TOM01 is on a distinguished road
Thank you Antimony.

Meanwhile I learned that the same what I wanted to do I can do with dedicated refinement zones in snappyHexMeshDict.

Do you know if it is possible in snappy to define that zones are getting refined only in x/y and not in z direction?
TOM01 is offline   Reply With Quote

Old   March 20, 2016, 20:48
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

Yes, refinementRegions would help you refine a selected region. Your cells will need to have at most 8 vertices for this.

And nope. AFAIK, snappy does refinement in all three directions and you can't limit it to any particular direction(s).

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   March 21, 2016, 03:35
Default
  #5
New Member
 
Tobi
Join Date: Feb 2013
Location: Bavaria
Posts: 7
Rep Power: 13
TOM01 is on a distinguished road
Thanks a again.
Meanwhile I could get a working mesh with acceptable refinement.
TOM01 is offline   Reply With Quote

Reply


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
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 20:15
2D AMR - matching faces that are not refined with refined faces chrisb2244 OpenFOAM Programming & Development 9 June 22, 2016 01:56
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59


All times are GMT -4. The time now is 23:35.