Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime when simulating trace #28

Open
smultsch opened this issue Apr 17, 2018 · 4 comments
Open

runtime when simulating trace #28

smultsch opened this issue Apr 17, 2018 · 4 comments
Assignees
Labels
numerical performance Issues with the performance of the numerical solvers

Comments

@smultsch
Copy link

Hello,

I am using a really basic setup of CMF to simulate stream flow in a small number of river segments. The simulation of solely water fluxes is quit fast regarding performance. But when adding a tracer the simulation time increased by a factor of >200. I cannot figure out the reason for the large difference in performance when using CMF with and without a tracer (keeping in ind that the tracer flux is only conservative transport).

Would be great discuss this!

Cheers,
Sebastian

cmf_runtime_daily

@philippkraft philippkraft added the numerical performance Issues with the performance of the numerical solvers label Apr 17, 2018
@philippkraft philippkraft self-assigned this Apr 17, 2018
@philippkraft
Copy link
Owner

A first observation: The largest numerical error is mostly at the solute storage of the 2nd reach in the first hour of the modelling. The performance problem is not related to the number of RHS evaluations

@philippkraft
Copy link
Owner

The problem seems to lie in the absolute error tolerance (to be used when a value approaches 0) - a18ef52 helps a bit, expecially with greater relative tolerances.

@smultsch
Copy link
Author

Ok, but I don't no what to do next. Should I replace the files and conduct the test again?

@philippkraft
Copy link
Owner

No - the problem is still unsolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
numerical performance Issues with the performance of the numerical solvers
Projects
None yet
Development

No branches or pull requests

2 participants