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

GSPH added more tests #100

Merged
merged 6 commits into from
Oct 19, 2021
Merged

GSPH added more tests #100

merged 6 commits into from
Oct 19, 2021

Conversation

jmpearl
Copy link
Collaborator

@jmpearl jmpearl commented Oct 16, 2021

Check for sound speed greater than zero in GSPH eval derivs was outdated. Low sound speed cases are handled by the riemann solvers now.

Added GSPH to tests:
Noh 3d
Sod gas-gas 1d,2d,3d
Sedov 1d,2d,3d

@jmpearl jmpearl changed the title GSPH debug check-bug GSPH added to more test scripts Oct 16, 2021
@jmpearl jmpearl changed the title GSPH added to more test scripts GSPH added more tests Oct 18, 2021
added GSPH and FSISPH hydros to sedov. Updated CRKSPH and PSPH for some input and name changes
@jmpearl jmpearl marked this pull request as ready for review October 18, 2021 18:53
@jmpearl jmpearl requested a review from jmikeowen October 18, 2021 18:53
@jmikeowen
Copy link
Collaborator

This mostly looks good. One question though -- I note in the Sedov test you changed the default for smoothSpike (smoothing the initial energy deposition) from False to True. I'm assuming this is because GSPH doesn't behave well with the more discontinuous initial energy? If that's the case, I might prefer to keep the default value False and add the smoothSpike=True in the ATS test line for GSPH. Almost all of our methods do better with the smoother initial condition, but I consider the pathological energy spike a stress test for the methods.

@jmpearl
Copy link
Collaborator Author

jmpearl commented Oct 19, 2021

oh that was actually me just fiddling around giving-in to a curiousity. I meant to put that back as was. I'll put another commit in changing it back. There isn't much of a noticable difference w/ GSPH for the smooth and non-smooth I.C. when running sum density. Using integrate density there is a bit of a difference but it's not huge.

Copy link
Collaborator

@jmikeowen jmikeowen left a comment

Choose a reason for hiding this comment

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

Good to go

@jmikeowen jmikeowen merged commit bdffee2 into develop Oct 19, 2021
@jmpearl jmpearl deleted the GSPH_debugFix branch October 21, 2021 20:12
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