Mortazavi, A 2012, 'An investigation of the effects of joint roughness on the stability of underground openings subjected to dynamic loading', in Y Potvin (ed.), Deep Mining 2012: Proceedings of the Sixth International Seminar on Deep and High Stress Mining, Australian Centre for Geomechanics, Perth, pp. 231-237, https://doi.org/10.36487/ACG_rep/1201_16_mortazavi (https://papers.acg.uwa.edu.au/p/1201_16_mortazavi/) Abstract: The aim of this work was to develop an algorithm to enable the consideration of joint roughness in the analysis of jointed rock masses. A new code, JProfiler, was employed to carry out this task. Important features of the developed code, JProfiler, are: the capability to import arbitrary images as joint roughness profile of varying scales, point data manipulation, and data visualisation. Employing the developed code, joint roughness profiles obtained from field measurements can be converted to simplified yet realistic line segments, which can be used as input for numerical modelling. In this research, the joint macro-scale roughness, according to Barton and Choubey (1977) roughness profile (JRC), was implemented into the discontinuous deformation analysis (DDA) method. Accordingly, the modified DDA code was applied to the analysis of a large underground cavern subjected to dynamic load associated with fall of ground in deep underground mines. The analysis results show that the consideration of joint roughness is very important and significantly affects the behaviour of the blocky rock mass and opening stability. Moreover, the analysis results demonstrate that even sophisticated codes can produce erroneous results without considering the physical nature of rock mass and discontinuities.