Gasdynamical simulation of meteor phenomena