Skip to content

Reply To: Wall contact in particle simulation (dkt2d example)

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Wall contact in particle simulation (dkt2d example) Reply To: Wall contact in particle simulation (dkt2d example)

#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