-
Notifications
You must be signed in to change notification settings - Fork 99
Fix transmissibility calculation #3940
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
base: feature/jhuang/multiphaseALM
Are you sure you want to change the base?
Fix transmissibility calculation #3940
Conversation
OmarDuran
left a comment
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.
Thank you for the fix @dkachuma
jhuang2601
left a comment
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.
Great, it is working for SEAM case.
The negative transmissibility is related to the old issue with vtk (inconsistent surface normal with MPI)
| real64 const dt0 = m_weights[iconn][0] * dCoeff_dVar[er0][esr0][ei0][0][0]; | ||
| real64 const dt1 = m_weights[iconn][1] * dCoeff_dVar[er1][esr1][ei1][0][2]; | ||
|
|
||
| dWeight_dVar[0][0] = ( dt0 * t1 * sumOfTrans - dt0 * t0 * t1 ) / ( sumOfTrans * sumOfTrans ); |
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.
Shouldn't the m_transMultiplier be there too ?
This PR fixes the transimissibility calculated between a cell and a surface element. This follows the same treatment as
CellElementStencilTPFA.As a side, the logging on
vtkExtractEdgesresults in some info messages in the log. I am disabling the logging temporarily while this filter is running.