CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   tridiagonol matrice (https://www.cfd-online.com/Forums/main/83689-tridiagonol-matrice.html)

Phiper January 7, 2011 13:02

tridiagonol matrice
 
Can someone explain how to solve a two dimensional tdma problem?

DoHander January 7, 2011 15:53

You will find the algorithm for TDMA in a few books:

J. D. Anderson - Introduction to CFD
Tletcher - Computational Techniques for Fluid Dynamics

and obviously Wikipedia (even with an implementation example):

http://en.wikipedia.org/wiki/Tridiag...trix_algorithm

here you will see how to use TDMA to solve a linear equation line by line:

http://www.stanford.edu/class/me469a...lvers/lapl2d.f

Do

arjun January 8, 2011 04:06

Quote:

Originally Posted by Phiper (Post 289634)
Can someone explain how to solve a two dimensional tdma problem?


I think what you want is algorithm for block tridiagonal system. You should look into blktri method of fishpack.


All times are GMT -4. The time now is 19:40.