Development of a steady thermal-hydraulic analysis code for the China Advanced Research Reactor