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

[snappyHexMesh] Avoid faces that don't belong to any cell

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2013, 01:55
Default Avoid faces that don't belong to any cell
  #1
j3r
New Member
 
Join Date: Jun 2012
Posts: 11
Rep Power: 13
j3r is on a distinguished road
Hello,

I’m trying to generate a structure composed of cubic mesh cells to perform some OpenFoam simulations.

Right now I generate a cuboid with blockMesh and utilize snappyHexMesh to remove the structure (let’s call it “solid”) defined in a stl file. As I need cubic mesh cells I disabled the “snap” and “addLayer” options in sHM, thus only “castellatedMesh” is enabled.

In general, the structure generation works fine but it seems like in some cases sHM generates “solid” faces that do not belong to any “solid” cell. Specifically, if the structure in the stl file overlaps only with a few faces of an original cell e.g. only 3 faces of the original cell are replaced by “solid” faces (see image; shown is a section of the “solid” structure where only 3 “solid” faces were generated but no volume was removed from the original mesh). This way no “solid” cell is removed from the original mesh even though the generated “solid” faces influence the simulation as they have certain boundary conditions

My question now is if I can somehow “tell” snappyHexMesh to only generate “solid” faces if they belong to a “solid” cell. I enabled the “debug” option in sHM and apparently sHM removes some of the above mentioned unwanted faces between the last two iteration steps but for some reason not all of them. Alternatively, is it possible to subsequently select all “solid” faces that do not belong to any “solid” cell and delete them?


Please let me know if you need additional information.


Thank you very much and kind regards,
j3r
Attached Images
File Type: png open_cube.png (1.7 KB, 3 views)
j3r 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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 14:53
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43


All times are GMT -4. The time now is 22:50.