Hi,

On Thu, Jul 24, 2008 at 9:07 AM, Jonathan Guyer <[EMAIL PROTECTED]> wrote:

>
>
> On Jul 24, 2008, at 12:11 AM, Zhiwen Liang wrote:
>
>  Now I am trying to solve a diffusion problem in 3D. And the diffusivity is
>> anisotropic.
>>
>
>  But when I run it, I got the error of "Warning: invalid value encountered
>> in divide".
>>
>
> At what point? Immediately or after awhile? Your script runs fine for me,
> so I can't diagnose. Please post the error trace.
>

The error shows up immediately when the equation is solving. I just found it
only appears several times at the first step. The rest of the steps work
fine. So the 'error trace' is just a few lines of "Warning: invalid value
encountered in divide". Maybe this is not a big problem?


>
> What platform are you running on?
>

Mac OS X with version 10.4.11.
Darwin Kernel Version 8.11.1


> Precisely what version of FiPy?


2.0a1.

>
>
> What supporting libraries (NumPy, PySparse, etc.)?
>

I installed both numpy and pysparse.


>
> P.S. I'd like to recommend once again not to start with such a big mesh
> when you don't even know if things work yet. You can diagnose a 5**3 mesh a
> thousand times faster than a 50**3 mesh.
>
> P.P.S. There is no need to "sweep" this problem as there are no
> non-linearities


Thank you very much for your suggestion.

Zhiwen

Reply via email to