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

Dev sponge class #251

Merged
merged 5 commits into from
Mar 6, 2024
Merged

Dev sponge class #251

merged 5 commits into from
Mar 6, 2024

Conversation

shaering
Copy link
Contributor

refactor of sponge into a new class. multiplier applied via pointer construction of diffusivities for operators. Example input section for three combined types of sponge zones:
[spongeMultiplier]
uniform = true
uniformMult = 100.0
plane = true
planeMult = 200.0
planeNormal = '0.0 1.0 0.0'
planePoint = '0.0 0.4 0.0'
planeWidth = 0.15
cylinder = true
cylinderMult = 200.0
cylinderRadiusY = 0.1
cylinderPoint = '0.0 0.0 0.0'
cylinderWidth = 0.1

Copy link
Contributor

@trevilo trevilo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @shaering, looks pretty good to me. I've left some notes, mostly very minor and related to commented out code. I don't mind commented out code if it is serving some purpose or might be used in the future, but this looked mostly like dead code, so I'd prefer to get rid of that. Only substantive question is about the reference solution used in heatEq.test.

Other than that, I'd like to squash most of the clean up commits (everything after 43753b3 ?) down into one to keep the history on main a bit cleaner. Any objection? If not, do you want to do that or do you prefer that I do it?

src/calorically_perfect.cpp Outdated Show resolved Hide resolved
src/calorically_perfect.cpp Outdated Show resolved Hide resolved
src/geometricSponge.cpp Outdated Show resolved Hide resolved
src/geometricSponge.cpp Outdated Show resolved Hide resolved
src/geometricSponge.cpp Outdated Show resolved Hide resolved
src/geometricSponge.hpp Outdated Show resolved Hide resolved
src/tomboulides.cpp Outdated Show resolved Hide resolved
test/inputs/input.heatedBox.ini Outdated Show resolved Hide resolved
test/heatEq.test Outdated Show resolved Hide resolved
src/geometricSponge.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@trevilo trevilo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @shaering, looks pretty good to me. I've left some notes, mostly very minor and related to commented out code. I don't mind commented out code if it is serving some purpose or might be used in the future, but this looked mostly like dead code, so I'd prefer to get rid of that. Only substantive question is about the reference solution used in heatEq.test.

Other than that, I'd like to squash most of the clean up commits (everything after 43753b3 ?) down into one to keep the history on main a bit cleaner. Any objection? If not, do you want to do that or do you prefer that I do it?

@shaering
Copy link
Contributor Author

shaering commented Mar 2, 2024

squash away...

@trevilo
Copy link
Contributor

trevilo commented Mar 4, 2024

squash away...

Ok, I can do that once it is ready to merge. So, go ahead with the clean up changes. Once you're done with those I'll squash before merging to main.

trevilo pushed a commit that referenced this pull request Mar 5, 2024
This commit includes many small style and hygiene fixes as well as
build and dist fixes that are necessary prior to merging the sponge
capability.
Sigfried Haering added 5 commits March 5, 2024 18:00
This commit includes many small style and hygiene fixes as well as
build and dist fixes that are necessary prior to merging the sponge
capability.
@trevilo trevilo merged commit 6000b8a into main Mar 6, 2024
16 checks passed
@trevilo trevilo deleted the dev-spongeClass branch July 19, 2024 17:08
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.

2 participants