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

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

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

trunk/esys2/modellib/test/python/flow_test.py revision 147 by jgs, Fri Aug 12 01:45:47 2005 UTC trunk/modellib/test/python/flow_test.py revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC
# Line 5  Line 5 
5  #  #
6  #   p=(x0+x1)*t  #   p=(x0+x1)*t
7  #  #
8  from escript.modelframe import Link,Simulation  from esys.escript.modelframe import Link,Simulation
9  from modellib.geometry import RectangularDomain,VectorConstrainer  from esys.modellib.geometry import RectangularDomain,VectorConstrainer
10  from modellib.input import Sequencer  from esys.modellib.input import Sequencer
11  from modellib.probe import Probe,EvaluateExpression  from esys.modellib.probe import Probe,EvaluateExpression
12  from modellib.flow import SteadyIncompressibleFlow  from esys.modellib.flow import SteadyIncompressibleFlow
13    
14  dom=RectangularDomain()  dom=RectangularDomain()
15  dom.order=2  dom.order=2
# Line 43  ptest.expression="(x[0]+x[1]-1.)*t" Line 43  ptest.expression="(x[0]+x[1]-1.)*t"
43  ptest.t=Link(sqe)  ptest.t=Link(sqe)
44  ptest.value=Link(flow,"pressure")  ptest.value=Link(flow,"pressure")
45    
46  s=Simulation([dom,sqe,constraints,Simulation([source,flow],debug=True),ptest],debug=True)  s=Simulation([dom,sqe,Simulation([flow],debug=True),ptest],debug=True)
47  s.writeXML()  s.writeXML()
48  s.run()  s.run()

Legend:
Removed from v.147  
changed lines
  Added in v.155

  ViewVC Help
Powered by ViewVC 1.1.26