Prescribe velocity in periodic open boundaries?
Hey guys!
I have tried to search through the previous post but can’t find a suitable answer. As I understand, in the current implementation of DualSPHysics (v 3.1) there is no possibility of prescribing the velocity of particles that is reintroduced in the domain when using the periodic open boundary condition. Is this feature difficult to implement? Any ideas how it should be done and where to start? Thanks for a great code!
/ Patrick
I have tried to search through the previous post but can’t find a suitable answer. As I understand, in the current implementation of DualSPHysics (v 3.1) there is no possibility of prescribing the velocity of particles that is reintroduced in the domain when using the periodic open boundary condition. Is this feature difficult to implement? Any ideas how it should be done and where to start? Thanks for a great code!
/ Patrick
Comments
Alex
You can force the velocity of reappeared particles in void JSphCpu::ComputeVerletVars(tfloat3 *vel1,tfloat3 *vel2,float dt,float dt2,tfloat3 *velnew), if you use verlet stepping. I hope this helps.
Best, G.