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

hydro restart into finer #94

Closed
ajnonaka opened this issue Nov 18, 2021 · 1 comment
Closed

hydro restart into finer #94

ajnonaka opened this issue Nov 18, 2021 · 1 comment

Comments

@ajnonaka
Copy link
Contributor

For hydro, Add a new 'init type' that reads in a plotfile or checkpoint and injects the data into a finer-by-X refinement ration and then does a projection

@ajnonaka
Copy link
Contributor Author

Now implemented. Think of this as a new simulation from time step zero that just happens to initialize velocity from a plotfile with (possibly) coarser resolution.
set prob_type=-1 and set, .e.g,
plot_init_file = "plt0000003"
This works for any refinement ratio; and does error checking to make sure the refinement is clean and the same in each direction.
The code takes care of all parallel copy tricks for you, so for the new simulation define whatever max_grid_size you want/need .

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