Jump to content

Recommended Posts

Hello everyone,
I've been getting into DOPs recently and i just cant figure out something.

I have a SmokeObject and an RBD object. They are both plugged into the Pyro solver.

The smoke has a collision relationship with the RBD object, and the Pyro solver's option "Temperature Merge" is set to "Collision Interior".
In order for the "Temperature Merge" to happen the RBD object has to have a temperature field.

Now what i want is for the RBD object's temperature field is to be just like what the smoke's temperature is but subtracted by a number so that the RBD object is always cooling the smoke.

I've Created a fog volume that consists only of value 1 voxels inside the RBD Object and value 0 voxels outside of the RBD Object.

I'm planning on using this as a mask for the smoke's temperature field (multiplying these two fields) and then lowering the value for all the kept voxels.

Now i don't know what is the best way of achieving this but i thought that I can bring in the mask field (the only 1 or 0 field) into the dop network using the "Sop Scalar Field Node" and then extract the temperature field out of the SmokeObject using the "Fetch Data Node", wiring these two into the "Gas Calculate Node" and then blending and doing post subtraction in there.

I don't even know if that is the right way to do it, but anyway once I connect the scalar field (the temperature mask, brought in from sops) into the gas node everything is ok. Once i plug in the data (SmokeObject's temperature field) into the gas node it reports an error saying that the connection to the fetchdata node is the wrong type.

How could this be?  Both the "SopScalarField" and the "FetchData" nodes output data, how come that the gas calculate will accept data coming from the "SopScalarField" node and not from the "FetchData" node ?

 

I've been trying to resolve this for a while now, if anyone could help out it would be greatly appreciated

 

Pls_Help.jpg

  • Like 1
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...