|
[Sponsors] |
[snappyHexMesh] snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 12, 2013, 06:00 |
snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh
|
#1 |
Member
Join Date: Oct 2012
Posts: 32
Rep Power: 14 |
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. .. Best regards! |
|
September 11, 2013, 06:36 |
|
#2 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
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 |
|
September 11, 2013, 09:40 |
|
#3 |
Member
Join Date: Oct 2012
Posts: 32
Rep Power: 14 |
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 |
|
September 11, 2013, 10:10 |
|
#4 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Well too bad it didn't work, would have been a nice tool.
Thanks for sharing your conclusions anyway! |
|
Tags |
extrudemesh, snappyhexmesh, snappyhexmesh 2d |
|
|
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 |