Inviscid Solutions of the Flowfield in an Internal Combustion Engine