In this work, the heat vortexes in two-dimensional porous or ribbon structures are investigated based on the phonon Boltzmann transport equation (BTE) under the Callaway model. First, the separate thermal effects of normal (N) scattering and resistive (R) scattering are investigated with frequency-independent assumptions. And then the heat vortexes in graphene are studied as a specific example. It is found that the heat vortexes can appear in both ballistic (rare R/N scattering) and hydrodynamic (N scattering dominates) regimes but disappear in the diffusive (R scattering dominates) regime. As long as there is not sufficient R scattering, the heat vortexes can appear in present simulations.