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

[snappyHexMesh] sMH refinement level

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 01:37
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[snappyHexMesh] Edge Refinement fracasce OpenFOAM Meshing & Mesh Conversion 3 December 2, 2017 13:30
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 02:32
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23


All times are GMT -4. The time now is 20:50.