-
Notifications
You must be signed in to change notification settings - Fork 97
feat: oscillation scaling #3745
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
b37dbf0
oscillation scaling
9f1dcd9
cleanup and refine, enable for one case
c1f4b28
raja and mpi
3c0bd3a
code style
02e8722
Update PhysicsSolverBase.cpp
paveltomin 23ec7b2
Merge branch 'pt/detect-oscillations' of https://github.com/GEOS-DEV/…
bd6c506
doxy
72ff37c
Merge branch 'develop' into pt/detect-oscillations
paveltomin 1c1b87a
Merge branch 'develop' into pt/detect-oscillations
paveltomin 61bc2b2
dick's comments
b27e42b
add params output
a0ccfa5
Merge branch 'develop' into pt/detect-oscillations
paveltomin c4c7987
fix for coupled solver
f9d06a6
Merge branch 'pt/detect-oscillations' of https://github.com/GEOS-DEV/…
9cd9b79
Merge branch 'develop' into pt/detect-oscillations
paveltomin b46bde4
Update src/coreComponents/physicsSolvers/NonlinearSolverParameters.hpp
paveltomin b5abc39
Update src/coreComponents/physicsSolvers/NonlinearSolverParameters.hpp
paveltomin c28abb8
Merge branch 'develop' into pt/detect-oscillations
paveltomin 494a303
Merge branch 'develop' into pt/detect-oscillations
paveltomin bff3fa9
Update PhysicsSolverBase.cpp
paveltomin ff25dc7
cuda fix
paveltomin fa3910d
Merge branch 'develop' into pt/detect-oscillations
paveltomin 134f405
Update lockExchange_rho.xml with new parameters
paveltomin f681408
Update lockExchange_rho.xml formatting
paveltomin 282f248
Update lockExchange_rho.xml
paveltomin d71d6de
Update baseline path in integrated tests configuration
paveltomin 10de6a7
Add new entries and format updates to baseline notes
paveltomin 6e047d7
Adjust restart and check steps in lockExchange test
paveltomin 69dcfc4
Update baseline path in integrated tests configuration
paveltomin 97fabfe
Merge branch 'develop' into pt/detect-oscillations
paveltomin 5636d47
Update baseline path in integrated tests configuration
paveltomin fa548d5
Add link to baseline for PR #3745
paveltomin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -616,7 +616,7 @@ real64 CompositionalMultiphaseFVM::scalingForSystemSolution( DomainPartition & d | |
else | ||
{ | ||
string const dofKey = dofManager.getKey( viewKeyStruct::elemDofFieldString() ); | ||
real64 scalingFactor = 1.0; | ||
real64 scalingFactor = CompositionalMultiphaseBase::scalingForSystemSolution( domain, dofManager, localSolution ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this feature be extended for singlePhase flow? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think it should work for single phase as is now, although i didn't have a change to test |
||
real64 minPresScalingFactor = 1.0, minCompDensScalingFactor = 1.0, minTempScalingFactor = 1.0; | ||
|
||
stdVector< MpiWrapper::PairType< real64, globalIndex > > regionDeltaPresMaxLoc; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
A unit test or integrated test to exercise the detection logic would be good. Ideally this could be exercised in isolation from a full simulation run, but this isn't always possible..
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.
i enabled it for one example from integrated tests