Question

In: Mechanical Engineering

Design a refrigerator working on propane ammonia and R407C refrigerant and producing -20K, -10K and O...

Design a refrigerator working on propane ammonia and R407C refrigerant and producing -20K, -10K and O K temperature during steady state operation....

carryout experimental validation using appropriate software.

write energy and exergy equation in Fortran 77 only...
plot graph in scilab....

Solutions

Expert Solution

"!This program calculates the two-dimensional steady-state temperature distribution in a square plate. Two of the four edges are at 100°C, one is maintained at 0°C and one is insulated. The solution illustrates the use of 2-dimensional arrays and contour and 3-D plots."

"Notice that it is not necessary for the user to program any iterative procedures to solve the equations.

View the plot window to see a contour plot of the calculated results.
"

N=25 "Number of nodes in the X and Y directions."

"Energy balance on interior nodes. Interior nodes run from 1 to N."
duplicate i=1,N
   duplicate j=1,n
       T[i,j]=(T[i+1,j]+T[i-1,j]+T[i,j+1]+T[i,j-1])/4
   end
end

"Boundary conditions. Boundary nodes are 0 and N+1."
duplicate i=0,N+1
   T[i,0]=100 "Left hand side set to 100°C."
   T[i,N+1]=T[i,N] "Insulated right hand side - no temperature gradient."
end
duplicate j=1,N
   T[0,j]=100 "Bottom surface at 100°C."
   T[N+1,j]=0 "Top surface at 0°C."
end

$TabWidth 0.5 cm

"!This program demonstrates the use of the Integral functions to solve second order equations. "

"Here EES is used to calculate the velocity and position of a freely falling sphere, subject to aerodynamic drag. The unit system is set to English. The graph is set to automatic update - change v_o to -50 to see the impact of an initial upward velocity.

Note how the Integral function displays on the Formatted Equations Window."

D=0.25 [ft]
m=1.0 [lb_m]    "mass of sphere"
v_o=0 [ft/s]    "initial velocity."
z_o=0 [ft]     "initial position"
time=5 [s]   "time period for analysis"
g=32.17 [ft/s^2]    "gravitational acceleration"

F=m*g*Convert(lbm-ft/s^2,lbf)         "Newton's Law"
m*a*Convert(lbm-ft/s^2,lbf)=F-F_d        "force balance"
Area=pi*D^2/4           "frontal area of sphere"
F_d=Area*C_d*(1/2*rho*v^2)*Convert(lbm-ft/s^2,lbf)    "definition of drag coefficient"

"Find Reynolds number"
mu=viscosity(air, T=70)*Convert(1/hr,1/s)
rho=density(Air,T=70,P=14.7)
Re=rho*abs(v)*D/mu

"Find drag coefficient from the Reynolds number. The Lookup table contains ln(Re) and ln(C_d). The max function is used to prevent attempting to find the log of zero (i.e., when the velocity is zero use a small value of Re)"
C_d=exp(interpolate1( 'LnRe', 'LnCd', LnRe=Ln(max(.01, Re))))

"As a test of the need for tthe variable drag coefficient, set C_d to a constant value, say C_d=0.4. Turn off automatic update on the plots (click on the plot window) and overlay the new plots, using the left scale."
{C_d=0.4}


"Use EES integral function to determine velocity and position given the acceleration."
v=v_o+integral(a,t,0,time)   "velocity after 5 seconds"
z=z_o+integral(v,t,0,time)   "vertical position after 5 seconds"

"The following directive instructs EES to store values of v (velocity), z (elevation) and C_d (drag coefficient) as a function of t (time) at increments of 0.2 sec.
"
$integraltable t:0.2, v,z, C_d
$tabstops 1 in


Related Solutions

