28 May 17:32
Re: Problems on the Cahn Hilliard Equation Example
From: Daniel Wheeler <daniel.wheeler2@...>
Subject: Re: Problems on the Cahn Hilliard Equation Example
Newsgroups: gmane.comp.python.fipy
Date: 2008-05-28 15:32:09 GMT
Subject: Re: Problems on the Cahn Hilliard Equation Example
Newsgroups: gmane.comp.python.fipy
Date: 2008-05-28 15:32:09 GMT
Hi Zhiwen, The grid spacing and time step are both too large. Change the maximum time step to be 1 and the grid spacing to be 0.5 and the system will remain stable and the overshoot above 1 and below 0 will also be reduced significantly. I'll change the example in the manual to reflect this Cheers . On Tue, May 27, 2008 at 3:31 PM, Zhiwen Liang <lzwpurdue@...> wrote: > Hi Daniel, > The script I tested is the one in the example folder of fipy. I just made a > small modification to print out the largest value and the smallest value of > the variable, as attached. I run it as "python input2D > --numberOfElements=10000 --numberOfSteps=100000". I also tried different > mesh size and different time step size and they do not seem to help. Maybe I > missed something. > Regards, > Zhiwen > > On Tue, May 27, 2008 at 2:09 PM, Daniel Wheeler <daniel.wheeler2@...> > wrote: >> >> Hi Zhiwen, >> >> Can you pass me the script that you are using? >> >> Thanks(Continue reading)
RSS Feed