- #1
iamkratos
- 7
- 0
Hello:
I am looking to solve a set of 1D PDEs. I thought the finite difference method would be a good way to go about it. So I decided to pick a simple first order forward difference scheme to obtain preliminary results.
I just have 1 question: According to my scheme, at the last node (node 'n') - [itex]\partial[/itex]u/[itex]\partial[/itex]x will be (u[itex]_{n+1}[/itex]-u[itex]_{n}[/itex])/[itex]\Delta[/itex]x. But node 'n+1' is outside my domain. How would 1 traditionally go about this problem?
Also: Is it generally required to stick to 1 discretization scheme for a system?
Thanks in advance,
-Shankar
I am looking to solve a set of 1D PDEs. I thought the finite difference method would be a good way to go about it. So I decided to pick a simple first order forward difference scheme to obtain preliminary results.
I just have 1 question: According to my scheme, at the last node (node 'n') - [itex]\partial[/itex]u/[itex]\partial[/itex]x will be (u[itex]_{n+1}[/itex]-u[itex]_{n}[/itex])/[itex]\Delta[/itex]x. But node 'n+1' is outside my domain. How would 1 traditionally go about this problem?
Also: Is it generally required to stick to 1 discretization scheme for a system?
Thanks in advance,
-Shankar