summaryrefslogtreecommitdiff
path: root/3557/CH5/EX5.7/Ex5_7.sce
blob: 06e98d27631b5c68c182b2444d872cf4cc4505ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 5.7//
D=(-1.0*10^-8);//m^2/s //constant diffusion coefficient
ch=1.5;//kg/m^3 //constant surface concentrationsof the diffusing species
ct=0.3;//kg/m^3 //constant surface concentrationsof the diffusing species
x=5*10^-3;//m //meter //solid of thickness
y=(-D)*(((ch-ct)/(x)))
//mprintf("y = %e kg/m^2 h",y)
t=3.6*10^3;//s/h //time
J=y*t
mprintf("J = %e kg/m^2.h",J)
//The total mass of hydrogen being purified will then be this flux times the membrane area
A=0.2;//m^2 //membrane area
m=J*A
mprintf("\nm = %e kg/h",m)