thermal hydraulic calculations