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 negative concentrations
Posted 10.05.2013, 13:19 GMT-4 Fluid & Heat, Computational Fluid Dynamics (CFD), Chemical Reaction Engineering, Studies & Solvers Version 4.3a 2 Replies
Please login with a confirmed email address before reporting spam
HI All,
I am trying to simulate a A+B-->C chemical reaction. I dont know why my reactants (A and B) concentration is going negative. How do I fix this?
I have attached my model as well as pic of the concentration profile.
I saw in the knowledge base they give you certain options, but they have not worked for me. I tried adaptive meshing as well introducing A>0, B>0 in my reaction terms in the variables part. This is what I have in my variables section.
A=1 mol/m^3
B=0.5 mol/m^3
C=0 mol/m^3
k1=0.01
rA=-k1*A*B*(A>0)*(B>0)
rB=-k1*B*A*(A>0)*(B>0)
rC=k1*A*B*(A>0)*(B>0)
If someone can guide me please.
Thanks,
Romani
I am trying to simulate a A+B-->C chemical reaction. I dont know why my reactants (A and B) concentration is going negative. How do I fix this?
I have attached my model as well as pic of the concentration profile.
I saw in the knowledge base they give you certain options, but they have not worked for me. I tried adaptive meshing as well introducing A>0, B>0 in my reaction terms in the variables part. This is what I have in my variables section.
A=1 mol/m^3
B=0.5 mol/m^3
C=0 mol/m^3
k1=0.01
rA=-k1*A*B*(A>0)*(B>0)
rB=-k1*B*A*(A>0)*(B>0)
rC=k1*A*B*(A>0)*(B>0)
If someone can guide me please.
Thanks,
Romani
2 Replies Last Post 15.05.2013, 09:55 GMT-4