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

Problems with Direct Solvers

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2014, 14:24
Default Problems with Direct Solvers
  #1
New Member
 
Patrick
Join Date: Feb 2014
Posts: 1
Rep Power: 0
pnr4432 is on a distinguished road
I am a college student, currently taking a CFD course. Today we talked about the differences between Gaussian and iterative solvers.

I understand that Gaussian methods are less efficient, but my professor claims that you cannot use them for linear algebraic equations resulting from discretization of the flow equations.

His reasoning is that even if you have a matrix that includes elements that are zero, the upper triangular matrix after the forward elimination step will have all non-zero elements.

I don't understand why this is bad? Isn't that always the case in Gaussian elimination? I tried talking to him after class, but I still couldn't understand his rationale. I feel like he explained something wrong...

Thanks for any help.
pnr4432 is offline   Reply With Quote

Old   February 27, 2014, 14:58
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,760
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by pnr4432 View Post
I am a college student, currently taking a CFD course. Today we talked about the differences between Gaussian and iterative solvers.

I understand that Gaussian methods are less efficient, but my professor claims that you cannot use them for linear algebraic equations resulting from discretization of the flow equations.

His reasoning is that even if you have a matrix that includes elements that are zero, the upper triangular matrix after the forward elimination step will have all non-zero elements.

I don't understand why this is bad? Isn't that always the case in Gaussian elimination? I tried talking to him after class, but I still couldn't understand his rationale. I feel like he explained something wrong...

Thanks for any help.

maybe the discussion is about the pressure solver? the resulting matrix of the system is singular
FMDenaro is offline   Reply With Quote

Old   February 27, 2014, 15:00
Default
  #3
New Member
 
Michael Woopen
Join Date: Nov 2010
Location: Aachen, Germany
Posts: 12
Rep Power: 15
akOOma is on a distinguished road
The matrices resulting from discretizations are usually very big (depending on your mesh). In fact, they can be so big, that even storing only the nonzero entries can become a problem (although they are sparse).

This is why, storing these matrices as a 2d-array is just not feasible for non-toy problems.
akOOma is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Types of solvers CFD-Junior Main CFD Forum 6 April 14, 2019 18:25
Problems in compiling solvers when using OpenFOAM13_11092006 jin_xu OpenFOAM Installation 6 July 2, 2010 13:34
Solve coupled equationss using direct solvers nandiganavishal OpenFOAM Running, Solving & CFD 0 November 23, 2008 18:21
network comms amg solvers bob Main CFD Forum 0 March 1, 2007 20:58
Some problems with Star CD Micha Siemens 0 August 6, 2003 14:55


All times are GMT -4. The time now is 06:37.