Jump to content

Pyro - Wind by temperature


bumper

Recommended Posts

Hello !

I'm trying to add wind that affect only the voxels with low temperature but for some reasons it's not working.

 

Here the HIP FILE wind.hipnc

 

I feel like the attribute @temperature is not recognized inside the dop network in a gas field wrangle.

I did the same thing but with the height in Y and it's working. The gas Field Wrangle can read the P attribute and the Vel.

When the smoke reach 2 meters height it got affected by the force.

image.thumb.png.6abdd1f610b3bd982ce516dc5d201642.png

 

 

If I do that with the temperature, as it's not read the attribute is equal to zero so even with a very low value the force will be applied...

image.thumb.png.98db9e79a33df1da66936b7b06229081.png

 

 

So I managed to do that with a custom vel field (I scattered points with v attribute that goes on the side and I rasterize it in volume) but it may be heavy on larger sim so I'm trying to find a way to use directly the temperature if that's possible.

image.thumb.png.ca922a57e55679a6150fba2a84b0164e.png

 

Thank you for your help !

 

 

Edited by bumper
Link to comment
Share on other sites

That's odd. Your example file works for me unchanged. One thing to remember, is once you dive inside the DOPNet, your f@temperature point attribute no longer exists. It becomes voxel data. Try removing the f and just reference @temperature.
Try this code. in your gas wrangle. This is actually a cure for mushrooming velocity.

@vel *= @temperature;

 

Edited by Atom
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...