Skip to content

Conversation

@totto82
Copy link
Member

@totto82 totto82 commented Dec 15, 2025

Compensate for mass loss in the energy equation to avoid unphysical temperatures. Activated by default --enable-droft-compensation-temp (Default = true)

Compensate for mass loss in the energy equation to avoid unphysical temperatures
Activated by default --enable-droft-compensation-temp (Default = true)
@totto82 totto82 added manual:new-feature This is a new feature and should be described in the manual manual:enhancement This is an enhancement/improvent that needs to be documented in the manual labels Dec 15, 2025
@totto82
Copy link
Member Author

totto82 commented Dec 15, 2025

jenkins build this please

@hnil
Copy link
Member

hnil commented Dec 15, 2025

Maybe this option should be decoupled from using it in the flow simulation i.e. separate options. It is a good idea to include this in the separate temperature solve, since it avoid a lot of unphysical solutions when flow is not sufficiently accurate, even if one do not use driftcompansation for flow i.e. pressure and fluidphase transport, where it may lead to strange results.

@totto82
Copy link
Member Author

totto82 commented Dec 15, 2025

Maybe this option should be decoupled from using it in the flow simulation i.e. separate options

Agree. That is what I do in this PR. By default --enable-drift-compensation is false while --enable-drift-compensation-temp is true if TEMP is activated. (Or at-least that was the intention)

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

Labels

manual:enhancement This is an enhancement/improvent that needs to be documented in the manual manual:new-feature This is a new feature and should be described in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants