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

Merged
merged 4 commits into from
Feb 12, 2025

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
@theo-brown theo-brown requested a review from jcitrin February 6, 2025 08:37
docs/physics_models.rst Outdated Show resolved Hide resolved
theo-brown and others added 2 commits February 11, 2025 16:21
@jcitrin
Copy link
Collaborator

jcitrin commented Feb 12, 2025

Thanks. I'll quickly fix the merge conflict (will need to regenerate the test .nc file) and bring this in now

Change-Id: I40f2dce1c8a98ef48b9f00fc02f22f7dd06188c9
@copybara-service copybara-service bot merged commit ec8513d into main Feb 12, 2025
19 of 20 checks passed
@jcitrin
Copy link
Collaborator

jcitrin commented Feb 12, 2025

Merged with ec8513d

@theo-brown theo-brown deleted the bgb-convectivity branch February 12, 2025 16:10
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.

2 participants