A flow-field solver using overlying and embedded meshes together with a novel compact Euler algorithm