Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: analytical solution laminar flow in rectangular microchannel
Replies: 29   Last Post: Mar 21, 2013 4:58 AM

 Messages: [ Previous | Next ]
 Anne Posts: 15 Registered: 10/28/12
Re: analytical solution laminar flow in rectangular microchannel
Posted: Nov 16, 2012 3:31 AM

Hello!
I got another code for the previous question. It works like this.
v=0.0003;
w=100e-6;
h=100e-6;
y=0;
z=0;
i=0;
while(i<100)
n=1;
temp=0;
ans=0;
while (n<10000)
a=sin(n*pi*z/h);
b=cosh(n*pi*y/h);
c=cosh(n*pi*w/(2*h));
d=(1/(n^3));
e=tanh(n*pi*w/(2*h));
f=(192*h)/((n^5)*(pi^5)*w);
g=(48*v)/(pi^3);
value=(g*d*(1-(b/c))*a)/(1-(f*e));
ans=ans+value;
n=n+2;
end
result((i+1),1)=z;
result((i+1),2)=ans;
i=i+1;
z=h/999*i;
end
xlswrite('Result',result);

I want to try to use the previous code to generate same result as above. But I can't get similar result.

Date Subject Author
10/28/12 Anne
10/29/12 Torsten Hennig
10/29/12 Anne
10/29/12 Torsten Hennig
10/29/12 Anne
10/30/12 Torsten Hennig
10/31/12 Torsten Hennig
11/3/12 Anne
11/3/12 Torsten Hennig
11/4/12 Anne
11/5/12 Torsten Hennig
11/16/12 Anne
11/16/12 Torsten Hennig
11/16/12 Anne
11/19/12 Torsten Hennig
11/19/12 Torsten Hennig
12/3/12 Anne
12/4/12 Torsten Hennig
12/4/12 Anne
12/4/12 Torsten Hennig
12/4/12 Anne
12/4/12 Torsten Hennig
12/4/12 Anne
12/4/12 Torsten Hennig
12/4/12 Anne
12/5/12 Torsten Hennig
12/5/12 Anne
12/5/12 Anne
12/6/12 Torsten Hennig
3/21/13 Anne