CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 12, 2013, 05:00
Default snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh
  #1
Member
 
Join Date: Oct 2012
Posts: 30
Rep Power: 4
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, 05:36
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 226
Rep Power: 6
Artur is on a distinguished road
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, 08:40
Default
  #3
Member
 
Join Date: Oct 2012
Posts: 30
Rep Power: 4
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, 09:10
Default
  #4
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 226
Rep Power: 6
Artur is on a distinguished road
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
background mesh in gmsh Nick_J Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 March 20, 2013 05:20
SnappyHexMesh .stl Jochem OpenFOAM 7 August 3, 2012 06:20
Can I use gridgen mesh as a background mesh for snappyhexmesh. amatuer OpenFOAM Meshing & Mesh Conversion 3 May 3, 2012 10:27
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


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