Reply To: Resolved particle inlet
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Resolved particle inlet › Reply To: Resolved particle inlet
October 23, 2024 at 3:39 pm
#9420
jcs
Participant
Thanks Mathias for your fast response. I’ve been attempting your suggestion in the meantime, but encountered the issue of a pressure wave emanating from the particle once the particle dynamics were activated. I’ve managed to avoid this issue now by using the setField function to set the particle velocity immediately after executing the particle manager for the first time.
auto particleA = particleSystem.get( 0 );
Vector<T,2> velocitynu = {0.1,0};
particleA.template setField<MOBILITY,VELOCITY>(velocitynu);