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

Restarting CGYRO with more ion species or increased resolution #395

Open
jcandy opened this issue Jul 8, 2024 · 3 comments
Open

Restarting CGYRO with more ion species or increased resolution #395

jcandy opened this issue Jul 8, 2024 · 3 comments

Comments

@jcandy
Copy link
Member

jcandy commented Jul 8, 2024

@nthoward @pabloprf @bellie @jfparisi @cholland @sfiligoi

Igor has implemented the capability to add ion species, or to increase the resolution, to an existing CGYRO simulation:

Add species

$ restart_add_species -o ORIG -n NEW

Increase resolution

$ restart_add_dims -o ORIG -n NEW -s SCALE

Here, ORIG is the original sim directory, NEW is a directory containing an input.cgyro.gen file reflecting the new simulation parameters. SCALE is a scaling parameter than should probably be 0.

@jfparisi
Copy link
Contributor

jfparisi commented Jul 8, 2024 via email

@bellie
Copy link
Member

bellie commented Jul 8, 2024

This is a python script that you run with a completed CGYRO with a restart file to make a new restart file with the new dimensions. It basically just extends the restart file to the new resolutions. The intent is just for increasing n_radial and/or n_toroidal, keeping the box sizes (kx_min, ky_min) and other resolutions the same -- e.g. if "extedning" an ion-scale simulation to multiscale resolution.

@jfparisi
Copy link
Contributor

jfparisi commented Jul 8, 2024 via email

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

3 participants