Dear jakschee,
as Adrian already mentioned, the function is correct.
I think the parameters are self-explanatory, but the indPtr
would be a std::shared_ptr
to a STLreader
in your case. The latticeSpacing
should be equal to or less than the Δx used in the simulation. It refers to the resolution of the second lattice used to derive particle information.
If you’re interested in the underlying method, please refer to the corresponding publications of our group [1-4].
The restriction to convex particles only applies to the discrete contact model [5]. However, for small particle volume fractions, an explicit contact model may not be necessary [6].
Best regards,
Jan
[1]: 10.1016/j.compfluid.2018.02.027
[2]: 10.3390/computation9020011
[3]: 10.3390/computation9040040
[4]: 10.5445/IR/1000136875
[5]: 10.1016/j.partic.2022.12.005
[6]: 10.1016/j.jocs.2024.102263