Skip to content

Fluid resolution, timestep and block demand ​

Resolution h is physical cell spacing. Max velocity U sets the solver's velocity/time scale; Gen 2 requests dt = h/U. Read the returned effective timestep after initialization. Increasing U lowers dt and raises steps per simulated second; it is not merely a color-range setting. Too small a velocity scale can destabilize the numerical state.

At fixed physical volume, halving cell spacing raises cell count roughly eightfold and can also raise temporal/boundary cost. Choose geometry fidelity, solver resolution and desired real-time ratio together. A coarse fast simulation is not necessarily force-accurate.

Demand and lifetime ​

Blocks are requested by flow activity and dynamic boundary/coupling locations. Static terrain does not generate demand. Need Criteria uses the selected activity type/units, with a low threshold at half the Gen 2 high setting. Lower thresholds retain more wake; high thresholds or a tight center-target range truncate it. Vorticity thresholds in solver units depend on resolution and are not fixed SI thresholds.

Gen 2 starts with initial_capacity and grows its pool, subject to max_block_count and resources. The maximum is a cap, not preallocated memory. Original Blocks Fluid uses a fixed pool. Block edge currently specifies a cube (default 25 cells), not arbitrary rectangular dimensions.

Update Interval is the periodic flow-demand interval; boundaries/actuator sources can request updates sooner. Increasing it is not equivalent to freezing the domain. Retire Delay Steps reduces repeated creation/recycling near a threshold; static cut records can remain cached after block retirement. These optimizations do not eliminate fine-grid costs.

Practical tuning ​

First ensure reasonable h/U/material properties and useful domain coverage. Observe block count, capacity growth, memory and boundary statistics. Then vary one demand/lifetime setting at a time at equal simulated duration. Do not attribute all low GPU occupancy to transport or increase maximum capacity indiscriminately.

Distinguish source geometry complexity, boundary-node work, block-creation work, rendering/export, UI inspection and control overhead. Disable unneeded data exporters for a timing study, not the physics you intend to measure. See Gen 2 Reference.