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

Running time becomes very long when using a different database #7

Open
Chuangye-Wang opened this issue Apr 3, 2024 · 1 comment
Open

Comments

@Chuangye-Wang
Copy link

It takes much longer time to run the multicomponent (NiCrAl) precipitation example using my database than the provided NiCrAl.tdb.
What could be the reasons for making the calculaiton efficiency very different? Do you have any suggestions on how to make the simulation faster?

@nury12n
Copy link
Collaborator

nury12n commented Jun 6, 2024

There's a few things you could try:

  • Since this issue was brought up before kawin 0.3.0, you could try updating kawin to see if that helps since there were quite a few changes in how the models are solved
  • You could use the thermodynamics class directly rather than the surrogate, using model.setThermodynamics(therm) and skipping the surrogate section in the example. If the surrogates don't match the underlying thermodynamics that well, it's possible to get non-physical values which can affect the simulation.
  • If you want to use the surrogates, you could try increasing the density of points or expanding the composition range it's trained on

If neither of these options work, it would be helpful if you're able to share the TDB file. It's possible that the thermodynamic models in the TDB file result in largely different driving forces compared to the TDB file used in the example which can affect how the precipitation model is solved. Being able to look at the TDB file could give some insight into why you're seeing the time differences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants