Finite element simulation of infrared laser ablation for mass spectrometry