
We apply a constituent quark equal-velocity combination (EVC) model to study the elliptic flow ( v 2 ) and triangular flow ( v 3 ) of light-flavor and single-charmed hadrons in Pb+Pb collisions at s N N = 2.76 and 5.02 TeV. v 2 , 3 of hadrons in the EVC model can be expressed as a linear superposition of the v 2 , 3 of quarks at the same velocity as that of the hadrons. We find that available experimental data for v 2 and v 3 of p , Λ , Ξ , and Ω as a function of transverse momentum ( p T ) can be consistently explained by the EVC formula using the v 2 of up/down quarks and the v 2 of strange quarks. In comparison with v 2 data of ϕ at s N N = 2.76 TeV, which can be naturally explained by the v 2 of strange quarks, explanation of the data of ϕ mesons at s N N = 5.02 TeV requires an additional contribution of two-kaon coalescence, which indicates approximately 20% influence of final-state hadronic rescattering on v 2 of ϕ at s N N = 5.02 TeV. Using v 2 and v 3 of light-flavor quarks obtained in studying light-flavor hadrons and v 2 and v 3 of charm quarks determined from D 0 meson data, we apply the EVC model to predict the anisotropic flows of D s + , Λ c + , Ξ c 0 , and Ω c 0 and compare them with the available experimental data. The preliminary data for v 2 of D 0 , D s + , and Λ c + at s N N = 5.36 TeV are found to be naturally described by the EVC model.