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

Adding species to CGYRO simulation #369

Open
jcandy opened this issue May 2, 2024 · 0 comments
Open

Adding species to CGYRO simulation #369

jcandy opened this issue May 2, 2024 · 0 comments

Comments

@jcandy
Copy link
Member

jcandy commented May 2, 2024

To add a species to an existing CGYRO simulation, you can use the restart_add_species.py tool. The usage is

$ restart_add_species.py -o DIR1 -n DIR2

Here, DIR1 is a directory containing the restart file you want to "expand" to include an added species. It must contain both the original input.cgyro.gen and bin.cgyro.restart files. DIR2 is the new directory. It has an input.cgyro with an added species.

Note that it is necessary to run cgyro -t in DIR2 to also generate input.cgyro.gen which is needed by the script.

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

No branches or pull requests

1 participant