Solver SOP inside a SOP Solver inside a DOP network ?

   980   1   0
User Avatar
Member
6 posts
Joined: July 2022
Offline
Hello everyone!

Here's what I'm trying to: a "solid" (very viscous) flip object melts and becomes less viscous when near a specific object (the melter). And I would like the melter to move during the sim and the fluid to react accordingly.
I've managed to get 50% there by using a SOP Solver inside the dop net, checking the distance to the object, and setting the viscosity accordingly. Here is the network:


However, I'd like to go one step further, as with this solution the fluid immediately becomes solid again when the object is not near it anymore... So I used a solver SOP inside the SOP solver (how confusing), and managed to animate my attribute as I wish (slowly fade out rather than instantly), I can check that it works with the visualisation tool. However, it seems that introducing the solver node made it impossible to edit the viscosity, as the object now stays solid during the whole sim.

WOuld anyone know how to fix it ? (I found an old message on the houdini forum, but the uploaded solution was no longer accessible )

Thank you !

Attachments:
Capture d'écran 2025-01-08 143157.png (62.0 KB)

User Avatar
Member
9379 posts
Joined: July 2007
Offline
Using Solver SOP within SOP Solver DOP will not work as expected as thats nesting another Dopnet inside
Also its completely unnecessary since you are already in simulation feedback loop

Have a look at Viscous fluids shelf which has tools for melting and cooling FLIP, and you can explore how its done there and customize

https://www.sidefx.com/docs/houdini/shelf/heatwithinobject.html [www.sidefx.com]
Edited by tamte - Jan. 8, 2025 10:26:26
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links