We report the energy dependence of mid-rapidity (anti-)deuteron production in Au+Au collisions at $\sqrt{s_\text{NN}} =\ $7.7, 11.5, 14.5, 19.6, 27, 39, 62.4, and 200 GeV, measured by the STAR experiment at RHIC. The yield of deuterons is found to be well described by the thermal model. The collision energy, centrality, and transverse momentum dependence of the coalescence parameter $B_2$ are discussed. We find that the values of $B_2$ for anti-deuterons are systematically lower than those for deuterons, indicating that the correlation volume of anti-baryons is larger than that of baryons at $\sqrt{s_\text{NN}}$ from 19.6 to 39 GeV. In addition, values of $B_2$ are found to vary with collision energy and show a broad minimum around $\sqrt{s_\text{NN}}=\ $20 to 40 GeV, which might imply a change of the equation of state of the medium in these collisions.
We report the first measurement of rapidity-odd directed flow ($v_{1}$) for $D^{0}$ and $\overline{D^{0}}$ mesons at mid-rapidity ($|y| < 0.8$) in Au+Au collisions at $\sqrt{s_{\rm NN}}$ = 200\,GeV using the STAR detector at the Relativistic Heavy Ion Collider. In 10--80\% Au+Au collisions, the slope of the $v_{1}$ rapidity dependence ($dv_{1}/dy$), averaged over $D^{0}$ and $\overline{D^{0}}$ mesons, is -0.080 $\pm$ 0.017 (stat.) $\pm$ 0.016 (syst.) for transverse momentum $p_{\rm T}$ above 1.5~GeV/$c$. The absolute value of $D^0$-meson $dv_1/dy$ is about 25 times larger than that for charged kaons, with 3.4$\sigma$ significance. These data give a unique insight into the initial tilt of the produced matter, and offer constraints on the geometric and transport parameters of the hot QCD medium created in relativistic heavy-ion collisions.