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.

Reaction rate

Michael Rembe Certified Consultant

Please login with a confirmed email address before reporting spam

Hello,

in a porous media transport problem I defined a simple reaction rate:
mc=k*(cs-c) (cs - saturated concentration).

This reaction rate also removes mass at locations with c>cs by numerical overshots.

Using a step function and a reactions rate mc=k*(cs-c)*step(cs-c) helps and converges, but it leads to c>cs at location with mc*timestep > max. mass in a mesh volume considered by cs.

I look for a limitation of mc, that considers the timestep in such a way that the resulting c <= cs.

Is there any good idea? Thanks a lot!!

Best regards
Michael Rembe

0 Replies Last Post 13.07.2017, 05:39 GMT-4
COMSOL Moderator

Hello Michael Rembe

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.