Development and application of transient gas‐liquid two‐phase flow model considering sudden density change