Skip to content

Reply To: Particlulate Flow

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 Particlulate Flow Reply To: Particlulate Flow

#7353
jan
Participant

Dear Henderson,

yes, it should work like that, but if you’re using the ParticleManager, you also have to update the external acceleration stored there. Apparently this is not easy in OpenLB 1.5 because it’s a private variable. In the future release you’ll update it like this: particleManager.setExternalAcceleration(accExt);. This function is missing in 1.5. As a workaround, if waiting for the next release is not an option, you could make the variable _externalAcceleration public in src/olb/particles/particlemanager.h and then modify it directly or write a simple setter function yourself.

Best regards,
Jan