A two-dimensional finite element model for quantitative analysis of integrated flow sensors