/[escript]/trunk/modellib/py_src/flow.py
ViewVC logotype

Diff of /trunk/modellib/py_src/flow.py

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

revision 819 by elspeth, Thu Mar 23 02:27:57 2006 UTC revision 820 by gross, Mon Aug 28 06:55:36 2006 UTC
# Line 35  class SteadyIncompressibleFlow(Model): Line 35  class SteadyIncompressibleFlow(Model):
35                                   internal_force=0., \                                   internal_force=0., \
36                                   location_prescribed_velocity=Data(), \                                   location_prescribed_velocity=Data(), \
37                                   prescribed_velocity=Data(), \                                   prescribed_velocity=Data(), \
38                                   rel_tol=1.e-3,abs_tol=0.,max_iter=10,relaxation=0.001)                                   rel_tol=1.e-3,abs_tol=0.,max_iter=10,relaxation=0.0001)
39             self.__iter=0             self.__iter=0
40    
41         def doInitialization(self):         def doInitialization(self):
# Line 46  class SteadyIncompressibleFlow(Model): Line 46  class SteadyIncompressibleFlow(Model):
46             self.__p_very_old=None             self.__p_very_old=None
47             self.__dt_old=None             self.__dt_old=None
48             self.__pde=LameEquation(self.domain)             self.__pde=LameEquation(self.domain)
49               self.__pde.setSolverMethod(LameEquation.DIRECT)
50    
51         def stress(self):         def stress(self):
52             """             """

Legend:
Removed from v.819  
changed lines
  Added in v.820

  ViewVC Help
Powered by ViewVC 1.1.26