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 would like to solve a two component system with reaction. The description
is the following:

1. I have a liquid and a gas (species A). The gas will be absorbed by the
liquid.
2. Within the liquid the gas will react with the liquid (1:1 stoichiometry)
to form species B
3. I have measured the diffusivity of species A and the diffusivity of
species B as a function of the concentration of species B
4. The resulting model I am picturing would be two diffusion equations,
both with source terms to represent the reaction.

How do I go about building a two component system in fipy. I found an
example elphf/diffusion/mesh1D.py which gives some idea, I just don't
understand enough about python yet. Will I need to create a new class to
accomplish this?

Salo

-- 
Salomon Turgman Cohen
Postdoctoral Associate
Cornell University
(919) 341-9650
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to