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

Radial recycling causes crash on cold start in 2D with core sources #250

Open
mikekryjak opened this issue Aug 28, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@mikekryjak
Copy link
Collaborator

I have just started a simulation on a new grid and wanted to do it from scratch. I was only able to start the simulation without core sources and with everything turned down/off, as per the last time I did this with the MAST-U cases.

I just did some more testing and found that the case can be started from cold with all the bells and whistles (core sources present, final density and pressure settings, etc) if radial recycling is disabled.

This suggests there is likely a bug in recycling.cxx which causes an unphysical situation only at the very start of the solution.

@mikekryjak
Copy link
Collaborator Author

mikekryjak commented Mar 12, 2025

The error message is as below.

====== Back trace ======
-> virtual void Recycling::transform(Options&) on line 148 of '/users/mjk557/scratch/hermes-3/src/recycling.cxx'

====== Exception thrown ======
Setting invalid value for 'species:d:density_source'

There is a workaround: set sol_recycle = false, pfr_recycle = false, neutral_pump = false for the first iteration. You can then re-enable them upon restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Priority bugs
Development

No branches or pull requests

1 participant