Skip to content

Controlling EB refinement #536

Answered by serazo97
serazo97 asked this question in Q&A
Aug 3, 2022 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

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 aforementioned tagging.max_eb_refine_lev and tagging.eb_detag_factor, I was able to finally limit the EB refinement level. Thanks to both of you for the very insightful comments!

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@serazo97
Comment options

@marchdf
Comment options

@serazo97
Comment options

@esclapez
Comment options

@serazo97
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by serazo97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants