Re: how do i choose a solver?

2009-11-02 Thread Jonathan Guyer
On Oct 28, 2009, at 10:48 AM, Ranjit Chacko wrote: This is the method I use to update the field on each time step: def step(self): self.t += self.dt self.phi.updateOld() residual=1 while residual1.0e-1: residual=self.equation.sweep(var=self.phi,

Re: tee shape mesh

2009-11-02 Thread Jonathan Guyer
On Oct 20, 2009, at 2:39 PM, weasky wrote: I have another question, is it possible to save the mesh to the disk for future use? Actually I tried to use mesh=mesh1+mesh2 tools.dump.write(mesh,filename='mesh') but then after I read the mesh in using tools.dump.read, there is an error when I

Re: 3D-2D Variable

2009-11-02 Thread Daniel Wheeler
Sorry for the long wait for the reply. I don't think the last line is correct. On Fri, Oct 23, 2009 at 1:17 PM, Kun-Dar Li kun...@umich.edu wrote: Hi Daniel, Thank you for spending so much time on replying my question. I try to simplify my problem. Are the following right statements?

Re: 3D-2D Variable

2009-11-02 Thread Daniel Wheeler
On Mon, Nov 2, 2009 at 1:04 PM, Kun-Dar Li kun...@umich.edu wrote: Hi Daniel, Thank you so much for your reply. Sorry for my unclear statement. I am trying to set the value of var2D to the value of z3D, where var3D is larger than 0.5. Since there maybe several z3D with var3D larger 0.5, so