Message Boards Message Boards

Solve a linear PDE with DSolveValue?

Posted 8 years ago

Hello!

I've been following some of the guides on how to solve linear PDEs and modifying my code as appropriate to get proper boundary conditions and initial conditions. The PDE i am trying to solve is this:

enter image description here

And my code is:

eqn = D[u[x, t], {t, 1}] == D[u[x, t], {x, 2}]; 
ic = {u[x, 0] == 0, Derivative[1,0][u][0,t] == E^t,u[1,t]==0}; 
DSolveValue[{eqn, ic}, u[x, t], {x, t}] 

And the corresponding output is:

enter image description here

I'm not sure if the PDE is too complex to solve, or if I incorrectly entered one of the boundary conditions. I can always get a solution when I don't have derivatives in the boundary conditions, but the documentation of DSolveValue says that derivatives can be used in boundary conditions. Any help is greatly appreciated!

POSTED BY: B W
2 Replies

edit: I need to make a correction in solution. Please ignore this post.

POSTED BY: Nasser M. Abbasi

If you try to solve it numerically you get a warning message that the boundary and initial conditions are inconsistent This might be the reason that you do not get an analytical solution in the first place

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