Phase Change Problems: A Student in Coventry Explores Solutions

1 reply · 2K views · last reply
arehman1289
Messages
11
Reaction score
0
Hello,

I am a student in Coventry, UK working on Phase Change Problems and going through 1-Phase Neumann Analytical solutions.

As per most books, or specifically Mathematical Modeling of Melting and Freezing Processes chapter 2 (attached) page 36, equation 15, the general equation of temperature distribution, after solving parabolic differential equations is given?

http://www.math.utk.edu/~vasili/475/Handouts/4.PhChgbk.2.1.pdfFollowing are the attached graphs from the book and the plot I get from matlab, with the following values .

lambda = 0. 3777
alpha l = 1. 347 ´10-3
x = 1 cm
tl = 25 degrees
delta tl = 25 degrees

The problem lies in the initial value of temperature. I always get it in negative although the initial temperature is 0 degrees. If you look at the equation 15 (from the link) for time = 0, the denominator is always (erf(0.377) 0.41 while the numerator is 1 giving the temperature answer in negative. hence i thought it is a printing error or any other logical explanation ? Is it something to do with the error functions ?

I would really really appreciate your response.

Thanks & Regards
Abdur
 
Attachments
  • Line plot of a curve rising steeply from about -37 near x=0 and flattening toward about 17 by x=12000, with axes labelled 0 to 14000 horizontally and -40 to 20 vertically.
    untitled.jpg
    7.6 KB · Views: 668
  • Line graph of temperature in degrees C against time in hours from 0 to about 36, with three curves labelled at x = 1 cm, x = 3 cm and x = 5 cm, each rising from 0 C over time, with the x = 1 cm curve rising fastest.
    Neumann_book.JPG
    25.4 KB · Views: 710
I have also attached the simple code of matlab.
Matlab:
cpL =  4186;
kL =  0.564;
rho =  1000;
temp_melt =  0;
latent_heat =  333400;
temp_source =  25;
time_total = 12600;

alp_L = kL/(rho*cpL);
dT = temp_source - temp_melt;
stephan_l = (cpL*dT)/latent_heat ;

time_latent = [0:1:time_total];
x = 0.01

temp_latent = temp_source - dT*(erf(x./(2.*sqrt(alp_L.*time_latent)))./erf(0.3777));

plot(time_latent,temp_latent);
 
Last edited by a moderator: