Message Boards Message Boards

GROUPS:

Equal flow boundary conditions

Posted 8 years ago
7367 Views
|
1 Reply
|
0 Total Likes
|

I'm having the following issue that can not find a solution , by using this boundary condition v[0, t] == u[1, t] that Mathematica does not understand, someone please help me!

NDSolve[{
        D[u[x, t], t] == D[u[x, t], x, x] - u[x, t],
        D[v[x, t], t] == D[v[x, t], x, x] - v[x, t],
        u[x, 0] == 1,
        v[x, 0] == 1,
        u[0, t] == 1,
        Derivative[1, 0][u][1, t] == 0,
        v[0, t] == u[1, t],
        Derivative[1, 0][v][1, t] == 0
        },
      {u[x, t], v[x, t]},
      {x, 0, 1},
      {t, 0, 5}]

I appreciate any help...

Attachments:
POSTED BY: Jeiveison Maia

Hi,

NDSolve[{D[u[x, t], t] == D[u[x, t], x, x] - u[x, t], 
  D[v[x, t], t] == D[v[x, t], x, x] - v[x, t], u[x, 0] == 1, 
  v[x, 0] == 1, u[0, t] == 1, Derivative[1, 0][u][1, t] == 0, 
  v[0, t] == u[1, t] == 1, Derivative[1, 0][v][1, t] == 0}, {u[x, t], 
  v[x, t]}, {x, 0, 1}, {t, 0, 5}]

works.

Cheers,

Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract