Skip to content
Discussion options

You must be logged in to vote

Hi Bowen,

  1. Yes
  2. You should set nGrow to at least 1 if you need neighbors, the exact number depends on how many cells you need to search to be sure you've found all the possible neighbors of a given particle. For example, if the particle diameter is less than the cell size, you know that all potential neighbors of particle i are within 1 cell from the one containing the particle's cell center. You may want more depending on the particle interaction cutoff and on whether you want to reuse the same neighbor list for multiple time steps.
  3. The neighbor particles are added to the end of the usual particle arrays, so you access the SOA data the same way you would for the regular particles, but wit…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Bowen0330
Comment options

@atmyers
Comment options

@Bowen0330
Comment options

Answer selected by Bowen0330
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