Calculation of the thermal-hydraulic transient in multicompartment system by ARIANNA computer codes