summaryrefslogtreecommitdiff
path: root/3557/CH5/EX5.7/Ex5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH5/EX5.7/Ex5_7.sce')
-rw-r--r--3557/CH5/EX5.7/Ex5_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3557/CH5/EX5.7/Ex5_7.sce b/3557/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..06e98d276
--- /dev/null
+++ b/3557/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,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)