/[escript]/temp/modellib/test/python/temp.xml
ViewVC logotype

Contents of /temp/modellib/test/python/temp.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1384 - (show annotations)
Fri Jan 11 02:29:38 2008 UTC (12 years, 8 months ago) by phornby
Original Path: temp_trunk_copy/modellib/test/python/temp.xml
File MIME type: text/xml
File size: 7281 byte(s)
Make a temp copy of the trunk before checking in the windows changes


1 <?xml version="1.0" ?>
2 <ESys>
3 <Simulation id="100">
4 <Component rank="0">
5 <Model id="101" module="esys.modellib.input" type="Sequencer">
6 <Parameter type="float">
7 <Name>
8 t_end
9 </Name>
10 <Value>
11 0.05
12 </Value>
13 </Parameter>
14 <Parameter type="float">
15 <Name>
16 dt_max
17 </Name>
18 <Value>
19 1e+300
20 </Value>
21 </Parameter>
22 <Parameter type="int">
23 <Name>
24 t
25 </Name>
26 <Value>
27 0
28 </Value>
29 </Parameter>
30 </Model>
31 </Component>
32 <Component rank="1">
33 <Model id="102" module="esys.modellib.geometry" type="ScalarConstrainerOverBox">
34 <Parameter type="Link">
35 <Name>
36 domain
37 </Name>
38 <Value>
39 <Link>
40 <Target>
41 103
42 </Target>
43 <Attribute>
44 domain
45 </Attribute>
46 </Link>
47 </Value>
48 </Parameter>
49 <Parameter type="int">
50 <Name>
51 right
52 </Name>
53 <Value>
54 1
55 </Value>
56 </Parameter>
57 <Parameter type="int">
58 <Name>
59 bottom
60 </Name>
61 <Value>
62 1
63 </Value>
64 </Parameter>
65 <Parameter type="int">
66 <Name>
67 top
68 </Name>
69 <Value>
70 1
71 </Value>
72 </Parameter>
73 <Parameter type="bool">
74 <Name>
75 back
76 </Name>
77 <Value>
78 False
79 </Value>
80 </Parameter>
81 <Parameter type="NoneType">
82 <Name>
83 value
84 </Name>
85 <Value>
86 None
87 </Value>
88 </Parameter>
89 <Parameter type="float">
90 <Name>
91 tol
92 </Name>
93 <Value>
94 1e-08
95 </Value>
96 </Parameter>
97 <Parameter type="bool">
98 <Name>
99 front
100 </Name>
101 <Value>
102 False
103 </Value>
104 </Parameter>
105 <Parameter type="int">
106 <Name>
107 left
108 </Name>
109 <Value>
110 1
111 </Value>
112 </Parameter>
113 </Model>
114 </Component>
115 <Component rank="2">
116 <Model id="104" module="esys.modellib.temperature" type="TemperatureAdvection">
117 <Parameter type="float">
118 <Name>
119 safety_factor
120 </Name>
121 <Value>
122 0.1
123 </Value>
124 </Parameter>
125 <Parameter type="Link">
126 <Name>
127 domain
128 </Name>
129 <Value>
130 <Link>
131 <Target>
132 103
133 </Target>
134 <Attribute>
135 domain
136 </Attribute>
137 </Link>
138 </Value>
139 </Parameter>
140 <Parameter type="Link">
141 <Name>
142 temperature
143 </Name>
144 <Value>
145 <Link>
146 <Target>
147 105
148 </Target>
149 <Attribute>
150 out
151 </Attribute>
152 </Link>
153 </Value>
154 </Parameter>
155 <Parameter type="float">
156 <Name>
157 thermal_permabilty
158 </Name>
159 <Value>
160 1.0
161 </Value>
162 </Parameter>
163 <Parameter type="Link">
164 <Name>
165 fixed_temperature
166 </Name>
167 <Value>
168 <Link>
169 <Target>
170 105
171 </Target>
172 <Attribute>
173 out
174 </Attribute>
175 </Link>
176 </Value>
177 </Parameter>
178 <Parameter type="float">
179 <Name>
180 density
181 </Name>
182 <Value>
183 1.0
184 </Value>
185 </Parameter>
186 <Parameter type="Link">
187 <Name>
188 location_fixed_temperature
189 </Name>
190 <Value>
191 <Link>
192 <Target>
193 102
194 </Target>
195 <Attribute>
196 location_of_constraint
197 </Attribute>
198 </Link>
199 </Value>
200 </Parameter>
201 <Parameter type="float">
202 <Name>
203 heat_capacity
204 </Name>
205 <Value>
206 1.0
207 </Value>
208 </Parameter>
209 <Parameter type="NumArray">
210 <Name>
211 velocity
212 </Name>
213 <Value>
214 <NumArray>
215 <ArrayType>
216 Int
217 </ArrayType>
218 <Shape>
219 2
220 </Shape>
221 <Data>
222 1 -1
223 </Data>
224 </NumArray>
225 </Value>
226 </Parameter>
227 <Parameter type="Link">
228 <Name>
229 thermal_source
230 </Name>
231 <Value>
232 <Link>
233 <Target>
234 106
235 </Target>
236 <Attribute>
237 out
238 </Attribute>
239 </Link>
240 </Value>
241 </Parameter>
242 </Model>
243 </Component>
244 <Component rank="3">
245 <Model id="107" module="esys.modellib.probe" type="Probe">
246 <Parameter type="str">
247 <Name>
248 expression
249 </Name>
250 <Value>
251 x[0]*x[1]*exp(-t)
252 </Value>
253 </Parameter>
254 <Parameter type="Link">
255 <Name>
256 t
257 </Name>
258 <Value>
259 <Link>
260 <Target>
261 101
262 </Target>
263 <Attribute>
264 t
265 </Attribute>
266 </Link>
267 </Value>
268 </Parameter>
269 <Parameter type="Link">
270 <Name>
271 value
272 </Name>
273 <Value>
274 <Link>
275 <Target>
276 104
277 </Target>
278 <Attribute>
279 temperature
280 </Attribute>
281 </Link>
282 </Value>
283 </Parameter>
284 <Parameter type="str">
285 <Name>
286 line_tag
287 </Name>
288 <Value>
289 PROBE
290 </Value>
291 </Parameter>
292 </Model>
293 </Component>
294 </Simulation>
295 <ParameterSet id="103" module="esys.modellib.geometry" type="RectangularDomain">
296 <Parameter type="int">
297 <Name>
298 dim
299 </Name>
300 <Value>
301 2
302 </Value>
303 </Parameter>
304 <Parameter type="NumArray">
305 <Name>
306 l
307 </Name>
308 <Value>
309 <NumArray>
310 <ArrayType>
311 Float
312 </ArrayType>
313 <Shape>
314 3
315 </Shape>
316 <Data>
317 1.0 1.0 1.0
318 </Data>
319 </NumArray>
320 </Value>
321 </Parameter>
322 <Parameter type="int">
323 <Name>
324 integrationOrder
325 </Name>
326 <Value>
327 -1
328 </Value>
329 </Parameter>
330 <Parameter type="NumArray">
331 <Name>
332 n
333 </Name>
334 <Value>
335 <NumArray>
336 <ArrayType>
337 Int
338 </ArrayType>
339 <Shape>
340 3
341 </Shape>
342 <Data>
343 10 10 10
344 </Data>
345 </NumArray>
346 </Value>
347 </Parameter>
348 <Parameter type="NumArray">
349 <Name>
350 periodic
351 </Name>
352 <Value>
353 <NumArray>
354 <ArrayType>
355 Bool
356 </ArrayType>
357 <Shape>
358 3
359 </Shape>
360 <Data>
361 0 0 0
362 </Data>
363 </NumArray>
364 </Value>
365 </Parameter>
366 <Parameter type="int">
367 <Name>
368 order
369 </Name>
370 <Value>
371 2
372 </Value>
373 </Parameter>
374 </ParameterSet>
375 <ParameterSet id="105" module="esys.modellib.probe" type="EvaluateExpression">
376 <Parameter type="Link">
377 <Name>
378 domain
379 </Name>
380 <Value>
381 <Link>
382 <Target>
383 103
384 </Target>
385 <Attribute>
386 domain
387 </Attribute>
388 </Link>
389 </Value>
390 </Parameter>
391 <Parameter type="str">
392 <Name>
393 expression
394 </Name>
395 <Value>
396 x[0]*x[1]*exp(-t)
397 </Value>
398 </Parameter>
399 <Parameter type="Link">
400 <Name>
401 t
402 </Name>
403 <Value>
404 <Link>
405 <Target>
406 101
407 </Target>
408 <Attribute>
409 t
410 </Attribute>
411 </Link>
412 </Value>
413 </Parameter>
414 </ParameterSet>
415 <ParameterSet id="106" module="esys.modellib.probe" type="EvaluateExpression">
416 <Parameter type="Link">
417 <Name>
418 domain
419 </Name>
420 <Value>
421 <Link>
422 <Target>
423 103
424 </Target>
425 <Attribute>
426 domain
427 </Attribute>
428 </Link>
429 </Value>
430 </Parameter>
431 <Parameter type="str">
432 <Name>
433 expression
434 </Name>
435 <Value>
436 (x[1]-x[0])*exp(-t)-exp(-t)*x[0]*x[1]
437 </Value>
438 </Parameter>
439 <Parameter type="Link">
440 <Name>
441 t
442 </Name>
443 <Value>
444 <Link>
445 <Target>
446 101
447 </Target>
448 <Attribute>
449 t
450 </Attribute>
451 </Link>
452 </Value>
453 </Parameter>
454 </ParameterSet>
455 </ESys>

  ViewVC Help
Powered by ViewVC 1.1.26