Modeling of friction stir welding process for tools design