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

[snappyHexMesh] locationInMesh utility of Mesh Selection doesn't work.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2016, 15:24
Default locationInMesh utility of Mesh Selection doesn't work.
  #1
New Member
 
Join Date: Nov 2015
Posts: 28
Rep Power: 10
jiaodanuma is on a distinguished road
Dear all,

I'm trying to use the snappyHeXMesh to mesh the flow field around a cube. I want to keep the mesh outside the cube and delete the mesh inside it. I defined a point outside the cube and inside the bounding box using locationInMesh. but the result shows to keep the mesh in both sides of the cube as illustrated in the pictures. I'm really confused about this. Can anyone help me with this? Thank you very much. I've attached my case as following.
Attached Images
File Type: png 1.png (42.6 KB, 10 views)
File Type: png 2.png (46.4 KB, 12 views)
Attached Files
File Type: zip cube_snappyHexMesh.zip (47.4 KB, 5 views)
jiaodanuma is offline   Reply With Quote

Old   April 29, 2016, 02:44
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

I ran your case as is, and there was no mesh through the cube. I am not sure where your cut planes were taken, but if you do a Y-plane cut that goes through the cube, you will see that there is no mesh there.

If you used the default location of the cut plane that Paraview gives you, then it might seem like the mesh has gone through the cube. The explanation for that is that the cut is just after the cube and so there are mesh elements at the supposed location of the cube.

Hope this helps.

Cheers,
Antimony
jiaodanuma likes this.
Antimony is offline   Reply With Quote

Old   April 29, 2016, 03:17
Default
  #3
New Member
 
Join Date: Nov 2015
Posts: 28
Rep Power: 10
jiaodanuma is on a distinguished road
Dear Antimony

Thank you so much for your help. That's the right reason... I use the default location just behind the cube to cut the Y plane. This problem has confused me for a couple of days, i didn't expect the reason lies here. I read through my snappyHexMeshDict file again and again but can't figure out why this happened. Thank you again for your help.

Best wishes
Yanan
jiaodanuma is offline   Reply With Quote

Reply

Tags
snappyhexmesh 3d


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 17:16
Changing Mesh Models doesn't work FlavorSavior STAR-CCM+ 1 February 25, 2019 12:30
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 16:47
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


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