Please find the detailed information in the links below:
Photo-dissociation region (PDR) Code in C++ with chemistry and thermal processes
Python scripts to calculate grain collisional velocities