Modeling gas flows in longwall coal mines using computational fluid dynamics