Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Performance problems with Interpolation Function

$
0
0
Hello,

I am using a 3d interpolation function with data from a large file (>100MB). When I execute a computation (e.g. an Eigenfrequency Analysis), it takes a long time (~15 min) before the solver even starts to work. During that time, I get no progress message and no possibility to cancel the computation. I assume that in this time, the interpolation data is calculated, since I do not have this behaviour when the interpolation function is deactivated (then the solver starts immediately).

Now my problem is that after every slight change (e.g. a parameter change) I have to execute the computation again (or at least update the solution) and the interpolation data is calculated again. But actually I only want the interpolation to be performed ONCE because it does not depend on any other parameters in the model (it comes from a file). This is very annoying because the actual simulation is very fast (~1 min) while the unnecessary interpolation always takes a long time.

Does anyone know if there is a possibility to tell Comsol that the interpolation data should not be calculated again and again? Basically, what I want to do, is to perform the interpolation once and then work with this data until I need different interpolation data (from a different file).

Thanks and best regards
Felix

Viewing all articles
Browse latest Browse all 26527

Trending Articles