Jump to content

mask surface tension


csp

Recommended Posts

Hi,

I have two sources in a flip solver and I want to have different surface tension to each one of those sources, how that's possible? In general how the group parameter in a gas microsolvers as surface tension can be used in order to effect part of a flip silumation?

 

Or is there any way to mask it? I tried unsuccessfully to create a new scalar field matched to surface and use it as mask using gasparticletofield which was reading particle custom attribute where points of one source had value of 1 and the other of 0. Then I replaced Surface Field parameter in Gas Surface Tension with that mask filed, but as I said it didn't worked.

regards,
Christos

Link to comment
Share on other sites

Thanks David, this what exactly I was trying to do with the masking method but instead of gasparticletosdf I used gasparticletofield as I described above. Thanks again.

It would be nice if surface tension was like viscosity or density which can be attribute driven.

Link to comment
Share on other sites

Look at this modified version; My surface Tension asset supports particle and field approach, and you can use an attribute as a mask. For high particle counts (Large Scale sims) use the field based approach instead.

 

Hope that helps.

surfaceTensionMask_dv.hipnc

Edited by Pazuzu
  • Like 9
Link to comment
Share on other sites

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...