  Heavy quarks are effective probes of the properties of the QGP created in
ultra-relativistic heavy-ion collisions. The ALICE Collaboration measured the
non-strange D-meson production in Pb--Pb collisions at $\sqrt{s_{\rm
NN\,}}=5.02$ TeV. The in-medium energy loss can be studied via the nuclear
modification factor measurement. The measurement of the D-meson elliptic flow,
$v_2$, allows us to investigate the participation of the heavy quarks in the
collective expansion of the system at low momentum and their possible
thermalization in the medium. Furthermore, the Event-Shape Engineering
technique is used to measure D-meson elliptic flow in order to study the
coupling of the charm quarks to the light quarks of the underlying medium.
