Problem that the single-level results differ from the multi-level results #4524
Unanswered
APTX-4869-core
asked this question in
Q&A
Replies: 3 comments 3 replies
-
AMReX itself doesn’t know anything about pressure per se. Are you using
one of the existing CFD codes like IAMR or incflo, or did you write your
own?
Ann Almgren
Senior Scientist; Dept. Head, Applied Mathematics
…On Thu, Jun 26, 2025 at 12:32 AM HanekawaArashi ***@***.***> wrote:
Hello AMReX Team!
I'm writing CFD codes in AMReX for generating some points in the flow
field, just like what the Particle class does(but I didn't use it).
Now I encountered the problem that when I switch on/off the adaptive
meshing, the pressure filed results were different, and this difference was
relatively obvious(The velocity fields results were same).
At first, I thought the reason is that I didn't spread the data from the
finest level(these points were also defined on the finest level) to the
coarser level. But I found the Synchronization of the AMReX should have
finished the data spreading automatically.
So I want to know that if the Particle class has its own data spreading
operation, which is different from that of the AMReX Synchronization, to
ensure the results in single-level and multi-level are both same?
Thanks for your attention and advice in advance!
Regards,
Arashi
—
Reply to this email directly, view it on GitHub
<#4524>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YSCQWLM4SWFOSOJEDL3FOOX5AVCNFSM6AAAAACAFLRHZ2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGQ4TMNZYHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Can you share which inputs file you used and how you concluded the pressure
was different at different levels? It will be easiest to help if we can
reproduce what you are seeing
Ann Almgren
Senior Scientist; Dept. Head, Applied Mathematics
…On Thu, Jun 26, 2025 at 4:35 AM HanekawaArashi ***@***.***> wrote:
Sorry for the incomplete information! I use the IAMR to solve the CFD
problems!
—
Reply to this email directly, view it on GitHub
<#4524 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YWGFPRJOLGXP5422Z33FPLJ3AVCNFSM6AAAAACAFLRHZ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNJYGQ2TOOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello AMReX Team!
I'm writing CFD codes in AMReX for generating some points in the flow field, just like what the Particle class does(but I didn't use it).
Now I encountered the problem that when I switched on/off the adaptive regriding, the pressure filed results were different, and the differences were relatively obvious(The velocity fields results were same).
At first, I thought the reason is that I didn't spread the data from the finest level(these points were also defined on the finest level) to the coarser level. But I found the Synchronization in AMReX should have finished the data spreading operation automatically.
So I want to know that if the Particle class has its own data spreading operation, which is different from that of the AMReX Synchronization, to ensure the results in single-level and multi-level are both same?
Thanks for your attention and advice in advance!
Regards,
Arashi
Beta Was this translation helpful? Give feedback.
All reactions