Research Article

A Method to Predict Rock Fracture with Infrared Thermography Based on Heat Diffusion Analysis

Pseudocode 1

MATLAB Pseudocode.
Line Pseudo-code
1 %is the length of time set recorded by the infrared thermal instrument
2 load 25 selected regional AIRT data as a [,25] matrix from the directory;
3 % set up the spatial and temporal mesh partition
4 : dt : trange;% range of time
5 : dx : xrange;% range ofaxial
6 : dy : yrange;% range ofaxial
7 % perform the cyclic computation of each region at each time
8 forfrom 1 to 25% loop of 25 selected regions
9  forin% loop of discrete time set generated from infrared thermal data
10   set up the boundary conditions and initial conditions
11   forin trange% loop of diffusion time
12    forin xrange% loop of spatial x index
13     forin y range% loop of spatial y index
14       compute
15      end
16     end
17    end
18  end
19  compute
20 end
21 compute