The paper presents results of a research on the migration of methane from goaf into an area of a longwall ventilated by means of the U-type ventilation system. Two-dimensional models of the area in question were prepared. The models encompassed longwalls whose length was 240 m, as well as segments of the main and tailgate whose length was minimum 50 m. The geometry of the models took into account the details that could make three-dimensional models too complex. These details include: the ribs of the arch support of the headings, frictional and hydraulic props, and the ribs of a section of the longwall powered roof support. Additionally, the presence of gaps between the support sections, by means of which an exchange of gases between the longwall and the adjacent goaf could take place - was taken into consideration. Using the 2D description method, an analysis of the flow of air in the area was carried out. The simulation results were shown as profiles of velocity and streamlines in surrounding of intersections of longwall. with main and tailgate Then, the grid depenadncy of numerical solutions was investigated. This was done by comparing results for three grid densities. The process of methane propagation was simulated for shearer located at two-thirds of the longwall length. The fields of methane concentrations for a steady inflow from goaf were calculated. Subsequently, the effects of a sudden inflow of methane along a segment comprising ten recently advanced roof support sections were computed. The results were presented as a sequence of concentration distributions for selected simulation moments.