SMS: Time-independent gravitational fields in the BGK scheme for hydrodynamics