bendudson / hermes-3

Multifluid drift reduced fluid model
GNU General Public License v3.0
37 stars 17 forks source link

Update 1D-recycling example #259

Open mikekryjak opened 1 month ago

mikekryjak commented 1 month ago

To do:

mikekryjak commented 1 month ago

Interestingly, sound_speed seems to slow down CVODE by about 10% - 20%. Probably because of the electrons being less damped now.

mikekryjak commented 1 month ago

Scratch that, adding sound_speed doubled the simulation time. @bendudson what do you think we should do with this...? On one hand, adding the component increases accuracy, on the other hand it will slow people's runs down and may lead to crashes during transients. In the end we are way less dissipative than SOLPS and other codes anyway...

Also, I found that the odd neutral temperature profiles were due to the neutrals hitting the floor. Lowering the floor to 1e-7 resolves the issue. Although you get the funny bump in Tn which Stefan spent a good amount of time tracking down - it's due to neutral friction and only appears when you correctly include the 5/2 factor in the neutral diffusion advection, which I did for 1D some time ago.

image