-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi, thanks for reaching out with your question! Typically to cap the level at which the EB is refined we would use something like this in the input file:
where the
which controls how close/far the derefining of the EB happens. Can you try these options and let us know how it goes? It sounds like maybe you tried the first one already? |
Beta Was this translation helpful? Give feedback.
-
Okay I think I was able to sort it out. As @esclapez pointed out, the clustering distance is intrinsic to AMReX and in my case I couldn't do much about it. However, I saw no reason why the refinement level cap should not be working correctly. After digging through some files, I found that the EB untagging distance is calculated by multiplying some terms, one of them being what looked to me like the |
Beta Was this translation helpful? Give feedback.
Okay I think I was able to sort it out. As @esclapez pointed out, the clustering distance is intrinsic to AMReX and in my case I couldn't do much about it. However, I saw no reason why the refinement level cap should not be working correctly. After digging through some files, I found that the EB untagging distance is calculated by multiplying some terms, one of them being what looked to me like the
amr.n_error_buf
in the inputs file, which I had set to 0. Setting it to 1 and using the aforementionedtagging.max_eb_refine_lev
andtagging.eb_detag_factor
, I was able to finally limit the EB refinement level. Thanks to both of you for the very insightful comments!