Grucho Posted September 16, 2014 Share Posted September 16, 2014 Hello everyone, I tried to search something but I didn't find any solution yet. I am trying to calculare vorticity over a particle simulation in H13 but I don't know how. There is a solution to do it in sop after I have cached the particles? I just found an otl that it is suppose to do it but it seems to do not work. Thanks in advanced! Quote Link to comment Share on other sites More sharing options...
Skybar Posted September 16, 2014 Share Posted September 16, 2014 Take a look at the Whitewater Source SOP. It can calculate vorticity. 1 Quote Link to comment Share on other sites More sharing options...
Grucho Posted September 16, 2014 Author Share Posted September 16, 2014 Ok, thanks for the info. I manage to extract the vop that does the math on the whitewater system but it needs velocity volume (vel.x,vel.y and vel.z) but since I am running a plain particles sim I dont have those attributes. How can i compute them? thanks! Quote Link to comment Share on other sites More sharing options...
Whatsinaname Posted September 16, 2014 Share Posted September 16, 2014 Don't you have any point velocity (v) information on your particles? Quote Link to comment Share on other sites More sharing options...
Grucho Posted September 16, 2014 Author Share Posted September 16, 2014 Yep I do have it but it needs a volume velocity i think. Quote Link to comment Share on other sites More sharing options...
fieryspoon Posted September 16, 2014 Share Posted September 16, 2014 Can you do a VDB from Particles and turn the particle velocity 'v' into a volume grid velocity 'vel'? Quote Link to comment Share on other sites More sharing options...
Grucho Posted September 16, 2014 Author Share Posted September 16, 2014 How can i do it? Quote Link to comment Share on other sites More sharing options...
Skybar Posted September 16, 2014 Share Posted September 16, 2014 The Whitewater Source SOP can take only particles as input, and create surface and vel fields for you. Set this up under its "Sources" tab. 1 Quote Link to comment Share on other sites More sharing options...
SpencerL Posted September 16, 2014 Share Posted September 16, 2014 you can create a vel field from the particles v, then measure the curl (vorticity) of the vel field and map that back onto the particles. Ive attached a simple example. vorticityFromPops_v1.hip 1 Quote Link to comment Share on other sites More sharing options...
Grucho Posted September 17, 2014 Author Share Posted September 17, 2014 Many thanks! VDB are just amazing! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.