Skip to content

Support for continuous spatial models #1424

@Homo-carbonis

Description

@Homo-carbonis

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:

  1. Discretisation not baked into the model, so you can pass num_verts to the solver.
  2. Parameters for the size of the domain.
  3. Neumann boundary conditions.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions