Skip to content
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

Fix lumped mass matrix for faces. #371

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Conversation

jwboth
Copy link
Collaborator

@jwboth jwboth commented Aug 26, 2024

The lumped mass matrix for face quantities was computed wrongly. The rationale behind the mass matrix is the lumping of the RT0 mass matrix on Cartesian grids. A careful calculation shows, that what is left is the arithmetic average of the cell volumes of cells to the left and right of each face. It is for now assumed that the grid is equidistant along each axis, such that only the boundary faces need extra care.

@jwboth jwboth changed the title BUG: Fix lumped mass matrix for faces. Fix lumped mass matrix for faces. Aug 26, 2024
@jwboth jwboth merged commit 4db0bb7 into main Aug 27, 2024
3 checks passed
@jwboth jwboth deleted the fix-lumped-mass-matrix-faces branch August 27, 2024 07:02
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.

1 participant