Simulation of the Capture and Acceleration Processes in HIAF-CRing