Appearance
Coupling for Blocks Fluid (Legacy)
Flare Live 3.0 · System · API type simexp.blocks_fluid.coupling.
Ordinary immersed-boundary coupling for the legacy Blocks Fluid solver. It densely samples participating rigid surfaces; selecting FluidBoundary does not make Box/Cylinder samplers implemented. A large floor can create extreme sampling/memory costs even with few triangles.
Slip ratio is the old IB tangential correction setting, not Gen 2 Navier slip length/cap. Correct iterations/spread kernel/thickness affect correction and stability. Use with the old solver intentionally, not alongside Gen 2 boundary handling on the same surfaces.
Properties
Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.
Coupling
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
coupling.cache_directory | "sample_cache" | Subdirectory of the world's working directory for cached rigid-body surface samples. Use a separate folder to regenerate samples for a comparison. | No |
coupling.target_sample_area_lbm | 0.1 | Target surface area represented by one sample, in cell². With cell spacing h meters, physical area is this value × h² m². Smaller values use more samples and memory. | No |
coupling.sample_seed | 0 | Seed for random generation of candidate samples on a mesh. Used when samples are generated. A valid cache may be reused after this setting changes. | No |
coupling.pre_sample_multiplier | 10.0 | Candidate sample density relative to 1 ÷ target sample area. Increasing it gives the spacing filter more candidates and makes uncached sampling take longer. | No |
coupling.estimated_disk_fill_rate | 0.3 | Dimensionless initial estimate used to choose the spacing of the sampled points. A larger value gives a larger exclusion radius for the same target area. | No |
coupling.two_way_coupling | true | Apply the opposite of the fluid correction force to the rigid body. The boundary still corrects the fluid when this option is off. | No |
coupling.correct_iterations | 2 | Number of fluid-velocity correction passes per simulation step. Higher values repeat the correction and increase work per step. | No |
coupling.spread_kernel | 1; 0=Nearest, 1=Phi2, 2=Phi4Fast | Weighting for sampling fluid velocity and density and distributing corrective forces. Nearest uses one node, Phi2 uses a compact neighborhood, and Phi4Fast uses a wider neighborhood. | No |
coupling.block_need_set_size_factor | 1.0 | Capacity multiplier for the GPU set of block requests from coupling samples. The capacity is based on the fluid solver's Max block count. | No |
coupling.create_border_size | 5 | Margin in fluid cells used when requesting blocks around the coupling samples. | No |
coupling.slip_ratio | 0.0 | Fraction of the tangential velocity mismatch to omit from the correction. At 0 the full mismatch is corrected. At 1 only the normal component is corrected. | No |
coupling.boundary_thickness_lbm | 1.0 | Effective thickness assigned to each sample, in cell widths. The sample area times this thickness scales the resulting force. | No |
coupling.max_velocity_difference_lbm | 0.02 | Magnitude limit for the wall-to-fluid velocity mismatch used in each correction pass, in lattice velocity units (cell widths per step). | No |
coupling.exceed_warn_ratio | 0.1 | Threshold for reporting frequent clamping when exporting. The reported ratio uses the number of clamped corrections divided by sample count times the number of steps since the previous export. Multiple correction passes can count the same sample more than once per step. | No |
Export
| API path | Constructor default / enum choices | Meaning / units | Editable in Simulation |
|---|---|---|---|
export.enabled | false | Include coupling sample data in world export requests. Also enables the clamping warning evaluated during export. | No |
export.type | 0; 0=Vtk | Vtk writes sample positions, surface normals, body indices and sample force vectors. Shown when sibling enabled = True. | No |
Simulation input/output: none.