Re: Multicomponent diffusion

2013-01-22 Thread Salomon Turgman Cohen
Thanks again for your help Daniel. Always appreciate it. I will report back with the results. Salo On Tue, Jan 22, 2013 at 6:06 PM, Daniel Wheeler wrote: > On Tue, Jan 22, 2013 at 3:22 PM, Salomon Turgman Cohen > wrote: > >> What I was thinking is this: >> >> A = Gas, B=Liquid >> >> Equation 1

Re: Multicomponent diffusion

2013-01-22 Thread Daniel Wheeler
On Tue, Jan 22, 2013 at 3:22 PM, Salomon Turgman Cohen wrote: > What I was thinking is this: > > A = Gas, B=Liquid > > Equation 1 for A: > dCA/dt=d/dz(D*dCA/dz) - ka*CA*CB + kb*CA*CB > > Equation 2 for B: > dCB/dt=d/dz(D*dCB/dz) - kb*CA*CB + ka*CA*CB > Something like this might work. from fipy

Re: Multicomponent diffusion

2013-01-22 Thread Salomon Turgman Cohen
What I was thinking is this: A = Gas, B=Liquid Equation 1 for A: dCA/dt=d/dz(D*dCA/dz) - ka*CA*CB + kb*CA*CB Equation 2 for B: dCB/dt=d/dz(D*dCB/dz) - kb*CA*CB + ka*CA*CB I am not sure yet of the order of the reaction rates or if I will need to add a third component (since the reaction is in fa

Re: Multicomponent diffusion

2013-01-22 Thread Daniel Wheeler
On Mon, Jan 21, 2013 at 7:15 PM, Salomon Turgman Cohen wrote: > Hello list, >I have modeled two approximations of my system as 1D diffusion > equations. This is an approximation since in reality the system is > reactive, but I am sweeping the details of the reaction under the rug. Now > I woul

Re: Generate documentation html or pdf

2013-01-22 Thread Daniel Wheeler
On Mon, Jan 21, 2013 at 7:07 PM, Salomon Turgman Cohen wrote: > Hello list, >I was wondering how to generate a nicely formatted html or pdf file > from one of the examples, say mesh1D.py. > There is a FiPy 3.0 pdf (http://www.ctcms.nist.gov/fipy/download/). The reason I as is that I am looki

Re: Heat Conduction

2013-01-22 Thread John Assael
Well I finally did it with some extra points defining the cell size... However I keep getting a marked difference from Comsol results The charts are here... http://www.ic3man.gr/Tol8_6c.xls Is it possible that the calculations are not done right? (although I have specified quite small cell sizes) O

Re: Heat Conduction

2013-01-22 Thread Jonathan Guyer
On Jan 19, 2013, at 6:21 AM, John Assael wrote: > Perfect I gave Gmsh a try! However is the Gmsh2D background parameter not > working? It works for me. Do the tests pass? Background meshes are tested in the docstring for Gmsh2D and if the tests pass, then background meshes are working. What h