Jump to content

how to remove tiny water drops in fluid simulation


jyh126

Recommended Posts

Hi all,

Do you know how to remove tiny water drops in fluid simulation?

As you can see below, there are many water drops in the air and these are looks weird.

I wanna kill that particles, but I don't know what I use among the various attributes.

I tried remove points by vector speed, but it's not good result.

 

Is there any way to kill the particles?

or should I remove them manually by @ID? 

or should I simulate until particles looks good?

 

Thanks in advance! :)

spalsh_tset.png

Link to comment
Share on other sites

You can filter out lone points before meshing using pcopen+pcnumfound vex functions:
// eg: search for 30 points within a radius, if less are found they are on their own, delete them.
 

int handle = pcopen(0,"P",@P,chf("radius"),chi("maxpoints"));
if(pcnumfound(handle)<chi("maxpoints")){
    removepoint(0,@ptnum);
}
// same in shorter form
//if(pcnumfound(pcopen(0,"P",@P,chf("radius"),chi("maxpoints")))<chi("maxpoints"))removepoint(0,@ptnum);

filter_lone_points_bunker_01.hipnc

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...