The response of fiber specklegram sensors (FSSs) is given as function of variations in the intensity distribution of the modal interference pattern or speckle pattern induced by external disturbances. In the present work, the behavior of a FSS sensing scheme under thermal perturbations is studied by means of computational simulations of the speckle patterns. These simulations are generated by applying the finite element method (FEM) to the modal interference in optical fibers as a function of the thermal disturbance and the length of the sensing zone. A correlation analysis is performed on the images generated in the simulations to evaluate the dependence between the changes in the speckle pattern grains and the intensity of the applied disturbance. The numerical simulation shows how the building characteristic of the length of sensing zone, combined with image processing, can be manipulated to control the metrological performance of the sensors.This work was partially funded by the Instituto Tecnológico Metropolitano (grant P20215), the Politécnico Jaime Isaza Cadavid (grant 2020/00132/001) and the Universidad Cooperativa de Colombia (grant INV2903). Y.A. Vélez also thanks the support given to her by the Instituto Tecnológico Metropolitano through its program of young researchers