- #1

debsankar

- 11

- 0

It may be a trivial question. But, if I have a PDE of variable u(x,t)

--------------------------------

[itex]\dot{u} = f(u,\partial_x{u},..)[/itex]

with boundary condition :

[itex]u(0,t) = u(L,t) =0.[/itex]

--------------------------------

Now I need to calculate

[itex]\partial_x{u}[/itex]

for that can I define the discretisation differently only on the boundary (forward / backward)?

And inside the domain(1D) I am using central difference for the perpose.

Does doing this introduce any inconsistencies in the process? Or if there is any other

standard method of doing this...

please let me know.

Regards.