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 fix the problem of non-integer exponent and temperature dependent variables
Posted Jan 7, 2019, 4:47 p.m. EST Chemical, Chemical Reaction Engineering, Parameters, Variables, & Functions Version 5.3a 1 Reply
Please login with a confirmed email address before reporting spam
Hello everybody, I'm simulating a porous reactive catalitic media for secondary reforming in an ammonia plant in order to optimize the yield and the selectivity of the process as a function of the considered shape of the catalyst at a prefixed composition.
I have to add a user defined reaction rate, which depends on temperature and some other parameters (kinetic constants, adsorption constant, etc). I have to study three different reaction rates, two of them depends on k1 and k3, which have the following unit:
(kmolbar^0.5/(kgh))
When I fill the parameters section out, the writing turns yellow with a "unit syntax error". How can i fix this problem? I read about a non-integer exponents problem with comsol, but i don't know how to deal with a non-integer exponent in the unit of a variable. I'm using the Comsol 5.3a version.
Then, I want to ask you also how can I define a variable which depends on the temperature of the system, because I considered a tubular reactor and the temperature is not constant with the length, i don't know how to consider a variable which changes progressively with the temperature along the length.
Thank you in advance, I hope someone of you could help me because I've gone crazy about these problems for several days!