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 mms #75

Merged
Merged

Conversation

hugary1995
Copy link
Contributor

A few things:

  1. You simply forgot a minus sign on the body force. See the updated overleaf document.
  2. I simplified your kernels.
  3. I modified the MMS input file to use full Dirichlet BCs -- we don't lose generality by doing so.
  4. Your magic preconditioner didn't work for me, and so I changed it to lu.
  5. This particular manufactured solution isn't interesting, and you won't see convergence. The error will stay at machine precision. You need to use a higher order function to examine convergence. I usually use some exponential or sinusoidal functions. I don't think your manufactured solution have to satisfy the incompressibility constraint, so that should make things easier.

@hugary1995
Copy link
Contributor Author

I don't think your manufactured solution have to satisfy the incompressibility constraint, so that should make things easier.

By this I mean you can add a body force to the pressure equation.

@reverendbedford reverendbedford merged commit 9c827c4 into Argonne-National-Laboratory:stokes Apr 5, 2024
1 of 4 checks passed
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