On Apr 21, 2006, at 1:42 PM, Daniel Wheeler wrote: 2) Thanks for this example. It has highlighted two separate problems. Firstly, the ConvectionTerm is assuming that the DiffusionTerm is on the same side The above is complete nonsense. FiPy works fine no matter how the terms are combined. I was running the wrong example. Sorry for the confusion. The only correction that needs to be made is the following (from the original file that you sent). The solve method needs to be changed from: >>> eq.solve(var = var,boundaryConditions = boundaryConditions) to: >>> from fipy.solvers.linearLUSolver import LinearLUSolver >>> eq.solve(var = var,boundaryConditions = boundaryConditions, solver = LinearLUSolver()) The problem is with LinearCGSSolver. Not sure why it isn't working. ------------------------------------- Daniel Wheeler Telephone: (301) 975-8358 |
- Re: TR: problems with Fipy Daniel Wheeler
- Re: TR: problems with Fipy Daniel Wheeler
