About the basic Advection_AmrLevel test case #4483
-
Hi, Sorry for bothering again, this time we are trying to study the AmrLevel interface. Here in the Test case, during my study, I found it a little difficult to understand why the ghost cell's number in Umac is defined as the number of iteration for nodal velocity, which is eventually used to evolve the flow field.
from this file Looking forward to hearing from you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's because of particles and subcycling. We use Umac to advance particles. A particle can move into ghost cells during subcycling. So we need enough ghost cells. How many we need depends on the number of iterations. However, the code could be more efficient and clearer. Without particles, the number of ghost cells could be simply one. |
Beta Was this translation helpful? Give feedback.
It's because of particles and subcycling. We use Umac to advance particles. A particle can move into ghost cells during subcycling. So we need enough ghost cells. How many we need depends on the number of iterations.
However, the code could be more efficient and clearer. Without particles, the number of ghost cells could be simply one.