I move T=P*V/nR; from initialize page to constraint page.
The above prolem should be fixed now. (Temperature was not updated in adiabatic process).
Thank you!