-
-
Notifications
You must be signed in to change notification settings - Fork 81
Description
Hello, I am working on a package ReactionDiffusion.jl, which uses Catalyst as the front end to a custom-made solver for 1D reaction-diffusion systems. Catalyst makes describing things like gene regulatory networks really easy, so it's ideal for our purposes.
At the moment we're using Catalyst to specify reaction kinetics and generate an ODE, and our own macros for the spatial mechanics, but it would be great if we could use the Catalyst DSL for everything. I was wondering if there are plans to better support modelling spatial systems on continuous domains? I would be quite interested in contributing if so.
I experimented with using the existing LatticeReactionSystem objects but there are a few things which are either not yet available, or awkward from the point of view of spatially continuous systems:
- Discretisation not baked into the model, so you can pass
num_vertsto the solver. - Parameters for the size of the domain.
- Neumann boundary conditions.
- Continuously varying initial conditions.
I think maybe the ideal situation would be (having defined @species U(x,t)) to be able to write expressions for U(x,0), Uₓ(0,t), Uₓ(L,t), and the diffusion coefficients within the main DSL.