1
vote
0answers
35 views

Validity of a steady state solution of reaction-diffusion equation

I am performing a simulation involving growth of bacteria. This is an agent-based simulation where the solutes (glucose, oxygen etc.) are represented as a concentration field discretised over space, ...
0
votes
2answers
79 views

Simulating diffusion from bulk to individual particles

I have a 2 compartment simulation. The first compartment simulates reactions using ODEs. The second compartment uses Brownian motion. I want to be able to have molecules from the ODE compartment ...
2
votes
3answers
480 views

Finite difference formulation of the heat equation with thermal conductivity in 1D

This may seem trivial, but I'm having some trouble deriving the finite difference form of the heat equation with a thermal conductivity function $a(x)$ depending on $x$: $$\frac{\partial u(x, ...