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.

How to deal with parameters or variables having units with fractional or non-integer powers

Please login with a confirmed email address before reporting spam

Hi,

​In simulation of reacting flow like reactors, there are parameters or variables like k, and -rA having units with fractional or non-integer powers, like

mol.bar^0.5 or
mol^0.3.s^-1.

Comsol throws warning and in defining other parameters based on them it raises errors.

One way is to make the whole problem dimensionless, but this is not an easy task in many cases. Moreover the predefined Comsol physics are not dimensionless.

I would appreciate if there is a way to resolve this issue.
--
Best regards,
Saeid

2 Replies Last Post 2015年1月28日 GMT-5 08:03

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2015年1月27日 GMT-5 15:47
Hi,

I have used following method:

r = 5.012e11[m^3/(kmol*s)]*exp(-24054[K]/T)*c_O2*((c_CH4[m^3/mol])^0.5)[mol/m^3]

In this only concentration, c_CH4, is converted to dimensioless and after power 0.5 it is turned back to concentration.

Best regards

Tero Hietanen
Hi, I have used following method: r = 5.012e11[m^3/(kmol*s)]*exp(-24054[K]/T)*c_O2*((c_CH4[m^3/mol])^0.5)[mol/m^3] In this only concentration, c_CH4, is converted to dimensioless and after power 0.5 it is turned back to concentration. Best regards Tero Hietanen

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2015年1月28日 GMT-5 08:03
Hi Tero,

Thank you for your response. It is a quite method. I will definitely try that.

Thanks again,

Best regards,
Saeid
Hi Tero, Thank you for your response. It is a quite method. I will definitely try that. Thanks again, Best regards, Saeid

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.