-
The Particles documentation states that the "set of grids used to define the Futhermore, according to the section on interacting with mesh data, if the particles are not "defined on the same grid as the... field MultiFabs":
I have two questions about the above.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello Nathan,
Hengjie |
Beta Was this translation helpful? Give feedback.
Hello Nathan,
The copy can go both ways, i.e., fluid grids <-> particle grids.
It is easier to show this with an example. Assume we are solving two boxes of equal size with 2 processes, i.e., 1 box per process. The fluid computation is balanced. Now if box 1 has much more particles than box 2, the particle computation will be very imbalanced. The dual-grid approach allows you to, for instance, cut box1-2 to four smaller boxes as particle grids and assign one small box to process 1 and the others to process 2. In this way, it can better balance particle computation at the expense of transferring data between two sets of grids (particle and fluid). As the paragraph you cited says, this …