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

refinementRegions in 3D

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 29, 2015, 12:29
Default refinementRegions in 3D
  #1
Member
 
Join Date: Dec 2014
Posts: 50
Rep Power: 3
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, 07:33
Default is your mesh 3D ?
  #2
New Member
 
anonymous
Join Date: Jul 2015
Posts: 8
Rep Power: 2
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, 11:54
Default
  #3
Member
 
Join Date: Dec 2014
Posts: 50
Rep Power: 3
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

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
refinementRegions does not accept two directives per geometry part louisgag OpenFOAM Native Meshers: snappyHexMesh and Others 0 June 30, 2015 04:50
refinementRegions ignored Jeanp OpenFOAM Native Meshers: snappyHexMesh and Others 3 June 12, 2014 05:05
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 13:48.