CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   sMH refinement level (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/80990-smh-refinement-level.html)

subhkirti October 13, 2010 04:10

sMH refinement level
 
Hi everyone,

I am trying to study flow in a porous region, which is attached on a different surface. I have defined the porous region in the sHMDict file by a searchable box, specifying the minimum and the maximum co-ordinates. Again, I have also defined another region (which is actually the wake region), by a searchable box, since I want to study the variation of parameters (velocity and pressure) in this region also.

In the sHMDict file, when I set the refinement level of my surface to 3, the refinement region of my porous zone as 5 and that of the wake region as 3, I get a good mesh when I run the blockMesh and sMH. Now, I wanted to move the cooler vertically by 2 m (still very much in the wake region), but changed the refinement level of the wake region to 2. This time, when I ran sMH, no porous zone was detected. There were absolutely no other changes in any of the dimensions or refinement regions. I am posting the details below:

When I got all the surfaces:

geometry
{
turbine.stl

{
type triSurfaceMesh;
regions
{
turbine
{
name turbine;
}

}
}

porouszone
{
type searchableBox;
min (7500 0 0);
max (7594 1172 1220);
}

wake
{
type searchableBox;
min (-3000 -6000 0);
max (30000 5000 4000);
}

refinementSurfaces
{
turbine.stl
{
level (2 2);
// Surface-wise min and max refinement level
regions
{
turbine
{
level (3 3);
}
}
}
}

refinementRegions
{

porouszone
{
mode inside;
levels ((1.0 5));
}

wake
{
mode inside;
levels ((1.0 3));
}


}

When the porouszone was not detected (I'm highlighting the changes in colour)-- I did the refinement region changes, since the sMH was taking a lot of time for the generation of the mesh.

geometry
{
turbine.stl

{
type triSurfaceMesh;
regions
{
turbine
{
name turbine;
}

}
}

porouszone
{
type searchableBox;
min (7500 2000 0);
max (7594 3172 1220);
}

wake
{
type searchableBox;
min (-3000 -6000 0);
max (30000 5000 4000);
}

refinementSurfaces
{
turbine.stl
{
level (2 2);
// Surface-wise min and max refinement level
regions
{
turbine
{
level (3 3);
}
}
}
}

refinementRegions
{

porouszone
{
mode inside;
levels ((1.0 5));
}

wake
{
mode inside;
levels ((1.0 2));
}


}

The cell size in each direction is 1000mm and the block mesh initial created is sufficiently big to accomodate the geometry. Can someone help me out with this please... I will be so grateful.


All times are GMT -4. The time now is 03:47.