Skip to content

Fix reflux factor for MOL#679

Merged
marchdf merged 2 commits intodevelopmentfrom
fix-mol-flux-factor
Aug 22, 2023
Merged

Fix reflux factor for MOL#679
marchdf merged 2 commits intodevelopmentfrom
fix-mol-flux-factor

Conversation

@marchdf
Copy link
Copy Markdown
Contributor

@marchdf marchdf commented Aug 17, 2023

This fixes mass conservation errors in MOL when there are multiple levels. Can someone tell me why this is not correct and why the previous way is correct?!

@marchdf marchdf requested review from baperry2 and hsitaram August 17, 2023 18:32
@marchdf marchdf force-pushed the fix-mol-flux-factor branch from 35b2638 to e35dd03 Compare August 17, 2023 18:42
@baperry2
Copy link
Copy Markdown
Contributor

Can you add in the test that will break if this is wrong to this PR?

@marchdf marchdf force-pushed the fix-mol-flux-factor branch 3 times, most recently from cb74548 to 9a99371 Compare August 17, 2023 19:58
@marchdf
Copy link
Copy Markdown
Contributor Author

marchdf commented Aug 17, 2023

good idea, I tried to mimic what you did for masscons

@marchdf marchdf force-pushed the fix-mol-flux-factor branch 3 times, most recently from 81f07e4 to 8aeeae5 Compare August 17, 2023 21:17
@baperry2
Copy link
Copy Markdown
Contributor

Looks like EB-C9 and EB-C12 just need to have datlog set in the inputs file; ChannelFlow conserves mass but fails on energy because of the velocity forcing.

@marchdf marchdf force-pushed the fix-mol-flux-factor branch from 8aeeae5 to 8722d55 Compare August 18, 2023 14:16
@marchdf
Copy link
Copy Markdown
Contributor Author

marchdf commented Aug 18, 2023

Thanks for figuring that out!

@marchdf marchdf force-pushed the fix-mol-flux-factor branch from 8722d55 to 74b48a2 Compare August 21, 2023 20:17
@marchdf marchdf marked this pull request as ready for review August 22, 2023 13:57
@marchdf marchdf merged commit 0100a81 into development Aug 22, 2023
@marchdf marchdf deleted the fix-mol-flux-factor branch August 22, 2023 13:57
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