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.

Initial Concentration in Reacting Flow in Porous Media

Please login with a confirmed email address before reporting spam

Hello,

I need to know if I can add a starting concentration for a variable in the Reacting Flow in Porous Media, that will then change via the Reactions Node. The Initial Values Node does not seem to do that.. does anyone know if there is another way to give a domain an initial value?

I am trying to simulate 2 reactions occurring in a packed bed- the consumption of a chemical (ac), and the growth of the biomass that is consuming the chemical (ac).
There are 2 reactions:

R_ac = -k_rate*X*(ac/(ac+K_ac))
R_X = Y*-rfds.R_ac-(m*X)

where k_rate, K_ac, Y, and m are constants. The consumption of the chemical, ac, is dependent on the concentration of biomass, and the growth of the biomass depends on the rate of ac consumption. Is there a way to implement this successfully?
Also in case of negative concentration I introduced a variable B = max(eps^2,X) , which I used in my reactions in place of X.
The R_ac, R_X, and X go to essentially zero (e-38). I added an initial concentration for the X but it did not seem to matter. I would like to somehow add a starting concentration of biomass to the domain of the model, but cannot see a way to do that since the initial conditions node does not seem to do that.
One thing that does give me reasonable numbers is to set one of the boundaries with a constant concentration using the concentration node within reacting flow in porous media, but then that boundary will not change with the rest of the model. I would prefer NOT to take this route.

Do you have any other suggestions of advice on how to do this?
Thank you,
Kelley Rabjohns


0 Replies Last Post Mar 21, 2013, 5:23 p.m. EDT
COMSOL Moderator

Hello Kelley Rabjohns

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.