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

[snappyHexMesh] snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2013, 06:00
Default snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh
  #1
Member
 
Join Date: Oct 2012
Posts: 32
Rep Power: 14
pythag0ra5 is on a distinguished road
Dear FOAMers,

i want to run a procedure like:

1.) blockMesh
2.) snappyHexMesh -overwrite
3.) extrudeMesh
4.) snappyHexMesh -overwrite

In other words, the background mesh for the second snappyHexMesh-procedure should be created with extrudeMesh. My problem is, that the steps 1-3 works fine, but when i run SHM again (Step 4), i get an error-message:

Code:
--> FOAM FATAL ERROR:
Number of cells in mesh:16328 does not equal size of cellLevel:236700
This might be because of a restart with inconsisten cellLevel.
..
I asume, that i have to delete some files / directories, but as i am not sure about this, it would be very nie if you can gie me a hint!

Best regards!
pythag0ra5 is offline   Reply With Quote

Old   September 11, 2013, 06:36
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
It's quite an old post, have you figured out the solution?

My bet would be:
a. delete all the cell sets, face sets, etc. from the polyMesh directory
b. remove all the files created by snappy in the 0 directory
c. check that all your boundaries are defined properly after the extrude mesh procedure; if not then use topoSet and/or createPatch -overwrite to create new patches or remove those with 0 faces in them
Artur is offline   Reply With Quote

Old   September 11, 2013, 09:40
Default
  #3
Member
 
Join Date: Oct 2012
Posts: 32
Rep Power: 14
pythag0ra5 is on a distinguished road
Hi Artur,

thank you very much for your reply, unfortunately my problem is not solved yet.

Meanwhile, i found out that some files in the polyMesh-directory have to be deleted (as you already mentioned in your post).

Right now, i think my that there is no solution for my desired procedure. This is because snappyHexMesh requires a background mesh which consists (only) of hexahedral elements. But an arbitrary shaped geometry will lead also to tetrahedral- / layer- / other elements, therefore (in my opinion), snappyHexMesh can only be used one time.

Best regards
Mathias
pythag0ra5 is offline   Reply With Quote

Old   September 11, 2013, 10:10
Default
  #4
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
Well too bad it didn't work, would have been a nice tool.

Thanks for sharing your conclusions anyway!
Artur is offline   Reply With Quote

Reply

Tags
extrudemesh, snappyhexmesh, snappyhexmesh 2d


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
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
snappyHexMesh superimposition of background grid and surface mesh OF2.4, PV4.1.0 deepbandivadekar OpenFOAM Running, Solving & CFD 0 November 12, 2017 20:06
[snappyHexMesh] SnappyHexMesh .stl Jochem OpenFOAM Meshing & Mesh Conversion 10 September 23, 2016 05:26
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 08:05
[Gmsh] background mesh in gmsh Nick_J OpenFOAM Meshing & Mesh Conversion 1 March 20, 2013 05:20


All times are GMT -4. The time now is 13:00.