-
Notifications
You must be signed in to change notification settings - Fork 18
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
Possible energy imbalance when changing sheath gamma #281
Comments
Hey @mikekryjak ! Which input file is this for? When I checkout and run the latest
Temperatures in the last 10 cells, including the 2 boundary cells [in eV]:
|
Energy imbalance of about 0.2%:
|
I wonder if the inverted T profiles could be due to having a sheath ion heat flux coefficient less than 3.5? If The example |
Hi @bendudson well deduced - it's actually the updated input file from #259. And yes, it has gamma_i set to 2.5 because this is what a new user would expect. Looks like that is the likely root cause! We need to be able to have realistic ion gammas without issues like these. How do other codes deal with this? |
With the input file from #259 but the code in
but the ion temperature is now non-monotonic [in eV]:
Strangely the temperature is now even higher than the master branch input. Going to try with the code in #259. |
Which version are you running? The code in #259 doesn't compile (https://github.com/bendudson/hermes-3/actions/runs/12198082786/job/34029066789?pr=259) - something in |
Hi @bendudson, I was running |
1D-recycling on master still suffers from an energy imbalance at about 8%. This disappears when you add argon radiation so that the case detaches, which probably means it's to do with the target boundary. This is odd because we did a lot of work to improve the balance in #248..... Either something has changed since then, or we didn't test it thoroughly enough, or something similar.
Looking closer reveals a significant ringing type pattern in conductive heat flux:
![image](https://private-user-images.githubusercontent.com/62797494/395642184-13eef40e-419d-4d80-a2d7-d33fea9c8bd1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDM2NzEsIm5iZiI6MTczOTQwMzM3MSwicGF0aCI6Ii82Mjc5NzQ5NC8zOTU2NDIxODQtMTNlZWY0MGUtNDE5ZC00ZDgwLWEyZDctZDMzZmVhOWM4YmQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMzYxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY2ZGQ3MTE1MDI4YWIxYjQxNTYzNjQxMmNmNTkxZDUwZWFmZTM5YmEyZTFjYWQyYmFhMWU5NzVmMTI3NjllMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G0VTpiq6aG6ow_WXkfeWLnfj0Tz6_MBOKHvPIHeODag)
(note the total sources series is not correct in this plot as I think I'm missing the ion pressure source, but the rest should be OK)
And the temperature gradients flip near the target:
![image](https://private-user-images.githubusercontent.com/62797494/395642689-a618b697-0159-4d45-9e31-f6ddf6455c0d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDM2NzEsIm5iZiI6MTczOTQwMzM3MSwicGF0aCI6Ii82Mjc5NzQ5NC8zOTU2NDI2ODktYTYxOGI2OTctMDE1OS00ZDQ1LTllMzEtZjZkZGY2NDU1YzBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMzYxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyY2VjMjRjZWEyNmJhZjk4NzQ1OTM3ODFkMTM1Njk1NmU3YjExYmZiYjNiMzMxODMyOGY3MmQ3YWNhNTcyNzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5RGF8vG9asl4jtBSAEvqc7cKpFBlGpca5VAUrtqgPr8)
Ion momentum is very well behaved after our fixes but both ion and electron temperature is non-monotonic. There are no neutral sources that could cause this - the case is attached.
Thanks to Andrea for reporting this.
The text was updated successfully, but these errors were encountered: