-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add problem setup for cloud collapse at different metallicities #723
base: development
Are you sure you want to change the base?
Conversation
break; | ||
case 34: | ||
numdens[n - 1] = userData_.primary_species_34; | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be replaced with a macro?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, but you still need to call the macro 34 times, no? like the way we did it in microphysics...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
### Description Now that we are going to have metal+dust chemistry, redefine the ifdef to CHEMISTRY ### Related issues Will be useful for #723 ### Checklist _Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an `x` inside the square brackets `[ ]` in the Markdown source below:_ - [x] I have added a description (see above). - [x] I have added a link to any related issues see (see above). - [x] I have read the [Contributing Guide](https://github.com/quokka-astro/quokka/blob/development/CONTRIBUTING.md). - [ ] I have added tests for any new physics that this PR adds to the code. - [x] I have tested this PR on my local computer and all tests pass. - [ ] I have manually triggered the GPU tests with the magic comment `/azp run`. - [] I have requested a reviewer for this PR. --------- Co-authored-by: Piyush Sharda <[email protected]>
### Description Important updates to microphysics now enables using chemistry at all metallicities. ### Related issues Will be used in #723 ### Checklist _Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an `x` inside the square brackets `[ ]` in the Markdown source below:_ - [x] I have added a description (see above). - [x] I have added a link to any related issues see (see above). - [x] I have read the [Contributing Guide](https://github.com/quokka-astro/quokka/blob/development/CONTRIBUTING.md). - [ ] I have added tests for any new physics that this PR adds to the code. - [x] I have tested this PR on my local computer and all tests pass. - [x] I have manually triggered the GPU tests with the magic comment `/azp run`. - [x] I have requested a reviewer for this PR. Co-authored-by: Piyush Sharda <[email protected]>
Quality Gate passedIssues Measures |
Description
This PR will add a test problem setup for simulating collapse of molecular cloud at different metallicities with on the fly (metals+dust) chemistry implemented in Microphysics. The chemistry network being used here is general and can be used for other ISM simulations as well. It does not contain cosmic rays and photochemistry; they will be added in a future PR.
Related issues
Will use AMReX-Astro/Microphysics#1642
Checklist
Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an
x
inside the square brackets[ ]
in the Markdown source below:/azp run
.