Design and analysis of integrated flow sensors by means of a two-dimensional finite element model