boutproject / xBOUT-examples

Examples of using xBOUT to analyse data from BOUT++ simulations
4 stars 2 forks source link

New examples wanted #4

Open johnomotani opened 3 years ago

johnomotani commented 3 years ago

It would be nice to add more examples to this repo. Please post comments on this issue with requests/suggestions.

johnomotani commented 3 years ago

Something in tokamak geometry with a separatrix. Single-null and/or double-null.

johnomotani commented 3 years ago

A turbulence simulation (BOUT-dev/examples/hasegawa-wakatani?). Maybe with power-spectrum plots?

See work in progress at #7 (help wanted!).

johnomotani commented 3 years ago

Show how to define a custom (e.g. physics-model specific) accessor. Maybe do a separate blob2d-based example, but with CoM calculation as accessor methods? [see https://github.com/boutproject/xBOUT/blob/master/examples/tutorial/blob2d.ipynb ]

Covered by #9.

johnomotani commented 3 years ago

A nonlinear elm-crash simulation. Can elm-pb do this? Maybe @bendudson or the LLNL group can provide an input file.

johnomotani commented 3 years ago

Port https://github.com/boutproject/xBOUT/blob/master/examples/tutorial/blob2d.ipynb to here. I think it might need a couple of updates for features that have been added to xbout that were missing when it was written, and it needs to be set up to auto-download the data. Would be nice to have because that notebook (that @TomNicholas made) gives a lot more description, introduction and explanation than the blob2d example I threw together.

Added in #9.