HyDomain - Grid

 

Cell size

HyFLIP domains use a grid made of cells. With a value of 0.3, the smallest volume element of the domain is 0.3 m x 0.3 x 0.3 m. The more cells, the more details you will get, but at the cost of longer simulation times. “Cell size” is one of the most critical parameters with Hybrido simulations, because it also responsible for fluid-object interactions. Please visit these pages to learn more:

Creation mode

Here you can decide how the simulation grid will be created and handled: 

  • In dense grids, all cells are stored, regardless whether they contain information or not. This grid type requires more memory, but it is very fast and GPU-friendly.
  • In sparse grids, only cells with information are stored. This grid type requires less memory.
  • Adaptive grids are a very good compromise between speed and memory.
@ threshold

This parameter is only available for adaptive grids and describes the ratio between cells with and without particles. With 0.0 the grid is perfectly sparse (= less memory, but slower), with 1.0 it is completely dense (= more memory, but faster).

@ block granularity

This parameter is only available for adaptive and sparse grids. These grid types are subdivided into blocks of cells to reduce the amount of RAM during a simulation:

Number of cells per block = @ block granularity3

The less cells per block, the more memory-efficient the simulation, but at the cost of longer simulation times.