Ejercicio 8-1 Ejemplo-Transferencia de Calor
Ejercicio 8-1 Ejemplo-Transferencia de Calor
Ejercicio 8-1 Ejemplo-Transferencia de Calor
3 kg/s en un tubo delgado de cobre, de 2.5 cm de dimetro interno, que forma parte de un intercambiador de calor y se calienta por medio de vapor que se condensa en el exterior a 120 C. Si el coeficiente de transferencia de calor promedio es de 800 W/m2. C, determine la longitud requerida del tubo para calentar el agua hasta 115C. Solucin La solucin se basa en el intercambiador de calor de tubo y casco: Temperatura caliente de salida, C
Se calienta agua por medio de vapor en un tubo circular. Se desea determinar la longitud requerida del tubo para calentar el agua hasta una temperatura especfica. Suposiciones: 1234Existen condiciones de operacin estacionaria. Las propiedades del fluido son constantes. El coeficiente de transferencia de calor por conveccin es constante. La resistencia a la conduccin del tubo de cobre es despreciable, de modo que la temperatura superficial interior del mismo es igual a la temperatura de condensacin del vapor.
Propiedades El calor especifico del agua a la temperatura media de la masa de (15 + 115)/2=65C es de 4187 J/kg. C Al conocer las temperaturas de admisin y de salida del agua se determina que la razn de transferencia de calor es: ( ) ( )( )( )
)(
% --- Executes on button press in pushbutton8. function pushbutton8_Callback(hObject, eventdata, handles) m=str2num(get(handles.edit5,'String'));% flujo masico de liquido de entrada Cp=str2num(get(handles.edit7,'String'));% capacidad calorifica del liquido a temperatura promedio(entrada y salida) Te=str2num(get(handles.edit1,'String'));% temperatura de salida de agua caliente en el tubo Ti=str2num(get(handles.edit6,'String'));% temperatura de entrada de agua fria en el tubo Ts=str2num(get(handles.edit4,'String'));% temperatura de la superficie exterior donde sale el condensado Di=str2num(get(handles.edit3,'String'));% diametro interno de la tuberia del intercambiador de calor h=str2num(get(handles.edit2,'String')); % coeficiente promedio de transferencia de calor del sistema en el intercambiador de calor Tm=(Te+Ti)/2;% temperatura promedio del liquido entrante, al intercambiador de calor Q=m*Cp*(Te-Ti);% calor del liquido de entrada VTe=Ts-Te; % diferencia de temperatura entre la superficie y la salida caliente VTi=Ts-Ti; % diferencia de temperatura entre la superficie y la entrada fria VTln=(VTe-VTi)/log(VTe/VTi); % diferencia logaritmica de temperaturaa As=Q/(h*VTln);% area superficial de transferencia de calor D=Di/100; % diametro interior en metros L=As/(3.1416*D); %longitud de tuberia requerida para al intercambiador de calor
disp('================================================================'); disp(' SIMULACION EN EL INTERCAMBIADOR DE CALOR '); disp('================================================================'); fprintf('El flujo masico de entrada del liquido(kg/s) es: %.2f\n',m); fprintf('La temperatura de ingreso del liquido frio(C) es: %.2f\n',Ti); fprintf('La temperatura de salida del liquido caliente(C) es: %.2f\n',Te); fprintf('La temperatura promedio del liquido de entrada(C): %.2f\n',Tm); fprintf('La razon de transferencia de calor del liquido(W) es: %.2f\n',Q); fprintf('Diferencia logaritmica de temperatura(C) es: %.2f\n',VTln); fprintf('Area superficial de transferencia de calor es: %.2f\n',As); fprintf('Longitud requerida de tubo del intercambiador de calor(m)es: %.2f\n',L); disp('================================================================');
Corriendo resultados:
=================================================================== SIMULACION EN EL INTERCAMBIADOR DE CALOR =================================================================== El flujo masico de entrada del liquido(kg/s) es: 0.30 La temperatura de ingreso del liquido frio(C) es: 15.00 La temperatura de salida del liquido caliente(C) es: 115.00 La temperatura promedio del liquido de entrada(C): 65.00 La razon de transferencia de calor del liquido(W) es: 125610.00 Diferencia logaritmica de temperatura(C) es: 32.85 Area superficial de transferencia de calor es: 4.78 Longitud requerida de tubo del intercambiador de calor(m)es: 60.86
====================================================================
% --- Executes just before TRANSFERENCIADECALOR2 is made visible. function TRANSFERENCIADECALOR2_OpeningFcn(hObject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to TRANSFERENCIADECALOR2 (see VARARGIN) % Choose default command line output for TRANSFERENCIADECALOR2 handles.output = hObject; % Update handles structure guidata(hObject, handles); % UIWAIT makes TRANSFERENCIADECALOR2 wait for user response (see UIRESUME) % uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line. function varargout = TRANSFERENCIADECALOR2_OutputFcn(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles) % hObject handle to edit1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit1 as text % str2double(get(hObject,'String')) returns contents of edit1 as a double
function edit1_CreateFcn(hObject, eventdata, handles) % hObject handle to edit1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
function edit2_Callback(hObject, eventdata, handles) % hObject handle to edit2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit2 as text % str2double(get(hObject,'String')) returns contents of edit2 as a double
% --- Executes during object creation, after setting all properties. function edit2_CreateFcn(hObject, eventdata, handles) % hObject handle to edit2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
function edit3_Callback(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit3 as text % str2double(get(hObject,'String')) returns contents of edit3 as a double
% --- Executes during object creation, after setting all properties. function edit3_CreateFcn(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO)
reserved - to be defined in a future version of MATLAB empty - handles not created until after all CreateFcns
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
function edit4_Callback(hObject, eventdata, handles) % hObject handle to edit4 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit4 as text % str2double(get(hObject,'String')) returns contents of edit4 as a double
% --- Executes during object creation, after setting all properties. function edit4_CreateFcn(hObject, eventdata, handles) % hObject handle to edit4 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
function edit5_Callback(hObject, eventdata, handles) % hObject handle to edit5 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit5 as text % str2double(get(hObject,'String')) returns contents of edit5 as a double
% --- Executes during object creation, after setting all properties. function edit5_CreateFcn(hObject, eventdata, handles) % hObject handle to edit5 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB
% handles called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
function edit6_Callback(hObject, eventdata, handles) % hObject handle to edit6 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit6 as text % str2double(get(hObject,'String')) returns contents of edit6 as a double
% --- Executes during object creation, after setting all properties. function edit6_CreateFcn(hObject, eventdata, handles) % hObject handle to edit6 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
function edit7_Callback(hObject, eventdata, handles) % hObject handle to edit7 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit7 as text % str2double(get(hObject,'String')) returns contents of edit7 as a double
% --- Executes during object creation, after setting all properties. function edit7_CreateFcn(hObject, eventdata, handles) % hObject handle to edit7 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end
% --- Executes on button press in pushbutton5. function pushbutton5_Callback(hObject, eventdata, handles) Te=str2num(get(handles.edit1,'String'));% temperatura de salida de liquido caliente en el tubo Ti=str2num(get(handles.edit6,'String'));% temperatura de entrada de liquido frio en el tubo Tm=(Te+Ti)/2;% temperatura promedio del liquido entrante, al intercambiador de calor if Te==Ti errordlg('NO EXISTE TRANSFERENCIA DE CALOR','MENSAJE DE ERROR'); return end set(handles.text9,'String',Tm); warndlg('A ESTA TEMPERATURA ELIGA EL Cp','MENSAJE DE AVISO');
handle to pushbutton5 (see GCBO) reserved - to be defined in a future version of MATLAB structure with handles and user data (see GUIDATA)
% --- Executes on button press in pushbutton6. function pushbutton6_Callback(hObject, eventdata, handles) m=str2num(get(handles.edit5,'String'));% flujo masico de liquido de entrada Cp=str2num(get(handles.edit7,'String'));% capacidad calorifica del liquido a temperatura promedio(entrada y salida) Te=str2num(get(handles.edit1,'String'));% temperatura de salida de agua caliente en el tubo Ti=str2num(get(handles.edit6,'String'));% temperatura de entrada de agua fria en el tubo if Te==Ti errordlg('NO EXISTE TRANSFERENCIA DE CALOR','MENSAJE DE ERROR'); return end Q=m*Cp*(Te-Ti); set(handles.text10,'String',Q); % hObject % eventdata % handles handle to pushbutton6 (see GCBO) reserved - to be defined in a future version of MATLAB structure with handles and user data (see GUIDATA)
m=str2num(get(handles.edit5,'String'));% flujo masico de liquido de entrada Cp=str2num(get(handles.edit7,'String'));% capacidad calorifica del liquido a temperatura promedio(entrada y salida) Te=str2num(get(handles.edit1,'String'));% temperatura de salida de agua caliente en el tubo Ti=str2num(get(handles.edit6,'String'));% temperatura de entrada de agua fria en el tubo Ts=str2num(get(handles.edit4,'String'));% temperatura de la superficie exterior donde sale el condensado Di=str2num(get(handles.edit3,'String'));% diametro interno de la tuberia del intercambiador de calor h=str2num(get(handles.edit2,'String')); % coeficiente promedio de transferencia de calor del sistema en el intercambiador de calor % la transferencia de calor por el liquido Q=m*Cp*(Te-Ti); % La diferencia media logaritmica de temperatura es: VTe=Ts-Te; VTi=Ts-Ti; VTln=(VTe-VTi)/log(VTe/VTi); % diferencia logaritmica %El area superficial de transferencia de calor es: As=Q/(h*VTln); % La longitud necesaria del tubo dentro del intercambiador de calor es: D=Di/100; L=As/(3.1416*D); set(handles.text11,'String',L);
handle to pushbutton7 (see GCBO) reserved - to be defined in a future version of MATLAB structure with handles and user data (see GUIDATA)
% --- Executes on button press in pushbutton8. function pushbutton8_Callback(hObject, eventdata, handles) m=str2num(get(handles.edit5,'String'));% flujo masico de liquido de entrada Cp=str2num(get(handles.edit7,'String'));% capacidad calorifica del liquido a temperatura promedio(entrada y salida) Te=str2num(get(handles.edit1,'String'));% temperatura de salida de agua caliente en el tubo Ti=str2num(get(handles.edit6,'String'));% temperatura de entrada de agua fria en el tubo Ts=str2num(get(handles.edit4,'String'));% temperatura de la superficie exterior donde sale el condensado Di=str2num(get(handles.edit3,'String'));% diametro interno de la tuberia del intercambiador de calor h=str2num(get(handles.edit2,'String')); % coeficiente promedio de transferencia de calor del sistema en el intercambiador de calor Tm=(Te+Ti)/2;% temperatura promedio del liquido entrante, al intercambiador de calor Q=m*Cp*(Te-Ti);% calor del liquido de entrada VTe=Ts-Te; % diferencia de temperatura entre la superficie y la salida caliente
VTi=Ts-Ti; % diferencia de temperatura entre la superficie y la entrada fria VTln=(VTe-VTi)/log(VTe/VTi); % diferencia logaritmica de temperaturaa As=Q/(h*VTln);% area superficial de transferencia de calor D=Di/100; % diametro interior en metros L=As/(3.1416*D); %longitud de tuberia requerida para al intercambiador de calor
disp('=================================================================== ================'); disp(' SIMULACION EN EL INTERCAMBIADOR DE CALOR '); disp('=================================================================== ================'); fprintf('El flujo masico de entrada del liquido(kg/s) es: %.2f\n',m); fprintf('La temperatura de ingreso del liquido frio(C) es: %.2f\n',Ti); fprintf('La temperatura de salida del liquido caliente(C) es: %.2f\n',Te); fprintf('La temperatura promedio del liquido de entrada(C): %.2f\n',Tm); fprintf('La razon de transferencia de calor del liquido(W) es: %.2f\n',Q); fprintf('Diferencia logaritmica de temperatura(C) es: %.2f\n',VTln); fprintf('Area superficial de transferencia de calor es: %.2f\n',As); fprintf('Longitud requerida de tubo del intercambiador de calor(m)es: %.2f\n',L); disp('=================================================================== ================'); % hObject % eventdata % handles handle to pushbutton8 (see GCBO) reserved - to be defined in a future version of MATLAB structure with handles and user data (see GUIDATA)
% --- Executes during object creation, after setting all properties. % hObject handle to axes2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: place code in OpeningFcn to populate axes2
% --- Executes on button press in pushbutton9. function pushbutton9_Callback(hObject, eventdata, handles) close % hObject handle to pushbutton9 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% --- Executes during object creation, after setting all properties. function a_CreateFcn(hObject, eventdata, handles) A=imread('interc.png'); image(A) axis off % hObject handle to a (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: place code in OpeningFcn to populate a.
Corriendo resultados: