flow.solver.convergence
flow.solver.convergence(chi, config, inlet_velocity=None)Run the march without early exit and return its residual history.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| chi | jax.Array | Solid fraction, (NX, NY, NZ). |
required |
| config | FlowConfig | The flow configuration. | required |
| inlet_velocity | Any | (3,) inlet velocity, or None. |
None |
Returns
| Name | Type | Description |
|---|---|---|
| jax.Array | (f, history) – the final populations and the per-step relative |
|
| jax.Array | change recorded once per config.steady.check_every steps. |