//Variable declaration: //From table 16.5: t2 = 75.0 //Temperature of water leaving the shell ( C) t1 = 35.0 //Temperature of water entering the shell ( C T2 = 75.0 //Temperature of oil leaving the tube ( C) T1 = 110.0 //Temperature of oil entering the tube ( C) mw = 1.133 //Mass flowrtae of water (kg/s) cpw = 4180.0 //Heat capacity of water (J/kg.K) cpo = 1900.0 //Heat capacity of oil (J/kg.K) p = 850.0 //Density of oil (kg/m^3) Di = 0.01905 //Inside diameter of tube (m) V = 0.3 //Average velocity of oil flow inside the tube (m/s) Np = 2.0 //Number of passes Uc = 350.0 //Overall heat transfer coefficient for clean heat exchanger (W/m^2) Rf = 0.00027 //Fouling factor (m^2.K/w) pi = %pi //Calculation: Cw = mw*cpw //Water capacitance rate (W/K) Q = Cw*(t2-t1) //Heat load (W) Co = Q/(T1-T2) //Oil capacitance rate (W/K) mo = Co/cpo //Total flowrate of oil (kg/s) if (Cw