Julia in fusion research

Following on fromn the discussion on PIC codes. Is there much activity in using Julia for fusion and plasma simulations? Any pointers gratefully received.

Slightly off topic, here’s a recent paper that is very interesting. They 'black box optimized and tripled yield.

https://www.nature.com/articles/s41586-019-0877-0.pdf

Not to my knowledge–people might be playing with toy programs on single nodes, but the language hasn’t been stable for long enough to get buy-in to build a full radiation hydro code with a lifespan of 15-30 years. The nuts & bolts C++/Fortran approach still dominates. The ability to easily extend kernels to GPUs might be a killer feature considering the hardware of Summit/Sierra, but it’s a lot less work to write a specialized GPU kernel for a hot loop in the same low-level language as the rest of the hydrocode than it is to build a new code from scratch in Julia, fleshing out the language’s HPC bones along the way.

2 Likes

I’m a fusion researcher and I use Julia as my primary programming language. I started the JuliaFusion Organization a while back but, for the moment, none of the packages are registered (I’m waiting for the v1.2 release) and they are only used for my own research.

4 Likes

Thankyou all. I am talking to the UK fusion research centre tomorrow. All responses are very helpful.

1 Like

I built a 0-D fusion systems code with Jeff Freidberg for my masters thesis:

https://github.com/djsegal/Fussy.jl

Haven’t updated it to Julia v1+ though, so YMMV…

// notebooks can be found: here

1 Like

The University of Wisconsin stellarator research group is using Julia: WISTELL · GitLab

3 Likes

Thats pretty cool!

We wrote a paper on 0-D tokamak design [segal & freidberg] using Julia

// have been interested in expanding it to stellarators :slight_smile:


edit: also im a former badger! hope the terrace is nice this summer

2 Likes

Yeah, there’s a healthy Julia contingent at Madison with package development by groups in stats, system bio, optimization, and fusion (that I know of). We should’ve done a meetup at the Terrace during JuliaCon!

I’ve implemented a simple PIC code in Julia, but it’s more a side-project.
https://github.com/rkube/picfun

1 Like

I would be interested in a Julia in fusion energy meeting. Anyone else?