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

Set BgB electron convectivity proportional to diffusivity #671

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

theo-brown
Copy link
Collaborator

@theo-brown theo-brown commented Jan 22, 2025

Simulations with the BgB model were showing poor agreement in the shape of the convectivity profiles with similar simulations in other codes.

While JETTO/JINTRAC has quite a complex approach for convectivity (that I have struggled to parse from the source code*), RAPTOR adopts a much more simple method: setting v_e ∝D_e. In this PR I've switched the TORAX BgB model to use the same method as RAPTOR.

* What I had implemented previously in the BgB model was only an additional particle pinch term, rather than the main particle convectivity. This became apparent when comparing the profiles.

@theo-brown theo-brown changed the title Set electron convectivity proportional to diffusivity Set BgB electron convectivity proportional to diffusivity Jan 22, 2025
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

Successfully merging this pull request may close these issues.

1 participant