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

[snappyHexMesh] Problem in creating a baffle in snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes
  • 2 Post By kmallick
  • 9 Post By kmallick

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2017, 18:31
Default Problem in creating a baffle in snappyHexMesh
  #1
New Member
 
Kaushik Mallick
Join Date: Jan 2017
Posts: 10
Rep Power: 9
kmallick is on a distinguished road
I am trying to create a test model of a blade placed inside a tunnel in snappyHexMesh using stl files. I have defined the stl files for the surface 'blade' and the individual bounding surfaces for the 'tunnel' that the 'blade' is placed inside of. I want the blade to be treated as a zero thickness baffle after sHM is done meshing.

I have defined the refinementSurfaces within snappyHexMeshDict as follows. The meshing process (sHM) completes fine but I do not see the blade and blade_slave surfaces listed in the boundary file in the polymesh folder of level 3. However I checked and found the blade and blade_slave entries with 0 nFaces listed in the corresponding file of level 2 folder.

What could I be doing wrong? Any help or suggestion will be greatly appreciated.


-------------------------------------------------


refinementSurfaces
{
tunnel
{
// Surface-wise min and max refinement level
level (0 0);
regions
{
inlet { level (1 1); patchInfo { type patch; }}
outlet { level (1 1); patchInfo { type patch; }}
sides { level (1 1); patchInfo { type wall; }}
top { level (1 1); patchInfo { type wall; }}
bot { level (1 1); patchInfo { type patch; }}
}
}
blade
{
// Surface-wise min and max refinement level
level (3 3);
faceZone blade;

faceType baffle;

// cellZone blade;
// cellZoneInside inside;
}
lourencosm and hogsonik like this.
kmallick is offline   Reply With Quote

Old   February 9, 2017, 22:12
Default picture of the model
  #2
New Member
 
Kaushik Mallick
Join Date: Jan 2017
Posts: 10
Rep Power: 9
kmallick is on a distinguished road
Attached is the model I am testing, a curved blade inside a tunnel.
Attached Images
File Type: png model.png (30.1 KB, 176 views)
kmallick is offline   Reply With Quote

Old   February 10, 2017, 00:35
Default [solved]
  #3
New Member
 
Kaushik Mallick
Join Date: Jan 2017
Posts: 10
Rep Power: 9
kmallick is on a distinguished road
I solved my problem.

In case it helps anyone in the future:

1. The internal geometry (blade in my case) has to intersect one of the boundaries of the background mesh.

2. I had to modify one more entry in the section of refinementSurfaces:

allowFreeStandingZoneFaces yes;
kmallick 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] Creating multiple unconnected solid elements with snappyHexMesh Goddi OpenFOAM Meshing & Mesh Conversion 1 May 12, 2019 09:12
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
[snappyHexMesh] Problem in results with snappyHexMesh between refinement levels Phil_WO OpenFOAM Meshing & Mesh Conversion 2 November 8, 2018 03:49
[snappyHexMesh] creating baffles using snappyHexMesh (for given random shaped surfaces) ashish.svm OpenFOAM Meshing & Mesh Conversion 1 January 17, 2018 01:24
Problem with creating the 2D base template in es-ice 4.18 Keving STAR-CD 0 February 9, 2016 08:34


All times are GMT -4. The time now is 23:38.