Suppose we are solving a diffusion equation.(adsbygoogle = window.adsbygoogle || []).push({});

##\frac{\partial}{\partial t} T = k\frac{\partial^2}{\partial x^2} T##

On the domain ##0 < x < L##

Subject to the conditions

##T(x,0) = f(x) ## and ##T = 0 ## at the end points.

My question is:

Suppose we solve this with some integration scheme (forward time centered space), such that we use a formula like

##T_{i}^{n+1} = \frac{k\tau}{h^2} (T_{i+1}^{n} - 2 T_{i}^{n} + T_{i-1}^n)+T_{i}^n##

how is it that we are ensuring that ##T=0## at the end points in the future?

Is a partial differential equation completely determined by its initial configuration (including its initial boundary)?

How are we respecting the boundary conditions when we do such integration of the pde ?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I Numerical integration of PDEs: How do you satisfy boundary conditions

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - Numerical integration PDEs | Date |
---|---|

I Numerical Integration twice (acceleration to displacement) | Nov 17, 2017 |

I How do you Calculate the Points in Gaussian Quadrature? | May 7, 2017 |

Numerical integrations | Sep 22, 2014 |

Numerical integration using Weber force | Jun 18, 2014 |

Area of a polygon- using numerical integration | Jun 2, 2014 |

**Physics Forums - The Fusion of Science and Community**