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

Integrate NEO with ActorNeoclassical #390

Merged
merged 17 commits into from
Sep 7, 2023
Merged

Integrate NEO with ActorNeoclassical #390

merged 17 commits into from
Sep 7, 2023

Conversation

adrianaghiozzi
Copy link
Contributor

Uses NEO.jl to run NEO from FUSE and parses output files to return NEO electron particle and energy flux plus total ion flux

Copy link
Member

@orso82 orso82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @adrianaghiozzi !!

I have some comments that I think will make the code cleaner and clearer to read.
Once you fix these things, I think we should merge your changes so that @TimSlendebroek can test them.

One more thing, can you also update the FUSE/Makefile to make it pull in the NEO.jl package? It should be quite self-explanatory how to do it. Simply copy the pattern of the other FUSE dependencies.

src/actors/transport/neoclassical_actor.jl Outdated Show resolved Hide resolved
@@ -64,17 +105,26 @@ end
Writes ActorNeoclassical results to dd.core_transport
"""
function _finalize(actor::ActorNeoclassical)
par = actor.par
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good, you can then simplify all actor.par below to be simply par

@TimSlendebroek
Copy link
Contributor

TimSlendebroek commented Sep 7, 2023

Some comparison between full neo and chang-hinton on a DIII-D case where neoclassical fluxes are significant

image

@TimSlendebroek TimSlendebroek merged commit 0ee632a into master Sep 7, 2023
@TimSlendebroek TimSlendebroek deleted the neo_in_fuse branch September 28, 2023 17:52
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.

3 participants