Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Weird results after linking reaction-diffusion modules?

Please login with a confirmed email address before reporting spam

Hi All

I'm trying to solve a big reaction diffusion problem so I've started with a small test...
The final model will have so many reactions in it that I want to use the reaction module to simplify specifying all the reactions. I then added a multiphysics link to a diffusion module to take care of the reactants diffusing when they are injected into the diffusion space from outside (actually its going to be a model of a biological cell). The code runs and the gradient of reactant seems reasonable at first (from edge to center) then 'lateral' gradients develop that should not appear in this test which should approach a uniform steady state as there is no injection at later times. It's also not clear that any of the reactions are working. I have no idea what is going wrong and I've run out of fiddling options as nothing seems to help. According to the documentation this should be possible ... any ideas? I attach the model below.

Cheers Mark


1 Reply Last Post 27 mag 2012, 03:51 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 mag 2012, 03:51 GMT-4
I fixed it by letting the multiphysics generate a new model for the diffusion rather than hand patch a diffusion module within the same model... I'm guessing that either I made a mistake in the linking variables or that the well stirred nature of the reaction module is messing up the gradients generated by the diffusion module...

Cheers
I fixed it by letting the multiphysics generate a new model for the diffusion rather than hand patch a diffusion module within the same model... I'm guessing that either I made a mistake in the linking variables or that the well stirred nature of the reaction module is messing up the gradients generated by the diffusion module... Cheers

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.