CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

sMH refinement level

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2010, 04:10
Default sMH refinement level
  #1
New Member
 
CFD user
Join Date: Apr 2010
Location: Germany
Posts: 28
Rep Power: 7
subhkirti is on a distinguished road
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.
__________________
Thanks,
subhkirti is offline   Reply With Quote

Reply

Tags
refinement, snappyhexmesh

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Native Meshers: snappyHexMesh and Others 11 January 13, 2015 12:47
jagged, ragged edges... ziemowitzima OpenFOAM Native Meshers: snappyHexMesh and Others 138 July 23, 2012 23:41
snappyHexMesh taking a lot of RAM ziad OpenFOAM Native Meshers: snappyHexMesh and Others 19 September 26, 2010 13:08
snappyHexMesh - Refinement Level andrea.pasquali OpenFOAM 5 February 8, 2010 04:08
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43


All times are GMT -4. The time now is 22:44.