Experimental Data Worksheet Input Cells From Experimental Data Calculations (Outputs) Temperature In [oC]Temperature Out [oC]Flowrate [gpm]Tm [oC]Density [kg/m3]Viscosity [m2/s] Prandtl# [--]...

1 answer below »
Matlab/Python executing calculations like in the Exce worksheet


Experimental Data Worksheet Input Cells From Experimental DataCalculations (Outputs) Temperature In [oC]Temperature Out [oC]Flowrate [gpm]Tm [oC]Density [kg/m3]Viscosity [m2/s] Prandtl# [--] Thermal Cond. [W/m-K]Reynolds# [--]Nusselt# [--] 45702057.59844.922E-073.110.656425651604.9 Tube Inner Diameter [in.]Total Cooling Length [in.]Input Heat To Compare [kW]Heat Transfer Coefficient [W/m2-K]Predicted Surface Temperature [oC]Measured Heat Transfer Removed [kW]Difference Input and Calorimetry [W]Turbulent 0.2120350020559483.0129.883370116.3 Property Data tempertaure [K]tempertaure [oC]Specific Heat [J/kg-K]density [kg/m3]dynamic viscosity [ N-s/m2]kinematic viscosity [m2/s]Prconductivity [W/m-K]Values At Calculated Mixed Mean Temperature 273.150421710001.750E-031.750E-0612.990.569temp57.5oC 275.001.85421110001.652E-031.652E-0612.220.574cp4184J/kg-K 280.006.85419810001.422E-031.422E-0610.260.582dens984.001kg/m3 285.0011.85418910001.225E-031.225E-068.810.590nu0.0000004922m2/s 290.0016.854184999.0009990011.080E-031.081E-067.560.598pr3.11none 295.0021.854181998.0039920169.590E-049.609E-076.620.606k0.65078W/m-K 300.0026.854179997.00897308088.550E-048.576E-075.830.613 305.0031.854178995.02487562197.690E-047.728E-075.200.620 310.0036.854178993.04865938436.950E-046.999E-074.620.628 315.0041.854179991.08027750256.310E-046.367E-074.160.634 320.0046.854180989.11968348175.770E-045.833E-073.770.640 325.0051.854182987.16683119455.280E-045.349E-073.420.645 330.0056.854184984.25196850394.890E-044.968E-073.150.650 335.0061.854186982.31827111984.530E-044.612E-072.880.656 340.0066.854188979.43192948094.200E-044.288E-072.660.660 345.0071.854191976.56253.890E-043.983E-072.450.668 350.0076.854195973.70983446933.650E-043.749E-072.290.668 355.0081.854199970.87378640783.430E-043.533E-072.140.671 360.0086.854203967.11798839463.240E-043.350E-072.020.674 365.0091.854209963.39113680153.060E-043.176E-071.910.677 370.0096.854214960.61479346782.890E-043.008E-071.800.679 373.151004217957.85440613032.790E-042.913E-071.760.680
Answered 7 days AfterJul 12, 2021

Answer To: Experimental Data Worksheet Input Cells From Experimental Data Calculations (Outputs) Temperature In...

Arun Shankar answered on Jul 14 2021
151 Votes
import math
PI = math.pi
temp_in = float(input("Temperature in (deg. C): "))
temp_out = float(input("Temperat
ure out (deg. C): "))
flow_rate = float(input("Flow rate: "))
tube_inner_dia = float(input("Tube inner diameter: "))
total_cooling_length = float(input("Total cooling length: "))
input_heat_compare = float(input("Input Heat To Compare: "))
# Compute density, viscosity, pr, k , cp
# from the excel sheet
def extrapolate(yvalues, index, xvalues, tm):
y1 = yvalues[index]
y2 = yvalues[index + 1]
m = (y2 - y1) / (temp_values[index + 1] - temp_values[index])
y = y1 + (m * (tm - temp_values[index]))
return y
temp_values = [0.00, 1.85, 6.85, 11.85, 16.85, 21.85, 26.85, 31.85, 36.85, 41.85, 46.85, 51.85, 56.85, 61.85, 66.85, 71.85, 76.85, 81.85, 86.85, 91.85, 96.85, 100.00]
specific_heat = [4217, 4211, 4198, 4189, 4184, 4181, 4179, 4178, 4178, 4179, 4180, 4182, 4184, 4186, 4188, 4191, 4195, 4199, 4203, 4209, 4214,
4217]
density_values = [1000, 1000, 1000, 1000, 999.000999, 998.003992, 997.0089731, 995.0248756, 993.0486594, 991.0802775, 989.1196835, 987.1668312, 984.2519685,...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here