Jump to content

Optimizing Smoke SIMs


art3mis

Recommended Posts

As I venture deeper into smoke &pyro one issue I am facing are the extremely LONG sim times and inefficient playback times of my cached sims.

I am using a voxel density of .01 and show 216 million density and collision voxels.
I've enabled ‘Use OpenCL’ on my Pyro solver.

Even after caching a 204 frame simulation which takes several hours with a 12 core Threadripper and dual Titan Volta GPUs I can only play back the simulation in the Geometry Viewer at about 1 fps.

This workflow simply makes it impossible to proceed and iterate.

I need the .01 voxel density otherwise the resulting smoke sims appear too ‘jagged’.

Attached are screen grabs of my Pyrosolver and caching SOPs info details.

Are there any tips or workarounds that people use to optimize smoke & pyro workflows? Are 216 million voxels simply too many?

FileCache.png

pyroSolver_collisionDensityVoxels.png

Link to comment
Share on other sites

All depends on what do you want to do with your velocity field later. General ways is:

1. Split velocity and density into different caches.

2. Save velocity with volume compress as 16bit float.

3 . Convert your volumes to vdb.

4. Clamp your velocity with vdb clip using density as mask.

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