/[escript]/trunk/doc/user/stokesflow.tex
ViewVC logotype

Diff of /trunk/doc/user/stokesflow.tex

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

revision 2579 by gross, Mon Apr 6 11:48:32 2009 UTC revision 2580 by gross, Tue Aug 4 08:24:12 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.2579  
changed lines
  Added in v.2580

  ViewVC Help
Powered by ViewVC 1.1.26