Appearance
Blocks Fluid (Legacy)
Flare Live 3.0 · System · API type simexp.blocks_fluid.solver.
The original fluid solver is retained for existing projects. It uses a fixed block capacity and requires the separate legacy Coupling System for FluidBoundary handling. Use Blocks Fluid Gen 2 for new projects.
Large pool limits allocate resources even when few blocks are active. Its low/high demand criteria, block resolution and resource behavior differ from Gen 2. Keep only the intended enabled solver. Particle Tracer remains tied to this solver. See support.
Properties
Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.
Blocks
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
blocks.max_block_count | 512 | Number of slots in the fixed GPU block pool, allocated at initialization. A higher value increases memory use even when most slots are idle. | No |
blocks.block_resolution | (25, 25, 25) | Number of fluid cells per block along X, Y and Z. Multiply each count by Fluid resolution to get that side length in meters. | No |
blocks.update_interval | 5 | Number of simulation steps between periodic block demand updates. Boundary coupling can request additional blocks between updates. | No |
blocks.need_border_size | 5 | Width in cells of the demand margin near block faces. Activity within this margin can request adjacent blocks. | No |
blocks.create_criteria_type | 2; 0=VelocityMagnitude, 1=VorticityMagnitude, 2=VorticityMagnitudeLbm | Flow-activity measure used for block demand. VelocityMagnitude uses speed relative to background in m/s. VorticityMagnitude uses vorticity in 1/s. VorticityMagnitudeLbm uses vorticity in lattice units. | No |
blocks.low_demand_need_criteria | 0.02 | Lower activity threshold for identifying regions that still need a block. Use the units of Create criteria type and keep this below the high threshold to reduce repeated block removal and creation. | No |
blocks.high_demand_need_criteria | 0.04 | Higher activity threshold for requesting blocks as flow spreads. Use the units of Create criteria type. Lower values make weaker disturbances grow the active domain. | No |
blocks.create_jacobi_iterations | 8 | Number of initialization iterations for newly created blocks. | No |
blocks.use_experimental_create_method | false | Use the alternate initialization path for newly allocated blocks. It fills particle distribution data from neighboring cells. The default path fills density and velocity before constructing the distributions. | No |
blocks.center_target | None | Optional scene object whose current position centers the region where flow activity can request blocks. | No |
blocks.max_distance_to_target | 1.0 | Maximum distance in meters from Center target to a block's center for flow-driven requests. Coupling requests can still extend beyond that region. | No |
Fluid
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
fluid.resolution | 0.01 | Cell spacing, m; finer cells increase domain and boundary cost. | No |
fluid.max_velocity | 50.0 | Velocity scale, m/s; raises temporal resolution/cost when increased. Keep above expected relevant flow speeds. | No |
fluid.initial_density | 1.225 | Fluid density, kg/m³; scales physical momentum exchange. | No |
fluid.initial_velocity | (0.0, 0.0, 0.0) | Initial background fluid velocity, in world axes and m/s. Background Flow components can change the background after initialization. | No |
fluid.kinematic_shear_viscosity | 1.8e-05 | Kinematic viscosity, m²/s; not dynamic viscosity. | No |
Visualization
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
visualization.velocity_range_min | 0.0 | Lower displayed disturbance-speed range, m/s; raising it can suppress faint background. | Yes |
visualization.velocity_range_max | 10.0 | Upper displayed disturbance-speed range, m/s. | Yes |
visualization.opacity_scale | 1.0 | Dimensionless volume opacity multiplier; changes appearance only. | Yes |
visualization.sample_rate_multiplier | 1.0 | Volume rendering sample density. Ray samples are spaced one fluid cell width divided by this multiplier. Larger values sample more densely and cost more to render. | Yes |
Export
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
export.enabled | false | Include legacy Blocks Fluid data in world export requests. Files are written under the world's export directory in fluid_blocks. | No |
export.type | 1; 0=FullDataVdb, 1=LimitedRangeVtk | FullDataVdb writes the active velocity and density grids. LimitedRangeVtk writes a bounded velocity grid and a separate VTK file of active blocks. Shown when sibling enabled = True. | No |
export.resolution | (100, 100, 100) | Number of output samples along the three fluid-grid axes for LimitedRangeVtk. Use positive counts. Shown when sibling enabled = True. | No |
export.down_sample_factor | 0 | Coarsening for LimitedRangeVtk. Each output point averages valid velocities from a cube of (factor + 1) cells on each side. Zero uses one cell per point. Shown when sibling enabled = True. | No |
export.center_target | None | Scene object whose world position selects the middle of the LimitedRangeVtk region. The solver snaps it to its nearest lattice coordinate and uses the fluid-grid axes. Required for this format. Shown when sibling enabled = True. | No |
Simulation input/output: none.