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

snappyHexMesh not removing desired portion of blockMesh

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

Like Tree1Likes
  • 1 Post By siefer92

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2019, 13:10
Unhappy snappyHexMesh not removing desired portion of blockMesh
  #1
Member
 
Join Date: Aug 2017
Posts: 32
Rep Power: 9
siefer92 is on a distinguished road
Howdy Yall,

I am working on learning the workflow of snappyHexMesh, I've ran the incompressible motorBike tutorial and am now trying my hand at a very simple mesh. I am trying to use snappyhexMesh to mesh a cube
(dimension .25x.25x.25 meters). I've copied over the motorBike snappyHexMeshict and made all of the necessary replacements of motorBike with lilcube.

I have the snapping and layer functionality set to false and from my understanding just running the castelation operation would be enough to see a cube shape cavity within the original blockMesh.

I've attached screenshots of what paraview sees and I've attached copies of all of the relevant snappyHexMesh Files. If yall want i can also attach the .stl file that I am currently using.

I have a feeling i am missing a simple setting in the HexMeshDict but, in my inexperience, I am unable to determine what it is.

thanks in advance for yall's guidance
-Siefer92

logdecomposPar.txt

logsnappyHexMesh.txt

logsurfaceFeatureExtract.txt

snappyHexMeshDict.txt

view without cube to cut out.jpg
ansubru likes this.
siefer92 is offline   Reply With Quote

Old   July 18, 2019, 13:45
Default more files
  #2
Member
 
Join Date: Aug 2017
Posts: 32
Rep Power: 9
siefer92 is on a distinguished road
here are more files. Long story short, I am trying to mesh this cubic obstruction with snappyHexMesh

view with cube to cut out.jpg

surfaceFeatureExtractDict.txt
siefer92 is offline   Reply With Quote

Old   July 18, 2019, 15:26
Smile Solved: See Reply Below
  #3
Member
 
Join Date: Aug 2017
Posts: 32
Rep Power: 9
siefer92 is on a distinguished road
My issue came from the fact that I was executing the snappyHexMesh command in parallel in the following manner

mpirun -n 6 snappyHexMesh -overwrite -parallel

the -overwrite was what was causing headaches.... since SHM outputs time sequence files with the various mesh refinement stages my -overwrite was preventing them from being written.

additionally i had to issue the reconstructParMesh -mergeTol 1e-6

because when I issued the reconstructPar command I received the following error:

cannot find file

OpenFOAM/OpenFOAM-4.1/tutorials/compressible/sonicFoam/laminar/cubes/processor0/0.0005/polyMesh/pointProcAddressing at line 0.

after issuing the reconstructParMesh command I copied the polyMesh folder from the latest time sequence folder into the caselevel constant folder. From this point I can start working on the actual case itself....


I have a feeling though that this is the most rickety way to get SHM to work... If yall have any grains of wisdom to share please let me know!

I've also attached a picture of the output that I was looking for / the final mesh.

desiredmesh.jpg
siefer92 is offline   Reply With Quote

Reply

Tags
openfoam 4.x, snappyhexmesh 3d

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh | MergePatchPairs | snappyHexMesh |Different number of cells in divisions pythag0ra5 OpenFOAM Meshing & Mesh Conversion 1 September 19, 2020 15:38
[snappyHexMesh] Cylindrical blockmesh to Improve snappyHexMesh Results nicholas.jones OpenFOAM Meshing & Mesh Conversion 3 May 16, 2019 10:52
[Gmsh] gMsh instead of blockMesh for base mesh, then snappyHexMesh sazabi2001 OpenFOAM Meshing & Mesh Conversion 0 February 23, 2017 13:00
[snappyHexMesh] snappyHexMesh on a multiple region blockMesh blais.bruno OpenFOAM Meshing & Mesh Conversion 1 February 17, 2015 06:40
[blockMesh] BlockMesh Grading Ambiguity: How to Get Desired y1 dancfd OpenFOAM Meshing & Mesh Conversion 6 June 4, 2014 02:04


All times are GMT -4. The time now is 11:53.