Modelling of gas flow in the underground coal gasification process and its interactions with the rock environment