On Wed, Jul 8, 2009 at 12:40 PM, Kun-Dar Li<[email protected]> wrote: > > Hi Daniel, > > Do you have more clues or informations for choosing Solver?
Just look in fipy/solvers/ to see the different solvers that are available. You need to pass an instantiated solver to solve() or sweep(). Also, type help(fipy.solvers) to get a list of available solvers. > Why LU, not PCG, > or others? LU is a bit of a bludgeon. It's horribly inefficient in a lot of cases but it'll work. It's useful when you're trying to break down what the issues are and diagnosing and figuring if it is even a problem with the solver choice. > I cann't find more detailed information about Solvers that were > included in FiPy. Try help(fipy.solvers) for a list or hfipy.selp(olvers.pysparse.linearLUSolver) to see how to instantiate it and help(fipy.terms.term) for how to pass it to an equation. I believe there are some example in the manual that instantiate solvers and pass them to sweep or solve. > May I get a totally different result by using different solver? If the solver works then it shouldn't matter (other than efficiency and memory). > Thank you so > much for your help No problem. -- Daniel Wheeler
