a two-fluid code for the thermohydraulic transient analysis of cicc superconducting magnets