Velocity BC
Hi
I would like to impose velocity boundary conditions, for example in 2D for Pos[p].x<0 . Right now I simply override velocity in such particles in ComputeVerletVars function. I guess that is not the best approach since the results are quite unstable. Is there better way to do it? What is the difference between boundary particles and internal particles, besides the fact that boundary particles do not move.
Btw, I cannot use "motion" since the velocity profile I would like to impose is quite complex.
And another question, how can I generate new particles, in case of inflow BC.
Many thanks for your answers.
best G
I would like to impose velocity boundary conditions, for example in 2D for Pos[p].x<0 . Right now I simply override velocity in such particles in ComputeVerletVars function. I guess that is not the best approach since the results are quite unstable. Is there better way to do it? What is the difference between boundary particles and internal particles, besides the fact that boundary particles do not move.
Btw, I cannot use "motion" since the velocity profile I would like to impose is quite complex.
And another question, how can I generate new particles, in case of inflow BC.
Many thanks for your answers.
best G