A simplified method for analyzing mold filling dynamics† Part I: Theory