You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to solve an optimal control problem constrained with the stokes equation. After writing the Lagrange system of equation I get many boundary conditions:
I was wondering if it is correct to define the boundaries as a System of equation with reduction = None, because I have problems on the boundary conditions and I do not understand why.
Another doubt I had concerns the definition of the momentum equation: I wrote them considering one components at a time, so I have momentum_x, momentum_y and not only one equation of the momentum with length 2. The same is true for the momentum of the adjoint variables.
My question is: is it different if I define only one momentum with length 2? Should I get the same results?
Thank you for you help!
The text was updated successfully, but these errors were encountered:
Hi! Can you provide in latex form the problem you are trying to solve?
What time of problem you are getting with the boundaries (code error or not converging)?
sorry for some problem of visualization, I don't know how to fix them. Actually at the moment I got a good solution of this problem but I had to use eq 3 to change all z into u and solve the problem not considering z. The reconstruction of z was made after redefining the forward of the net imposing the third equation strongly. The problem I had before was that the boundary conditions were not converging. I don't know if there was something about PINA that I was not considering/out of my knowledge, or if these results (solving with u plus z = bad, solving only using u = good) are totally reasonable.
I am trying to solve an optimal control problem constrained with the stokes equation. After writing the Lagrange system of equation I get many boundary conditions:
` def dirichlet1_ad(input_, output_):
return output_.extract(['zx'])
With
I was wondering if it is correct to define the boundaries as a System of equation with reduction = None, because I have problems on the boundary conditions and I do not understand why.
Another doubt I had concerns the definition of the momentum equation: I wrote them considering one components at a time, so I have momentum_x, momentum_y and not only one equation of the momentum with length 2. The same is true for the momentum of the adjoint variables.
My question is: is it different if I define only one momentum with length 2? Should I get the same results?
Thank you for you help!
The text was updated successfully, but these errors were encountered: