/[escript]/trunk/modellib/test/python/run_convection.py
ViewVC logotype

Diff of /trunk/modellib/test/python/run_convection.py

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

revision 910 by gross, Tue Aug 29 02:05:59 2006 UTC revision 911 by gross, Tue Dec 5 23:39:39 2006 UTC
# Line 13  __license__="""Licensed under the Open S Line 13  __license__="""Licensed under the Open S
13    
14  import os  import os
15  from esys.escript.modelframe import Link,Simulation  from esys.escript.modelframe import Link,Simulation
16  from esys.modellib.geometry import RectangularDomain,ScalarConstrainer,VectorConstrainer  from esys.modellib.geometry import RectangularDomain,ScalarConstrainerOverBox,VectorConstrainerOverBox
17  from esys.modellib.input import Sequencer,InterpolateOverBox,GaussianProfile,LinearCombination  from esys.modellib.input import Sequencer,InterpolateOverBox,GaussianProfile,LinearCombination
18  from esys.modellib.flow import SteadyIncompressibleFlow  from esys.modellib.flow import SteadyIncompressibleFlow
19  from esys.modellib.temperature import TemperatureAdvection  from esys.modellib.temperature import TemperatureAdvection
# Line 40  temp_val.value_right_bottom_back=1. Line 40  temp_val.value_right_bottom_back=1.
40  temp_val.value_left_top_back=0.  temp_val.value_left_top_back=0.
41  temp_val.value_right_top_back=0.  temp_val.value_right_top_back=0.
42    
43  temp_constraints=ScalarConstrainer()  temp_constraints=ScalarConstrainerOverBox()
44  temp_constraints.domain=Link(dom)  temp_constraints.domain=Link(dom)
45  temp_constraints.top=1  temp_constraints.top=1
46  temp_constraints.bottom=1  temp_constraints.bottom=1
47    
48  vel_constraints=VectorConstrainer()  vel_constraints=VectorConstrainerOverBox()
49  vel_constraints.domain=Link(dom)  vel_constraints.domain=Link(dom)
50  vel_constraints.left=[1,0,0]  vel_constraints.left=[1,0,0]
51  vel_constraints.right=[1,0,0]  vel_constraints.right=[1,0,0]

Legend:
Removed from v.910  
changed lines
  Added in v.911

  ViewVC Help
Powered by ViewVC 1.1.26