zero-rk icon indicating copy to clipboard operation
zero-rk copied to clipboard

Creating and destroying work arrays in SEULEX solver

Open dholland88 opened this issue 1 year ago • 3 comments

When using the SEULEX ODE solver in the cfd plugin, there is also a significant amount of work being done by creating and destroying the work vectors every time the equations are being solved. It would be give a decent performance improvement if this could be refactored so that they are only created once and destroyed once at the end of the CFD simulation. This would just require that the same species are being solved for in every cell for every time step, which is generally true.

I have not checked/tested the CVODE solver for a similar issue.

dholland88 avatar Jul 23 '24 09:07 dholland88