Consider both a batch reactor model and a particle model. Inside a particle, a diffusion-reaction equation is solved in a spherically symmetric geometry:
with the boundary condition:
This model is coupled to a balance of a batch reactor:
where the apparent reaction rate can be obtained from the particle model as:
Questions:
Make separate implementations for the particle and reactor models.
Verify both implementations. (Think of good critical test cases.)
Combine the two models such that the particle model can provide the apparent reaction rate for the batch reactor. Use an explicit coupling where, within a time step, you call the models sequentially.
Verify the explicit coupling.
Provide an implicitly coupled implementation using a “Schur complement” strategy.
Verify the implicit coupling.