Numerical analysis for a molten salt reactor in the presence of localized perturbations