44 |
tt=TemperatureAdvection() |
tt=TemperatureAdvection() |
45 |
tt.domain=Link(dom) |
tt.domain=Link(dom) |
46 |
tt.temperature=Link(boundaryvalue,"out") |
tt.temperature=Link(boundaryvalue,"out") |
47 |
tt.velocity=numarray.array([1,-1,0]) |
tt.velocity=numarray.array([1,-1]) |
48 |
tt.thermal_source=Link(source,"out") |
tt.thermal_source=Link(source,"out") |
49 |
tt.location_fixed_temperature=Link(constraints,"location_of_constraint") |
tt.location_fixed_temperature=Link(constraints,"location_of_constraint") |
50 |
tt.fixed_temperature=Link(boundaryvalue,"out") |
tt.fixed_temperature=Link(boundaryvalue,"out") |
56 |
probe.value=Link(tt,"temperature") |
probe.value=Link(tt,"temperature") |
57 |
|
|
58 |
|
|
59 |
s=Simulation([sqe,dom,tt,probe],debug=True) |
s=Simulation([sqe,tt,probe],debug=True) |
60 |
s.writeXML() |
s.writeXML() |
61 |
s.run() |
s.run() |