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

Refinement Region

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By colinB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2013, 05:01
Default Refinement Region
  #1
New Member
 
Tom
Join Date: Jul 2013
Posts: 7
Rep Power: 12
samy902 is on a distinguished road
Hello everyone,

i am trying to generate the mesh with snappyHexMesh but when i want to visualise it on paraView i can't see the refinement region that i have specified around the object. I feel that it has to do with the physical memory of my computer but, right now, i want to hope to another explanation.

Thanks in advance.
samy902 is offline   Reply With Quote

Old   July 19, 2013, 05:38
Default
  #2
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 18
colinB is on a distinguished road
Hi samy902,

welcome to the forum.

Before answering your question, please be advised that there are
some forum-rules which make life of the users little bit easier, so
one of them is to post questions in the proper subforum, to
ease the search for other users.

Since you mentioned snappyHexMesh in your post, this would have been
the proper channel for you.

Another rule is that one who asks the questions tries to provide
as much information as possible to give the other users a clear picture
of what is wrong.
For further hints have a look here:
http://www.cfd-online.com/Forums/ope...-get-help.html

Now looking at your question you will quickly notice that when trying to
answer it, every outstanding person will have to guess for
we don't know:

- what looks your snappyHexMeshDict like
- don't have a picture of your geometry pointing out the problem
- don't have a log file of the meshing process which eventually contains
warnings
- evtl. the checkMesh result gives also a hint (what I don't expect in
this particular case, but you never know since its a meshing problem)

Everything I would tell you know would be a wild guess so I'll leave it and
wait for more information ;-)

I hope I could contribute

regards
colinB is offline   Reply With Quote

Old   July 19, 2013, 07:33
Default Refinement region
  #3
New Member
 
Tom
Join Date: Jul 2013
Posts: 7
Rep Power: 12
samy902 is on a distinguished road
Hi ColinB,

i am really sorry, you are absoluterly right. I have added a pdf file to point out my problem and a zip file that contains the snappy.log and snappyHexMeshDict. I hope that helps.

Thanks again.
Attached Files
File Type: pdf Mesh Difference.pdf (43.2 KB, 26 views)
File Type: zip Case160.zip (11.7 KB, 13 views)
samy902 is offline   Reply With Quote

Old   July 19, 2013, 08:27
Default
  #4
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 18
colinB is on a distinguished road
Hey samy902,

the only obvious thing I could find was

Code:
refinementRegions

{
            refinementBox1
            {
            mode inside;
            levels ((1E15 1));
            }
}
That I use the scientific expression with a high
number instead of 1.0 which you used
Note: that the first number in the round brackets is actually
irrelevant and it is just a dummy value

But you mentioned that you have troubles with your memory.
I don't think this is the problem for otherwise the calculation would crash
totally.

However you are hitting the maxGlobalCell value (you specified
2 Million and with refinement level 5 of 6 you have already 3.8 Mio.)
Maybe this is the reason why he refuses to refine the box.

Maybe with these two hints you can start trying to solve your
problem.
regards
sima_op and elsa.manih like this.
colinB is offline   Reply With Quote

Old   July 19, 2013, 08:38
Default Refinement region
  #5
New Member
 
Tom
Join Date: Jul 2013
Posts: 7
Rep Power: 12
samy902 is on a distinguished road
I fixed it. As you mentioned cause of the fact that i am hitting maxCells it can not refine anymore. I tried the a less refined case in BlockMesh ( simpleGrading (1 1 1) ) than the one before ( simpleGrading (1 1 15) ) and it totally solved my problem. I will try your proposal as well to check if i can decrease the refinement level and keep the higher simpleGrading. Thanks again for your help colinB.

Regards
samy
samy902 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
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[snappyHexMesh] Weird snapping outside a refinement region jasimpson89 OpenFOAM Meshing & Mesh Conversion 0 July 29, 2012 20:46
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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