Study on the algorithm for solving two-fluid seven-equation two-pressure model