Alokendra
2018-04-05 22:02:26 UTC
Hi,
I am a new potential FiPy user. I have been looking for a python library
that can solve a system of coupled reaction-diffusion equations used in
models of biological pathways. I have been using a software called VCell (
http://vcell.org/) which can solve a wide range of problems such as
deterministic and stochastic system of PDEs and use a standard file
format called SBML (http://sbml.org/Basic_Introduction_to_SBML). But the
VCell interface is quite constrained there and it does not allow easy
parallelization so I was looking for an alternative.
I was wondering how you go about solving a such system of equations with
drift component as shown below in FiPy. This for one particular species
A of the system and I have similar equations for other species like B
and C. The concentration of the species satisfy some common mass-
conservation relation. The equations are mostly coupled through the
source/reaction term which can be nonlinear Hill-type functions.
Equation:
$$\frac{\partial C_A}{\partial t} = D_A\nabla^2C_A - V_A\nabla C_A -
(k_fC_AC_B-k_rC_C)$$
I have read the tutorial and I think I understand how to setup the
diffusion and convection terms but I am not so sure about the reaction
terms which can be coupled nonlinear functions. Do I need to use some
variation of `ImplicitSource` term?
Also what is the most efficient way to get Fipy read information such as
rate constants, diffusion coefficients and drift diffusion coefficients
for many such species? Because of the nonlinearity in the reaction term
it cannot be vectorized in straightforward manner.
Regards,
Alok
Alok Ghosh
Graduate Student
University of Pennsylvania
I am a new potential FiPy user. I have been looking for a python library
that can solve a system of coupled reaction-diffusion equations used in
models of biological pathways. I have been using a software called VCell (
http://vcell.org/) which can solve a wide range of problems such as
deterministic and stochastic system of PDEs and use a standard file
format called SBML (http://sbml.org/Basic_Introduction_to_SBML). But the
VCell interface is quite constrained there and it does not allow easy
parallelization so I was looking for an alternative.
I was wondering how you go about solving a such system of equations with
drift component as shown below in FiPy. This for one particular species
A of the system and I have similar equations for other species like B
and C. The concentration of the species satisfy some common mass-
conservation relation. The equations are mostly coupled through the
source/reaction term which can be nonlinear Hill-type functions.
Equation:
$$\frac{\partial C_A}{\partial t} = D_A\nabla^2C_A - V_A\nabla C_A -
(k_fC_AC_B-k_rC_C)$$
I have read the tutorial and I think I understand how to setup the
diffusion and convection terms but I am not so sure about the reaction
terms which can be coupled nonlinear functions. Do I need to use some
variation of `ImplicitSource` term?
Also what is the most efficient way to get Fipy read information such as
rate constants, diffusion coefficients and drift diffusion coefficients
for many such species? Because of the nonlinearity in the reaction term
it cannot be vectorized in straightforward manner.
Regards,
Alok
Alok Ghosh
Graduate Student
University of Pennsylvania