Left: 2D lattice Boltzmann (LB) multilayer simulation of a multimaterial PBF process using SAMPLE2D, reprinted from Scherr et al. (2020): (a) the electron beam acting on the fifth layer is shown in blue; (b) the final composition profile after ten layers. Right: simulation result using SAMPLE2D taken from Küng et al. (2021), concentration distribution after an EBM process