Analysis of body force effects on flow boiling and condensation with finite inlet quality