Using this code I get an error like boundary condition in consistency. how to solve this issue and solve this nonlinear system. I am not sure about the B.C. AND I.C., in question it's given as u=v=0 at y=0 and u= constant if y= inf. How to construct boundary conditions when the question has only that conditions?
Clear[u, v, ν, pde1, pde2]
pde1 = D[u[x, y], x] + D[v[x, y], y] == 0;
pde2 = u[x, y]*D[u[x, y], x] + v[x, y]*D[u[x, y], y] == ν*D[u[x, y], {y, 2}];
ic = {u[x, 0] == 0, v[x, 0] == 0};
bc = {u[0, y] == 1, v[0, y] == 0};
ν = 1;
sol = NDSolve[{pde1, pde2, ic, bc}, {u, v}, {x, 0, 1}, {y, 0, 1}]
NDsolveshould beNDSolve. 2.v[x, 1000] = 0should bev[x, 1000] == 0, remember toClear[v]to remove the pollution. 3. You're setting option forNDSolveblindly,MethodOfLinesis for time-dependent PDE. 4. When FEM is used, b.c. involving derivative cannot be used, see this post for more info: https://mathematica.stackexchange.com/q/224812/1871