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

Dust Build #209

Merged
merged 148 commits into from
Nov 22, 2022
Merged

Dust Build #209

merged 148 commits into from
Nov 22, 2022

Conversation

helenarichie
Copy link
Collaborator

Contains code for dust model (sputtering only) that can be turned on using the DUST build type and initial condition/boundary condition functions (Grid3D::Clouds() and Grid3D::Wind_Boundary()) for cloud in wind tunnel set up

@helenarichie helenarichie requested review from alwinm and removed request for alwinm November 11, 2022 19:38
@evaneschneider
Copy link
Collaborator

This mostly looks good to me, with a couple recommended changes:
-For features that are not "generic", but rather specific to a problem, I think we should leave them as the defaults, instead of adding more macros (so for example, leave the default temperature floor and min_dt_slow, so that it's consistent with the documentation, and instead change it in a particular problem if you need to). Similarly, it's not clear to me that we need to change the cloud ICs, but I do think it's useful to have in initial conditions example of how to set the dust density
-For the dust module itself, equations that come from papers should be commented to reflect their origin (I'm thinking for example of the tau_sp equation)

@evaneschneider
Copy link
Collaborator

Oh, and can you please confirm that all existing tests all still pass with this code addition?

@bcaddy
Copy link
Collaborator

bcaddy commented Nov 16, 2022

Oh, and can you please confirm that all existing tests all still pass with this code addition?

This might be tricky. PR #199 unintentionally removed the system test data submodule. Until that is back system tests don't have data to compare to. That was @ojwg's PR and I have alerted him to the issue.

…tions to the Clouds() initial conditions function.
@evaneschneider
Copy link
Collaborator

PR #199 unintentionally removed the system test data submodule. Until that is back system tests don't have data to compare to. That was @ojwg's PR and I have alerted him to the issue.

Oh dear. All the more reason to have more of us doing PR reviews!

@helenarichie
Copy link
Collaborator Author

ca4f7d7 removed the dust build-specific modifications to TEMP_FLOOR and min_dt_slow, and 11f2477 added citations to the dust code and removed modifications to the Clouds() initial conditions function (except for setting the dust density if #DUST is defined).
I'm checking the tests now and will leave another comment when that's done.

@helenarichie
Copy link
Collaborator Author

helenarichie commented Nov 18, 2022

Okay, I manually downloaded and copied the system tests data from #198 (the last PR before it was deleted) into my repo, and verified that the tests pass for the hydro and dust builds.

@evaneschneider evaneschneider merged commit 1b6a5fb into cholla-hydro:dev Nov 22, 2022
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

Successfully merging this pull request may close these issues.

3 participants