Modeling of snow flow