Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf-extra/advection-reaction.xml
3204 views
1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE edf>
3
<edf version="1.0">
4
<PDE Name="AdvReact">
5
<Name>Advection-Reaction</Name>
6
<Equation>
7
<Parameter Widget="Label">
8
<Name> Options </Name>
9
</Parameter>
10
<Parameter Widget="Combo">
11
<Name>Convection</Name>
12
<Type> String </Type>
13
<Item>
14
<Name>None</Name>
15
</Item>
16
<Item>
17
<Name>Computed</Name>
18
</Item>
19
<Item>
20
<Name>Constant</Name>
21
</Item>
22
</Parameter>
23
<Parameter Widget="Label">
24
<Name>Free text input</Name>
25
</Parameter>
26
<Parameter Widget="TextEdit" Enabled="True">
27
<Name> Free text </Name>
28
<Type> String </Type>
29
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
30
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
31
</Parameter>
32
</Equation>
33
<Solver>
34
<Parameter Widget="Label">
35
<Name> Advection-Reaction</Name>
36
</Parameter>
37
<Parameter Widget="Edit" Enabled="True">
38
<Name> Procedure </Name>
39
<DefaultValue>"AdvectionReaction" "AdvectionReactionSolver" </DefaultValue>
40
</Parameter>
41
<Parameter Widget="Label">
42
<Name> Options </Name>
43
</Parameter>
44
<Parameter Widget="Edit">
45
<Name> Equation </Name>
46
<Type> String </Type>
47
<DefaultValue> "Advection-Reaction" </DefaultValue>
48
<Whatis> The name of the equation. </Whatis>
49
<StatusTip></StatusTip>
50
</Parameter>
51
<Parameter Widget="CheckBox" Enabled="False">
52
<Name> Discontinuous Galerkin </Name>
53
<Type> Logical </Type>
54
<DefaultValue>True</DefaultValue>
55
<Whatis></Whatis>
56
<StatusTip> Needs to be set to true. </StatusTip>
57
</Parameter>
58
<Parameter Widget="Edit">
59
<Name> Variable </Name>
60
<Type> String </Type>
61
<DefaultValue> "Tracer" </DefaultValue>
62
<Whatis> The name of the variable.</Whatis>
63
<StatusTip></StatusTip>
64
</Parameter>
65
<Parameter Widget="CheckBox" Enabled="True">
66
<Name> Calculate Nodal Average </Name>
67
<Type> Logical </Type>
68
<Whatis>Project DG field to nodal field?</Whatis>
69
<StatusTip> Project DG field to nodal field? </StatusTip>
70
</Parameter>
71
<Parameter Widget="CheckBox">
72
<Name> Limit Solution </Name>
73
<Type> Logical </Type>
74
<Whatis> Assumes the variational inequality method to apply, if set to true. </Whatis>
75
<StatusTip></StatusTip>
76
</Parameter>
77
<Parameter Widget="Label">
78
<Name>Free text input</Name>
79
</Parameter>
80
<Parameter Widget="TextEdit" Enabled="True">
81
<Name> Free text </Name>
82
<Type> String </Type>
83
<Whatis> Free text is copied into the Solver-block of the SIF as such. </Whatis>
84
<StatusTip> Free text is copied into the Solver-block of the SIF as such. </StatusTip>
85
</Parameter>
86
</Solver>
87
<BodyForce>
88
<Parameter Widget="Label">
89
<Name>Tracer Source</Name>
90
</Parameter>
91
<Parameter Widget="Edit">
92
<Name>Tracer Source</Name>
93
<Type> Real </Type>
94
<Whatis> defines the volumetric source for variable c </Whatis>
95
</Parameter>
96
<Parameter Widget="Label">
97
<Name>Free text input</Name>
98
</Parameter>
99
<Parameter Widget="TextEdit" Enabled="True">
100
<Name> Free text </Name>
101
<Type> String </Type>
102
<Whatis> Free text is copied into the BodyForce-block of the SIF as such. </Whatis>
103
<StatusTip> Free text is copied into the BodyForce-block of the SIF as such. </StatusTip>
104
</Parameter>
105
</BodyForce>
106
<Material>
107
<Parameter Widget="Label">
108
<Name> Convection Velocity</Name>
109
</Parameter>
110
<Parameter Widget="Edit">
111
<Name>Convection Velocity 1</Name>
112
<Type> Real </Type>
113
<Whatis> Convection velocity i= 1 for the constant convection model. </Whatis>
114
</Parameter>
115
<Parameter Widget="Edit">
116
<Name>Convection Velocity 2</Name>
117
<Type> Real </Type>
118
<Whatis> Convection velocity i= 2 for the constant convection model. </Whatis>
119
</Parameter>
120
<Parameter Widget="Edit">
121
<Name>Convection Velocity 3</Name>
122
<Type> Real </Type>
123
<Whatis> Convection velocity i= 3 for the constant convection model. </Whatis>
124
</Parameter>
125
<Parameter Widget="Label">
126
<Name> Tracer soft limiters</Name>
127
</Parameter>
128
<Parameter Widget="Edit">
129
<Name>Tracer Upper Limit</Name>
130
<Type> Real </Type>
131
<Whatis> The upper limit, cmax, for variable Variable_name. Only used if keyword Limit Solution for the solver is set to true. </Whatis>
132
</Parameter>
133
<Parameter Widget="Edit">
134
<Name>Tracer Lower Limit</Name>
135
<Type> Real </Type>
136
<Whatis> The upper limit, cmin, for variable Variable_name. Only used if keyword Limit Solution for the solver is set to true. </Whatis>
137
</Parameter>
138
<Parameter Widget="Label">
139
<Name> Tracer Gamma </Name>
140
</Parameter>
141
<Parameter Widget="Edit">
142
<Name>Tracer Gamma</Name>
143
<Type> Real </Type>
144
<Whatis> defines the reaction rate, Γ </Whatis>
145
</Parameter>
146
<Parameter Widget="Label">
147
<Name>Free text input</Name>
148
</Parameter>
149
<Parameter Widget="TextEdit" Enabled="True">
150
<Name> Free text </Name>
151
<Type> String </Type>
152
<Whatis> Free text is copied into the Material-block of the SIF as such. </Whatis>
153
<StatusTip> Free text is copied into the Material-block of the SIF as such. </StatusTip>
154
</Parameter>
155
</Material>
156
<InitialCondition>
157
<Parameter Widget="Edit">
158
<Name>Tracer</Name>
159
<Type> Real </Type>
160
<Whatis>Sets the initial value for the scalar.</Whatis>
161
</Parameter>
162
<Parameter Widget="Label">
163
<Name>Free text input</Name>
164
</Parameter>
165
<Parameter Widget="TextEdit" Enabled="True">
166
<Name> Free text </Name>
167
<Type> String </Type>
168
<Whatis> Free text is copied into the InitialCondition-block of the SIF as such. </Whatis>
169
<StatusTip> Free text is copied into the InitialCondition-block of the SIF as such. </StatusTip>
170
</Parameter>
171
</InitialCondition>
172
<BoundaryCondition>
173
<Parameter Widget="Label">
174
<Name> Tracer </Name>
175
</Parameter>
176
<Parameter Widget="Edit">
177
<Name>Tracer</Name>
178
<Type> Real </Type>
179
<Whatis> sets the value for c at inflow boundaries </Whatis>
180
</Parameter>
181
<Parameter Widget="Label">
182
<Name>Free text input</Name>
183
</Parameter>
184
<Parameter Widget="TextEdit" Enabled="True">
185
<Name> Free text </Name>
186
<Type> String </Type>
187
<Whatis> Free text is copied into the BoundaryCondition-block of the SIF as such. </Whatis>
188
<StatusTip> Free text is copied into the BoundaryCondition-block of the SIF as such. </StatusTip>
189
</Parameter>
190
</BoundaryCondition>
191
</PDE>
192
</edf>
193
194