Replies: 2 comments 6 replies
-
You don’t need to set a different max_level in different regions - you can
control that entirely through the refinement criteria
Ann Almgren
Senior Scientist; Dept. Head, Applied Mathematics
Pronouns: she/her/hers
…On Sat, Oct 19, 2024 at 12:37 AM Pandakii ***@***.***> wrote:
Hi everyone,
To decrease computational cost, I want to employ a relatively lower
max_level in some uninterested regions, while still using a higher
max_level in regions I am interested in. I am not sure if it is possible to
achieve that.
—
Reply to this email directly, view it on GitHub
<#4194>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YRARQWEP7YWEWAZHO3Z4ID3LAVCNFSM6AAAAABQHHN4GOVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGM2DAMRTGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Everything you want to do can be accomplished by setting your refinement
criteria correctly -- for example, you will never create a finest_level of
3 if your refinement criteria in that region don't trigger refinement there.
If you write your own refinement criteria, you can use tests such as
if (x > 5 && phi > 0.1)
so that you would only use that requirement when x > 5, so this would allow
you to not refine when x <= 5.
I also find this documentation helpful:
https://amrex-fluids.github.io/IAMR/Software.html#sec-tagging
…On Sat, Oct 19, 2024 at 7:05 PM Pandakii ***@***.***> wrote:
I just want to fix the refinement level in a specific region, such as the
exit of a channel. For example, the max_level in entire domain of a channel
is set to 3 but a region near exit has a constant refinement level of 2.
But generally this specific region still be refined by the max_level once
the refinement criteria is reached here. I know that a specific region can
be fixed at the max_level by the method of static refinement. I am not sure
if it is possible to have a constant refinement level lower than the
max_level in a specific region.
—
Reply to this email directly, view it on GitHub
<#4194 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YV7WRYIDU6GHLL4GBDZ4MFX5AVCNFSM6AAAAABQHHN4GOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJZGQYDAOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Ann Almgren
Senior Scientist; Dept. Head, Applied Mathematics
Pronouns: she/her/hers
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
To decrease computational cost, I want to employ a relatively lower max_level in some uninterested regions, while still using a higher max_level in regions I am interested in. I am not sure if it is possible to achieve that.
Beta Was this translation helpful? Give feedback.
All reactions