Finding error in computing error for stokes equation #2834
Replies: 3 comments
-
A quick inspection indicates that the source term should be:
if |
Beta Was this translation helpful? Give feedback.
-
Sir, Thank you for your response. your suggestion is correct. Here, I am getting 4th order of convergence of u in L2 norm but as am approximating my u with polynomial of order 2 so, according to approximation theory, the order of convergence of u in L2 norm should be 3. why this change occur here ? |
Beta Was this translation helpful? Give feedback.
-
Sir, Thank you for your response. your suggestion is correct.
mesh error of u in L2 norm order of convergence
```
mesh error of u in L_2 norm order of convergence
8*
*8 0.0031931 -16**16
0.00021056 3.921
32*
*32 1.334e-05 3.9864**64
8.371e-07 3.99
```
Here, I am getting 4th order of convergence of u in L2 norm but as am
approximating my u with polynomial of order 2 so, according to
approximation theory, the order of convergence of u in L2 norm should be 3.
Why does this change occur here ?
…On Fri, Mar 24, 2023 at 4:59 AM ksagiyam ***@***.***> wrote:
A quick inspection indicates that the source term should be:
source = as_vector((4 * pi * pi * (-2 * sin(2 * pi * y) * cos(2 * pi * x) - sin(2 * pi * x) + sin(2 * pi * y)),
4 * pi * pi * ( 2 * sin(2 * pi * x) * cos(2 * pi * y) - sin(2 * pi * x) + sin(2 * pi * y))))
if u_exact and p_exact are to be kept unchanged.
—
Reply to this email directly, view it on GitHub
<#2834 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3SVU4MVYZQRO7NTTFM6JU3W5TMFVANCNFSM6AAAAAAV7TPXMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone
Below I attached a code of stokes equation with homogeneous boundary condition and exact solution is divergence preserving but It doesn't work properly. The error doesn't decreases as the mesh become finer and finer. Please help me in resolving this error.
Beta Was this translation helpful? Give feedback.
All reactions