iamkratos
- 5
- 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') - \partialu/\partialx will be (u_{n+1}-u_{n})/\Deltax. 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') - \partialu/\partialx will be (u_{n+1}-u_{n})/\Deltax. 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