The Osher scheme for real gases