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

Support PAR_ONLY model #356

Open
3 tasks
hyschive opened this issue Sep 27, 2024 · 0 comments
Open
3 tasks

Support PAR_ONLY model #356

hyschive opened this issue Sep 27, 2024 · 0 comments
Assignees
Labels

Comments

@hyschive
Copy link
Contributor

hyschive commented Sep 27, 2024

Description

In our current temporary approach for particle-only simulations, we enable OPT__FREEZE_FLUID and assign a negligibly small density to gas/FDM to effectively ignore their contribution to gravity. However, this method is inefficient as it is memory-intensive (requiring allocation of all gas/FDM variables), storage-heavy (since all gas/FDM variables are still saved to disk), and time-consuming (because even with OPT__FREEZE_FLUID, gas/FDM is still evolved with a zero time-step). This feature request seeks to address these inefficiencies by implementing proper support for genuine particle-only simulations.

Tasks

  • Only need to allocate the DENS field in the fluid array
  • No need to evolve the fluid array
  • Update the gamer frontend in yt

Related PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants