opm-simulators icon indicating copy to clipboard operation
opm-simulators copied to clipboard

Compute temperature for xflowing injectors as weighted average

Open vkip opened this issue 1 year ago • 6 comments

Weighted average of fluids entering the well from both surface and reservoir.

vkip avatar Dec 13 '24 10:12 vkip

jenkins build this please

vkip avatar Dec 13 '24 10:12 vkip

I am not familiar with the energy conservation equations. But ideally, should we have a primary variable to monitor the temperatures in the wellbore to handle the crossflow through heat conservation?

GitPaean avatar Dec 13 '24 10:12 GitPaean

I am not familiar with the energy conservation equations. But ideally, should we have a primary variable to monitor the temperatures in the wellbore to handle the crossflow through heat conservation?

Maybe @hnil and/or @totto82 can comment on that. I'm just trying to get slightly more representative output with the current approach..

vkip avatar Dec 13 '24 11:12 vkip

If we are doing this only for output. I think a post processing like @vkip is suggestion is ok. But if we want to use this computed temperature for the energy equation I think we need to add a variable and solve for it as @GitPaean suggests. Maybe we should start investigating this for MSW? For STW we will only have one temperature for the whole well. For cross-flowing wells that may be a too coarse approximation.

totto82 avatar Dec 13 '24 11:12 totto82

If we are doing this only for output. I think a post processing like @vkip is suggestion is ok. But if we want to use this computed temperature for the energy equation I think we need to add a variable and solve for it as @GitPaean suggests. Maybe we should start investigating this for MSW? For STW we will only have one temperature for the whole well. For cross-flowing wells that may be a too coarse approximation.

For what it's worth, I would support both, assuming adding a variable for STW would be an improvement. (But separate from this PR..)

vkip avatar Dec 13 '24 12:12 vkip

jenkins build this please

vkip avatar Dec 13 '24 12:12 vkip