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.

Transport of dilute species module

Please login with a confirmed email address before reporting spam

Hi,
Plz help me out to know how to enter nonlinear rate expressions bcz comsol is not taking powers like 0.5 i.e c*c2^0.5.
I kindly request anyone of them to give a reply soon.
Thanx a lot..

6 Replies Last Post 2015年2月9日 GMT-5 06:14

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月9日 GMT-5 04:21
Hi

Attached my solution to the problem; c is the variable. I used the flux condition

-k*C0*(c/C0)^a

where k is the heterogeneous rate constant (cm/s). You must use the scaling concentration C0 = 1 mol/L in the non-linear condition, because the units do not agree otherwise. Now, (c/C0)^a is dimensionless number. In order to make the flux in mol/(cm²·s), I multiply the expression again with C0, which makes the units correct. Basically, it is just question of dividing and multiplying with 1, but you must adjust the value of k to make the physical situation coincide with your experiments.

best regards
Lasse
Hi Attached my solution to the problem; c is the variable. I used the flux condition -k*C0*(c/C0)^a where k is the heterogeneous rate constant (cm/s). You must use the scaling concentration C0 = 1 mol/L in the non-linear condition, because the units do not agree otherwise. Now, (c/C0)^a is dimensionless number. In order to make the flux in mol/(cm²·s), I multiply the expression again with C0, which makes the units correct. Basically, it is just question of dividing and multiplying with 1, but you must adjust the value of k to make the physical situation coincide with your experiments. best regards Lasse


Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月9日 GMT-5 05:12
thanx sir but i am using 4.4 licensed version of comsol,so the .mph is not opening.When i tried to replace c2 by c2/C0 it is showing error telling dat C0 is unknown variable.
Regards
thanx sir but i am using 4.4 licensed version of comsol,so the .mph is not opening.When i tried to replace c2 by c2/C0 it is showing error telling dat C0 is unknown variable. Regards

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月9日 GMT-5 05:13
You have to define C0, a and k in the global parameters list.
You have to define C0, a and k in the global parameters list.

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月9日 GMT-5 05:43
Respected Sir,
The following is the expression i wish to enter in the flux condition of transport of dilute species module.Plz let me know as where am i going wrong as comsol is showing error.
-0.476[mol^0.5/s*m^0.5]*(c[mol/m^3]*(c2[mol/m^3])^0.5)/(1+998*c[mol/m^3])
I will be extremely thankful to you
Regards
Respected Sir, The following is the expression i wish to enter in the flux condition of transport of dilute species module.Plz let me know as where am i going wrong as comsol is showing error. -0.476[mol^0.5/s*m^0.5]*(c[mol/m^3]*(c2[mol/m^3])^0.5)/(1+998*c[mol/m^3]) I will be extremely thankful to you Regards

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月9日 GMT-5 05:52
Thank you sir.I will definitely try by defining them in the global parameter list
Thank you sir.I will definitely try by defining them in the global parameter list

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月9日 GMT-5 06:14
Hi

What is that 998 in the denominator? Water density in kg/m^3? Anyway, I would write

-k*c*(c2/C0)^a/(1+K*(c/C0))

k = 0.476[m/s] (or whatever you need)
C0 = 1[mol/l]
a = any number
K = 998 (no unit)

Now the flux has unit mol/(m²·s) since c has the unit mol/m^3.

br
Lasse
Hi What is that 998 in the denominator? Water density in kg/m^3? Anyway, I would write -k*c*(c2/C0)^a/(1+K*(c/C0)) k = 0.476[m/s] (or whatever you need) C0 = 1[mol/l] a = any number K = 998 (no unit) Now the flux has unit mol/(m²·s) since c has the unit mol/m^3. br Lasse

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.