Photomechanics, one kind of interferometry based experimental methods used to measure the mechanical quantities, can
provide interferometric fringes using specially designed optical setups. Analysis of mechanical quantities from the
interferometric fringes needs good understanding of their distribution, which is often not easy when analyzing a
complicated model. At this time, the simulation of the experimental results on similar models will greatly improve the
experimental data processing of photomechanics. Moreover this simulation will also greatly contribute to the teaching of
photomechanics. In this paper, a basic framework for photomechanics simulation is firstly proposed. The specific
algorithms for simulation of the two important photomechanics methods, photoelasticity and electronic speckle pattern
interferometry (ESPI), are developed. A photomechanics simulation system containing photoelasticity and ESPI is
constructed. When simulation, the distribution of the mechanical quantities is firstly calculated using finite element
method (FEM), and then the interferometric fringes are generated through the virtual realization of the interferometric
procedure in the corresponding optical setup. The whole simulation procedure is realized with the Matlab software.
Comparison between the results from simulation and the real experiment shows the validity of the simulation algorithms.