A commercial refrigerator with refrigerant 134a as the working fluid is used to keep the refrigerated...
A commercial refrigerator with refrigerant 134a as the working fluid is used to keep the refrigerated space at TL = -35°C by rejecting waste heat to cooling water that enters the condenser at 18°C at a rate of 0.25 kg/s and leaves at 26°C. The refrigerant enters the condenser at 1.2 MPa and 50°C and leaves at the same pressure and 41.3°C. If the compressor consumes 3.3 kW of power, determine (a) the mass flow rate of the refrigerant, (b)...
a refrigerator uses refrigerant 134a as a working fluid and operates on the vapour -compression refrigiration...
a refrigerator uses refrigerant 134a as a working fluid and operates on the vapour -compression refrigiration cycle.the evaporator is maintained at -100C and the refrigirant is a dry saturated vapour as it leaves the evaporator. the compressor has an efficiency of 80%.the conditions at the outlet of the condensor are 300C and 9 bar. 1-if the mass flow rate of the refrigerant is 0,08kg/s workout the rate of heat removal from the refrigerant space.the power input to the cpmpressor and...
A refrigerator with a cooling capacity of 5 ton uses ammonia as the working fluid. The...
A refrigerator with a cooling capacity of 5 ton uses ammonia as the working fluid. The condenser and evaporator maintain a pressure of 1500 kPa and 200 kPa respectively. The compressor has an isentropic efficiency of 80%. If the vapor leaving the evaporator is superheated by 5°C and the liquid leaving the condenser is supercooled by 5°C, determine: a) The power input to the compressor b) The mass flow rate of ammonia c) The COP of the refrigerator
PROBLEM: Ammonia is used as a refrigerant. It is compressed outdoors, and the ammonia is then...
PROBLEM: Ammonia is used as a refrigerant. It is compressed outdoors, and the ammonia is then liquefied and circulated through the refrigerator's evaporator heat exchanger. The evaporator is indoors. The room containing the evaporator has a net open volume of 1000 m3 and a ventilation rate equal to two air changes per hour. A leak develops in an ammonia line that results in 50 g of ammonia being released per minute. 1. How long will it take for the ammonia...
Draw water and ammonia cycle in Einstein refrigerator, from to condenser + generator, mark and name...
Draw water and ammonia cycle in Einstein refrigerator, from to condenser + generator, mark and name each component
A design related question. 1)design a walk in refrigerator and freezer with 10 ton and 30...
A design related question. 1)design a walk in refrigerator and freezer with 10 ton and 30 ton cooling capacity respectively. 2) freezer must be maintained between (24 to 15 deg celcius) and refrigerator between (3-7 deg celcius) 3)ambient condition ( 38 deg celcius) and refrigeration compressor efficiency assumed at 75%. 4)heat exchanger maintained at 11 deg celcius. 5) emphasis on reducing operating cost, so one compressor can be used and also flash chamber 6) reducing compressor work input and increasing...
A refrigerator is running with tetrafluoroethane (R1-34a) as the fluid and working based on the following...
A refrigerator is running with tetrafluoroethane (R1-34a) as the fluid and working based on the following cycle. Saturated vapor at -12oC is entering the compressor and leaving it at 40oC. The superheated vapor after the compressor then condensed at constant pressure to saturated liquid, which ethers the “Joule-Thompson” throttling valve and back to the initial pressure. Assume your system is operating ideally, with a cooling load of 0.2 kW (200 J/s). (a) Draw the cycle on the P-H diagram and...
A refrigerator with R-410a as the working fluid has a minimum temperature of −10°C and a...
A refrigerator with R-410a as the working fluid has a minimum temperature of −10°C and a maximum pressure of 1 MPa. Assuming an ideal refrigeration cycle, find the specific heat transfer FROM the cold space, the specific heat transfer TO the hot space, and the coefficient of performance. Will this refrigeration cycle work in an ordinary kitchen?
A refrigerator using R-12 as the working fluid keeps the refrigerated space at ?16? in an...
A refrigerator using R-12 as the working fluid keeps the refrigerated space at ?16? in an environment at 27?. You are asked to upgrade this refrigerator by replacing R-12 with the ozone-friendly R-134a. What changes in the pressure levels would you suggest in the new system? How do you think the COP of the new system will compare to the COP of the old system?
A refrigerator using R-12 as the working fluid keeps the refrigerated space at ?16? in an...
A refrigerator using R-12 as the working fluid keeps the refrigerated space at ?16? in an environment at 27?. You are asked to upgrade this refrigerator by replacing R-12 with the ozone-friendly R-134a. What changes in the pressure levels would you suggest in the new system? How do you think the COP of the new system will compare to the COP of the old system?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT