flow.initial_populations
flow.initial_populations(shape, inlet_velocity)
Populations at rest density moving uniformly at the inlet velocity.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| shape | tuple[int, int, int] | (NX, NY, NZ) grid shape. |
required |
| inlet_velocity | jax.Array | (3,) lattice velocity. |
required |
Returns
| Name | Type | Description |
|---|---|---|
| jax.Array | Equilibrium populations, (19, NX, NY, NZ). |