The phenomenological analysis of various characteristics of \(J/\psi\) and D mesons in PbPb collisions at the center-of-mass energy 2.76 TeV per nucleon pair is presented. The data on charmed meson momentum spectra and elliptic flow are reproduced by two-component model HYDJET++ including thermal and non-thermal production mechanisms. The significant part of D-mesons is found to be in a kinetic equilibrium with the created medium, while \(J/\psi\)-mesons are characterized by earlier (as compared to light hadrons) freeze-out.