Facing problem in time dependent Stokes code #1097
-
Hello Below I attached both the error and code CODE:
ERROR :
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
The issue is in m(t,dtu,(v,q)) = ∫(v * dtu)dΩ |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response but I am still getting error attached below :
|
Beta Was this translation helpful? Give feedback.
-
Same for the trial variable. m(t,(u,p),(v,q)) = ∫(v * u)dΩ the error is telling you that you are using a |
Beta Was this translation helpful? Give feedback.
-
Thank you. I tried with both m(t,(u,p),(v,q)) = ∫(v * dtu)dΩ or m(t,(dtu,p),(v,q)) = ∫(v * dtu)dΩ but doesn't work. |
Beta Was this translation helpful? Give feedback.
-
Can you post the code and error when changing to
|
Beta Was this translation helpful? Give feedback.
They are just variables, the name doesnt matter. In your function, dtu is not defined.
As far as I understand, in transient stokes there is only a time derivative on the velocity, not the pressure. So you only need a mass matrix on (u,v).