Initial Conditions¶
By default, the distribution functions are initialized at rest with a uniform density (\(\rho_{LBM} = 1\), i.e.
avg_rho): the Poiseuille deck needs nothing more.
Additional initial conditions are added in the set_distributions hook, run after the default initialization:
Available operators:
set_distribution: sets \(f_i = w_i \cdot\)value(rest state of densityvalue) everywhere, in a box or in a quadric;set_dp_pressure: pressure perturbation \(\Delta p\) (Pa) relative to the reference state;set_dp_pressure_gradient: linear pressure ramp along one axis;init_couette,init_double_couette: equilibrium Couette velocity profiles.
Restart
When the simulation restarts from a checkpoint (read_dump), set_distributions is skipped: the distributions
of the checkpoint are used.