Geomechanical aspects of coalbed methane (CBM) production: Flow model formulation