Jump to content

Move RBD objects with fluid velocity field?


melazoma

Recommended Posts

Hi all,

I remember hearing that the velocity field created by a fluid simulation can be used to move RBD objects in another sim.

I've looked into the Force Field dop, but this dop takes geometry data with "force" attribute, instead of a vector field data like "vel" (as created by a fluid sim)

Perhaps I can pass the vel data to a popnet first and advect some particles and use that motion to drive the RBDs.

But is there a straight forward way to use the vel data in another RBD sim?

Link to comment
Share on other sites

Hi all,

I remember hearing that the velocity field created by a fluid simulation can be used to move RBD objects in another sim.

I've looked into the Force Field dop, but this dop takes geometry data with "force" attribute, instead of a vector field data like "vel" (as created by a fluid sim)

Perhaps I can pass the vel data to a popnet first and advect some particles and use that motion to drive the RBDs.

But is there a straight forward way to use the vel data in another RBD sim?

Here is a quick test.

Fetched the velocity and set the force attribute to vel.

EDIT.

It just crossed my mind that there is a prebuilt asset for what i did in my file, the fluid force DOP.

rbd_velField.hip

Edited by mawi
  • Like 1
Link to comment
Share on other sites

Here is a quick test.

Fetched the velocity and set the force attribute to vel.

EDIT.

It just crossed my mind that there is a prebuilt asset for what i did in my file, the fluid force DOP.

It works! Thanks a lot for the pointers.

I was also looking for a way to import a bgeo-cached velocity field back into dops as a field force.

A SOP Vector Field did it for me. A quick example is attached.

moveRBDwFluid.hipnc

  • Like 1
Link to comment
Share on other sites

  • 6 years later...

 

Quote

 

I was also looking for a way to import a bgeo-cached velocity field back into dops as a field force.

A SOP Vector Field did it for me. A quick example is attached.

 

 thaaaaaaaaaaaaanksss youuu  i was looking for a way to do this :D

Edited by dyei nightmare
Link to comment
Share on other sites

On 29/5/2010 at 9:17 PM, melazoma said:

It works! Thanks a lot for the pointers.

I was also looking for a way to import a bgeo-cached velocity field back into dops as a field force.

A SOP Vector Field did it for me. A quick example is attached.

moveRBDwFluid.hipnc

  amazing...   such a simple file but yet,  it explains a looot..   the backbone of the dops logic, thanks

Edited by dyei nightmare
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...