Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linear stationary system of 2 partial DEs, numerical implementation

  1. Oct 28, 2008 #1
    I have a fluid in a rectangular basin, driven by stokes drift at the southern wall. The problem is formulated as follows:

    -U_y+V_x &= g_1(x,y) \\
    U_x+V_y &= g_2(x,y) \\
    U(x=0)=U(x=M)&=V(y=0)=V(y=N) = 0

    Here, g_1 and g_2 are known functions of the horisontal coordinates x and y. M and N are east and north boundary, subscript denotes derivatives.

    My question is how can I implement this numerically? If I reduce to one variable I get a problem implementing the boundary conditions on the other variable. I believe it should be doable with a rather straightforward matlab routine?
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted