smoke source from volume primitive , not from geometry

   3571   2   0
User Avatar
Member
54 posts
Joined:
Offline
hello everyone

I'm using a smoke container , created with the shelf tools.
I have a volume primitive with density and velocity at SOP level that changes over time.
I want to use this volume as a source (inject density and velocity) for my smoke object.
ideally I would add (or maximum) the volume density at each frame .

sorry if it's a trivial question .
any pointers welcome.

luc
User Avatar
Member
607 posts
Joined: May 2007
Offline
Hello!

From what I tried, looks like it should pretty much work with the “Source from Object” tool on the Fluids shelf. If you want it to update the sourcing volume every frame you will need to tick “Use Deforming Geometry”, in the Static Object DOP for the source object. This seems to work alright for density.


I don't know much about the velocity case. Do you have a per-voxel velocity defined? I think the needed format would be volumes named vol.x .y and .z.
In the Smoke Solver's Sources tab there are encouraging-looking options for velocity merging, looks like the velocity sourcing is supported

eetu.
User Avatar
Member
3 posts
Joined: March 2009
Offline
To get the volume density into dops, use a sopscalarfield, point it to your volume and set it to the same dimensions as you smokeobject. Also set the time to ‘set always’ and $T. set the data name to something meaningful.

Use the apply data node to attach it to the smokeobject.

And then plug a gasCaluculate into the advection stage of the smoke solver, with that you can max the density field and the one you imported from SOPs…

for the velocities, do the same thing but with a vector field.
  • Quick Links