Skip to content

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 pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
blocks.max_block_count512Number 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_interval5Number of simulation steps between periodic block demand updates. Boundary coupling can request additional blocks between updates.No
blocks.need_border_size5Width in cells of the demand margin near block faces. Activity within this margin can request adjacent blocks.No
blocks.create_criteria_type2; 0=VelocityMagnitude, 1=VorticityMagnitude, 2=VorticityMagnitudeLbmFlow-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_criteria0.02Lower 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_criteria0.04Higher 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_iterations8Number of initialization iterations for newly created blocks.No
blocks.use_experimental_create_methodfalseUse 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_targetNoneOptional scene object whose current position centers the region where flow activity can request blocks.No
blocks.max_distance_to_target1.0Maximum 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 pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
fluid.resolution0.01Cell spacing, m; finer cells increase domain and boundary cost.No
fluid.max_velocity50.0Velocity scale, m/s; raises temporal resolution/cost when increased. Keep above expected relevant flow speeds.No
fluid.initial_density1.225Fluid 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_viscosity1.8e-05Kinematic viscosity, m²/s; not dynamic viscosity.No

Visualization ​

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
visualization.velocity_range_min0.0Lower displayed disturbance-speed range, m/s; raising it can suppress faint background.Yes
visualization.velocity_range_max10.0Upper displayed disturbance-speed range, m/s.Yes
visualization.opacity_scale1.0Dimensionless volume opacity multiplier; changes appearance only.Yes
visualization.sample_rate_multiplier1.0Volume 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 pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
export.enabledfalseInclude legacy Blocks Fluid data in world export requests. Files are written under the world's export directory in fluid_blocks.No
export.type1; 0=FullDataVdb, 1=LimitedRangeVtkFullDataVdb 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_factor0Coarsening 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_targetNoneScene 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.