~grm08/fluidity/hilbert-for-pyop2

« back to all changes in this revision

Viewing changes to tests/detectors_mesh_movement_parallel/detectors.flml

  • Committer: Jon Hill
  • Date: 2011-11-24 14:46:24 UTC
  • mfrom: (3853 fluidity)
  • mto: (4003.1.19 fluidity)
  • mto: This revision was merged to the branch mainline in revision 4028.
  • Revision ID: jon.hill@imperial.ac.uk-20111124144624-69ev9kyuludpg5fe
Merge from trunk. All bio stuff should be in trunk anyway, so this is now a copy of trunk. More devel to come though

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='utf-8'?>
 
2
<fluidity_options>
 
3
  <simulation_name>
 
4
    <string_value lines="1">detectors</string_value>
 
5
  </simulation_name>
 
6
  <problem_type>
 
7
    <string_value lines="1">fluids</string_value>
 
8
  </problem_type>
 
9
  <geometry>
 
10
    <dimension>
 
11
      <integer_value rank="0">2</integer_value>
 
12
    </dimension>
 
13
    <mesh name="CoordinateMesh">
 
14
      <from_file file_name="square">
 
15
        <format name="triangle"/>
 
16
        <stat>
 
17
          <include_in_stat/>
 
18
        </stat>
 
19
      </from_file>
 
20
    </mesh>
 
21
    <quadrature>
 
22
      <degree>
 
23
        <integer_value rank="0">6</integer_value>
 
24
      </degree>
 
25
    </quadrature>
 
26
  </geometry>
 
27
  <io>
 
28
    <dump_format>
 
29
      <string_value>vtk</string_value>
 
30
    </dump_format>
 
31
    <dump_period>
 
32
      <constant>
 
33
        <real_value rank="0">2.0</real_value>
 
34
      </constant>
 
35
    </dump_period>
 
36
    <output_mesh name="CoordinateMesh"/>
 
37
    <stat/>
 
38
    <detectors>
 
39
      <static_detector name="D1">
 
40
        <location>
 
41
          <real_value shape="2" dim1="dim" rank="1">0.0 0.0</real_value>
 
42
        </location>
 
43
      </static_detector>
 
44
      <static_detector name="D2">
 
45
        <location>
 
46
          <real_value shape="2" dim1="dim" rank="1">0.25 0.25</real_value>
 
47
        </location>
 
48
      </static_detector>
 
49
      <write_nan_outside_domain/>
 
50
      <binary_output/>
 
51
    </detectors>
 
52
  </io>
 
53
  <timestepping>
 
54
    <current_time>
 
55
      <real_value rank="0">0.0</real_value>
 
56
    </current_time>
 
57
    <timestep>
 
58
      <real_value rank="0">6.0</real_value>
 
59
    </timestep>
 
60
    <finish_time>
 
61
      <real_value rank="0">6.0</real_value>
 
62
    </finish_time>
 
63
  </timestepping>
 
64
  <material_phase name="Water">
 
65
    <vector_field name="Velocity" rank="1">
 
66
      <prescribed>
 
67
        <mesh name="CoordinateMesh"/>
 
68
        <value name="WholeMesh">
 
69
          <constant>
 
70
            <real_value shape="2" dim1="dim" rank="1">0.1 0.1</real_value>
 
71
          </constant>
 
72
        </value>
 
73
        <output/>
 
74
        <stat>
 
75
          <include_in_stat/>
 
76
        </stat>
 
77
        <detectors>
 
78
          <include_in_detectors/>
 
79
        </detectors>
 
80
        <consistent_interpolation/>
 
81
      </prescribed>
 
82
    </vector_field>
 
83
    <scalar_field name="Tracer" rank="0">
 
84
      <prescribed>
 
85
        <mesh name="CoordinateMesh"/>
 
86
        <value name="WholeMesh">
 
87
          <python>
 
88
            <string_value lines="20" type="python">def val(x, t):
 
89
        return x[0]</string_value>
 
90
          </python>
 
91
        </value>
 
92
        <output/>
 
93
        <stat/>
 
94
        <detectors>
 
95
          <include_in_detectors/>
 
96
        </detectors>
 
97
        <consistent_interpolation/>
 
98
        <do_not_recalculate/>
 
99
      </prescribed>
 
100
    </scalar_field>
 
101
  </material_phase>
 
102
  <mesh_adaptivity>
 
103
    <mesh_movement>
 
104
      <pseudo_lagrangian/>
 
105
      <vector_field name="GridVelocity" rank="1">
 
106
        <diagnostic>
 
107
          <algorithm name="Internal" material_phase_support="multiple"/>
 
108
          <mesh name="CoordinateMesh"/>
 
109
          <output/>
 
110
          <stat>
 
111
            <include_in_stat/>
 
112
          </stat>
 
113
          <convergence>
 
114
            <include_in_convergence/>
 
115
          </convergence>
 
116
          <detectors>
 
117
            <include_in_detectors/>
 
118
          </detectors>
 
119
          <steady_state>
 
120
            <include_in_steady_state/>
 
121
          </steady_state>
 
122
        </diagnostic>
 
123
      </vector_field>
 
124
    </mesh_movement>
 
125
  </mesh_adaptivity>
 
126
</fluidity_options>