Skip to content

Questions on having a separate set of grids for particles #2485

Answered by hengjiew
n8xm asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Nathan,

  1. The copy can go both ways, i.e., fluid grids <-> particle grids.

  2. 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 …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@n8xm
Comment options

Answer selected by n8xm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants