Reply To: Wall contact in particle simulation (dkt2d example)
Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› Forums › OpenLB › General Topics › Wall contact in particle simulation (dkt2d example) › Reply To: Wall contact in particle simulation (dkt2d example)
April 26, 2024 at 7:16 pm
#8536
jan
Participant
Dear avrachan,
yes, that should be the easiest way for now:
for (std::size_t iP = 0; iP < particleSystem.size(); ++iP) {
auto particle = particleSystem.get(iP);
// Add the above function calls here
}
Best regards,
Jan
