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

Multigroup neutral model #185

Draft
wants to merge 37 commits into
base: master
Choose a base branch
from
Draft

Multigroup neutral model #185

wants to merge 37 commits into from

Conversation

mikekryjak
Copy link
Collaborator

@mikekryjak mikekryjak commented Nov 28, 2023

The neutral fluid approximation breaks down in the core where the neutrals are so hot they are nearly collisionless.

We assume a single neutral distribution. This means that those hot neutrals have no choice but to conduct their heat (preheat) to the nearby cold SOL neutrals, even though in reality they would pass through and hit the wall. To mitigate this issue, we can impose a conduction heat flux limiter, but this traps the hot neutrals in the core and prevents them from heating the walls, while the cold neutral preheat is okay in the SOL but too low in the PFR.

A solution could be to have a new species called hot neutrals. Both cold and hot neutrals would have the same atomic reactions available, but cold neutrals are created only through puffing and thermal recycling, while hot neutrals are created only through charge exchange or fast recycling.

To do:

  • Implement ionisation for hot neutrals
  • Implement transfer CX reaction
  • Simple test (presence of d*, new reactions: hot CX, transfer CX, hot IZ)
  • Implement neutral reflection d->d* transfer channel
  • Test
  • Extend to mixed isotope reactions
  • 2D test with puff and pump
  • Documentation

@mikekryjak mikekryjak added the enhancement New feature or request label Nov 28, 2023
@mikekryjak mikekryjak self-assigned this Nov 28, 2023
@mikekryjak mikekryjak marked this pull request as draft November 28, 2023 13:44
mikekryjak and others added 26 commits November 28, 2023 15:47
- Floor prevents CX turning off. problem for CX with density channel
- When the hot neutrals approach the cold neutral temperature, wall reflection no longer turns them into cold neutrals. Prevents hot neutrals from becoming colder than cold neutrals by the wall.
Apply limiter/upwinding to both X and Y advection
Seems to work better for neutral perpendicular diffusion than MC.
Take field (Nn, Pn, NVn) and Dnn separately; only upwind the field,
and use cell face average values for Dnn.

Also add neutral_conduction switch.
target settings used in SOL and PFR regions, rather than SOL and PFR
settings.
Seems to help with smoothness of profiles
Same as anomalous_diffusion, obtain flows in X and Y for output
when diagnose = true.

Note: Only saves perpendicular flux, not parallel flux.
- For debugging purposes
- added setting for pressure floor. Added temporary debug flags for using floored Nn and Pn in DnnNn and DnnPn calculation (otherwise they could unbalance and lead to density loss - need more testing). There is a secondary floor which kicks in at zero gradient, this is now linked to the primary floor (but 2 orders of magnitude below).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants