CFD Online Discussion Forums

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

Phiper January 7, 2011 14:02

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

DoHander January 7, 2011 16: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 05: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 04:55.