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

[snappyHexMesh] refinementRegions in 3D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2015, 13:29
Default refinementRegions in 3D
  #1
Member
 
Join Date: Dec 2014
Posts: 50
Rep Power: 11
Harak is on a distinguished road
Hey guys,

how can I create a refinement rectangle and/or box in three dimensions?

I know that you first have to define a shape, in this case a box, using searchableBox with:
Code:
    refinementBox
    {
        type searchableBox;
        min (-1 -1 -1);
        max ( 5  1  1);
}
...and then set the refinement level in the refinementRegions with the region option mode inside.

Code:
    refinementRegions
    {
        refinementBox
        {
            mode inside;
            levels ((1e15 3));
        }
    }
But this is an example for a two dimensional case...how to do this in 3D?

Thanks in advance

Greetings
Harak
Harak is offline   Reply With Quote

Old   July 30, 2015, 08:33
Default is your mesh 3D ?
  #2
New Member
 
anonymous
Join Date: Jul 2015
Posts: 21
Rep Power: 11
iy-a is on a distinguished road
Hello

Did you check via paraFoam if your mesh (without refinements) is well 3D ?
In order to see this you can display "points" instead of "surface" and check if the values are inside your solid and not only on its surface.

if not, I guess that maybe get swiftSnap add-on for blender
and go to refinement regions and thick "refine inside" with
a sufficient value (for example 10m).
iy-a is offline   Reply With Quote

Old   July 30, 2015, 12:54
Default
  #3
Member
 
Join Date: Dec 2014
Posts: 50
Rep Power: 11
Harak is on a distinguished road
Quote:
Originally Posted by iy-a View Post
Hello

Did you check via paraFoam if your mesh (without refinements) is well 3D ?
In order to see this you can display "points" instead of "surface" and check if the values are inside your solid and not only on its surface.

if not, I guess that maybe get swiftSnap add-on for blender
and go to refinement regions and thick "refine inside" with
a sufficient value (for example 10m).
Thanks for your replay.
Yes, of course my base mesh is 3D.

But in the meanwhile I figured it out on my own. The min and max values are actually the coordinates in the x, y and z plane. And because of this, it can be handled in 3 dimensions as well
Harak is offline   Reply With Quote

Reply

Tags
mode inside, refinement regions, searchablebox


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
refinementRegions is undefined Gohu8 OpenFOAM Running, Solving & CFD 1 August 30, 2017 04:20
[snappyHexMesh] snappy not using all refinementRegions and refinementSurfaces suryansh OpenFOAM Meshing & Mesh Conversion 0 June 6, 2016 07:20
[snappyHexMesh] refinementRegions does not accept two directives per geometry part louisgag OpenFOAM Meshing & Mesh Conversion 0 June 30, 2015 05:50
[snappyHexMesh] refinementRegions ignored Jeanp OpenFOAM Meshing & Mesh Conversion 3 June 12, 2014 06:05
[Other] Rotation of refinementRegions in Snappy Ruli OpenFOAM Meshing & Mesh Conversion 0 December 13, 2013 19:16


All times are GMT -4. The time now is 05:14.