CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

matlab code for fluid flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2015, 06:26
Default matlab code for fluid flow
  #1
New Member
 
shilpa sood
Join Date: Feb 2015
Posts: 1
Rep Power: 0
shilpa sood is on a distinguished road
hi, how to solve block tridiagonal matrix system in matlab?
shilpa sood is offline   Reply With Quote

Old   February 24, 2015, 09:09
Default
  #2
New Member
 
Rohith Jayasimha Rao
Join Date: Feb 2013
Posts: 2
Rep Power: 0
rohithjrao is on a distinguished road
There are a few routines on MATLAB file exchange like this one : http://www.mathworks.com/matlabcentr...-system-solver

However, MATLAB's "mldivide" is pretty good at this too. It is very good at detecting matrix structure and using the right algorithm. Do try it.

There are also these other functions available on File Exchange:
http://www.mathworks.com/matlabcentr...tent/tridiag.m

Just search Google for 'MATLAB Thomas Algorithm'.
rohithjrao is offline   Reply With Quote

Reply

Tags
matlab coding


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matlab code for pipe flow cici Main CFD Forum 72 May 12, 2017 18:05
Couette Flow in Matlab using Pressure Correction Method mulchah Main CFD Forum 4 February 25, 2014 05:41
Can anyone help locating an error in my 2-D MATLAB SIMPLE code? Hoggs17 Main CFD Forum 7 July 9, 2013 03:02
Give me some advice CFD in Fortran code or Matlab code. tringuyenttt Main CFD Forum 4 May 29, 2013 08:32
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08:10


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