CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Problem in creating a baffle in snappyHexMesh (https://www.cfd-online.com/Forums/openfoam-meshing/183664-problem-creating-baffle-snappyhexmesh.html)

kmallick February 9, 2017 18:31

Problem in creating a baffle in snappyHexMesh
 
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;
}

kmallick February 9, 2017 22:12

picture of the model
 
1 Attachment(s)
Attached is the model I am testing, a curved blade inside a tunnel.

kmallick February 10, 2017 00:35

[solved]
 
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;


All times are GMT -4. The time now is 06:40.