Optimization of the dimensions values by means of finite element method