Sound propagation in rigid porous media has been widely studied by using macroscopical models. These models make use of averaged quantities in which the microscopic details of the porous media geometry are represented by macroscopical parameters and, in a certain way, the influence of the microscopic geometry is not directly identified. In this paper, homogenization theory and finite element method are used for solving the full microscopic dynamic flow and dynamic heat problems for a porous medium modelled as an idealized geometry consisting of a periodic array of cylinders. Different cross‐section shapes of the cylinders (circular, ellipsoidal and square cross‐section shapes) and a wide range of porosity values are considered. The influence of the microscopic features of the porous media on dynamic permeability and dynamic compressibility is also studied.