Skip to content

feat: Solution scaling for thermal single phase#3979

Open
frankfeifan wants to merge 5 commits intodevelopfrom
feat/frankfei/tempScalingForSinglePhase
Open

feat: Solution scaling for thermal single phase#3979
frankfeifan wants to merge 5 commits intodevelopfrom
feat/frankfei/tempScalingForSinglePhase

Conversation

@frankfeifan
Copy link
Contributor

@frankfeifan frankfeifan commented Feb 22, 2026

This PR aims to enable scaling factor for temperature in the thermal single-phase flow and well models. Following changes are made:

  • Get and print out individual max. changes and scaling factors for the pressure and temperature
  • The scalingFactor output by scalingForSystemSolution is a global min of pressure and temperature scaling factors
  • Apply individual scaling factors to the pressure and temperature accordingly in both reservoir flow and well models

@frankfeifan frankfeifan self-assigned this Feb 22, 2026
@frankfeifan frankfeifan added the ci: run CUDA builds Allows to triggers (costly) CUDA jobs label Feb 22, 2026
Copy link
Contributor

Choose a reason for hiding this comment

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

give the 1 and 2 a name... varOffset or something descriptor

Copy link
Contributor

@tjb-ltk tjb-ltk left a comment

Choose a reason for hiding this comment

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

Good addition and cleanup of single/compositional well scaling paramerters

@frankfeifan frankfeifan added flag: ready for review ci: run integrated tests Allows to run the integrated tests in GEOS CI labels Feb 25, 2026
dofManager.addVectorToField( localSolution,
wellElementDofName(),
well::connectionRate::key(),
scalingFactor,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure which scaling factor should be used here for the connectionRate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants