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

[snappyHexMesh] refinementRegions does not accept two directives per geometry part

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2015, 05:50
Default refinementRegions does not accept two directives per geometry part
  #1
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hello everyone,

I've noticed that snappyHexMesh does not allow to specify two different types of refinement for one region. Moreover, it doesn't complain or give any warning if I attempt to do it but the the refinement is not applied.

Code:
refinementRegions
    {
        somePart
        {
            mode        inside;
            levels      ((1E15 1));
                mode    distance;
                levels  ((0.08 1));
        }
    }
Did anyone else experience this?

I solved it by creating a second refinement zone using the same definition (or a dynamic link to the same .stl file) as the first zone. Then I give two parts in the refinementRegions with each of my requests.

Code:
refinementRegions
    {
        somePart
        {
            mode        inside;
            levels      ((1E15 1));
        }
        somePartCopy
        {
                mode    distance;
                levels  ((0.08 1));
        }
    }
I think it should be fairly simple to at least add at warning and would help the user.

Regards,


-Louis
louisgag is offline   Reply With Quote

Reply


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
[ICEM] Work with imported STL geometry KateEisenhower ANSYS Meshing & Geometry 2 July 9, 2015 11:46
ICEM: Holes in Geometry Daniel CFX 4 February 22, 2009 10:40
How to show part of the geometry. gab FLUENT 1 September 15, 2007 21:16
vitual _ real deneb FLUENT 3 January 22, 2007 05:31
Virtual/Real geometry. Jack Keays FLUENT 9 June 16, 2000 00:39


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