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.

Assembling of matrix takes very long

Please login with a confirmed email address before reporting spam

Hello!

I'm trying to solve a (quite simple) 2D-axissym. model of a fixed bed reactor. I have four species where only three a actually taking part in the exothermic reaction. The chemistry is modeled in re (reaction engineering module) and exported to the 2D-model where I use the following modules: tds (transport diluted species), ht (heat transfer in fluids) and br (Brinkmann-equations).

As far as I can see, I set up the model correctly. But when I want to solve it, it takes hours to assemble the matrix!!!

Is this a normal behaviour? Or where could I start finding the mistake?

Thanks in advance! Till


4 Replies Last Post 24 sept. 2018, 05:14 UTC−4

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 21 sept. 2018, 07:47 UTC−4

Found an interesting behaviour:

I simplified the calculation of the heat capacity of the mixture. I left out the temperature-pendency of the species and took averaged values.

Now it solves much much faster!

Found an interesting behaviour: I simplified the calculation of the heat capacity of the mixture. I left out the temperature-pendency of the species and took averaged values. Now it solves much much faster!

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 21 sept. 2018, 09:25 UTC−4

Till,

that's not too surprising. A temperature dependent heat capacity makes the heat transfer physics nonlinear.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Till, that's not too surprising. A temperature dependent heat capacity makes the heat transfer physics nonlinear. Cheers Edgar

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 24 sept. 2018, 04:04 UTC−4

Hi Edgar,

thanks for replying. But is this the effect that strong? Computing a solution with fixed Cp takes about 1 minute. With Cp(T) it takes several hours! BTW: I have modeled the heat conductivity also as a function of T in both cases. This doesn't affect the solution time at all...?

Cheers Till

Hi Edgar, thanks for replying. But is this the effect that strong? Computing a solution with fixed Cp takes about 1 minute. With Cp(T) it takes several hours! BTW: I have modeled the heat conductivity also as a function of T in both cases. This doesn't affect the solution time at all...? Cheers Till

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 24 sept. 2018, 05:14 UTC−4

Till,

yes that is at least a little surprising. Is the derivative Cp(T)/dT nicely smooth?

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Till, yes that is at least a little surprising. Is the derivative Cp(T)/dT nicely smooth? Cheers Edgar

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.