Jump to content
Sign in to follow this  
dark_cry

Controlling particle count per voxel

Recommended Posts

Hi there, 

I'm trying to control flip particle count per voxel. The idea is to evaluate particle count per voxel on every step (Gas Particle Count) and then analyze the pcount field.. If pcount > n - delete some of particles (pcount - n)  to make n numbers.

And if pcount < n - add (n-pcount) particles. Any help is highly appreciated. 

Thanks, 

 

Share this post


Link to post
Share on other sites

I think that is what reseeding already does. It measures particle counts and tries to keep a balanced amount. The value is on the flipsolver under Particle Motion under Reseeding tab. It is called Particles Per Voxel. It is derived from the fliptank grid scale.

When starting out it may be simpler to use the fluid system presented rather than to immediately try to modify it.

Edited by Atom

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×