Announcement

Collapse
No announcement yet.

Adaptive Cell Grid

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adaptive Cell Grid

    In the image attached you can see a train smoke. It has 15 mil cells. Is there anyway in the future activate cells inside the grid that are being used only. I know about adaptive grid but it expands in all directions creating a lot of dead space that wastes resources.

    Would be nice to have a grid that can enable cells that are being calculated (green color in the image). Yellow ones are stand by cell ready to be activated anytime in case active green cells expand. Yellow buffer cells can be set to whatever thickness you want. And then everything in red are disabled cells since they have no smoke to calculate but can turn to yellow or green in case smoke changes direction.


    Looking at the image the box is 15 mil cell but where the smoke is it is only 2-3 mil cells so the rest of the grid box is just wasting resources. And custom mesh box for cell is inconvenient to use.

    Unless I am mistaking and Phoenix does not waste any resources on empty cells that contain no data
    Attached Files

  • #2
    Yup, we can do it even right now, but it will make the simulation several times slower. Sims runs the fastest in box-shaped grids, and either there are many unused voxels when the shape of the simulated effect is irregular, or there would be a slowdown when different smaller box-shaped pieces communicate with one another. Also, note that especially for fire/smoke simulations the seemingly empty space around the fluid is very important - it allows for a more realistic behavior of the air currents that influence the smoke and fire and for better rolling and general motion of the fluid.

    However, in your case, you can do something different - you can tilt the grid and it should still sim and render okay

    Hope this helps!
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      Tilting the grid, do it all the time.. works well
      Adam Trowers

      Comment


      • #4
        I see

        Thank you!

        Comment

        Working...
        X