remove particle
im going to implement a function in icoLagrangianFoam, and i use basicKinematicCloud, i want to delete a particle from specific zone in computational domain. for now i can return access to particle and mark it, but i dont know how to remove it.
deleteParticle or move functions are a part of Cloud class, i can not understand how i can access to Cloud.H from basicKinematicCloud object? |
i continue this post, it can be achieve with following piece of code:
Quote:
Quote:
|
the problem solved :)
|
delete particle
Quote:
would you please explain how did you managed to solve the problem? |
following syntax:
Code:
typedef typename Foam::KinematicParcel<Foam::particle> parcelType ; |
hi, could you please tell me where you write those codes?
|
you can add it to your Lagrangian solver and recompile the solver
|
All times are GMT -4. The time now is 19:20. |