/[escript]/branches/stage3.0/doc/user/stokesflow.tex
ViewVC logotype

Diff of /branches/stage3.0/doc/user/stokesflow.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2583 by jfenwick, Fri Jul 31 05:39:36 2009 UTC revision 2584 by jfenwick, Wed Aug 5 02:44:51 2009 UTC
# Line 78  max_iter=200 Line 78  max_iter=200
78  t_end=50  t_end=50
79  t=0.0  t=0.0
80  time=0  time=0
81  verbose='TRUE'  verbose=True
 useUzawa='TRUE'  
82    
83  #define mesh  #define mesh
84  H=2.0  H=2.0
# Line 113  while t <= t_end: Line 112  while t <= t_end:
112    
113    solution.initialize(fixed_u_mask=boundary_cond,eta=eta,f=Y)    solution.initialize(fixed_u_mask=boundary_cond,eta=eta,f=Y)
114    velocity,pressure=solution.solve(velocity,pressure,max_iter=max_iter, \    velocity,pressure=solution.solve(velocity,pressure,max_iter=max_iter, \
115    verbose=verbose,useUzawa=useUzawa)    verbose=verbose)
116        
117    print "Max velocity =", Lsup(velocity), "m/s"    print "Max velocity =", Lsup(velocity), "m/s"
118        

Legend:
Removed from v.2583  
changed lines
  Added in v.2584

  ViewVC Help
Powered by ViewVC 1.1.26