CFD modeling of transient flow in pressurized pipes