Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf-extra/vectorhelmholtz.xml
3204 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE edf>
3
<edf version="1.0" >
4
5
<PDE Name="VecHelm" >
6
<Name>Vector Helmholtz Equation</Name>
7
8
<Equation>
9
<Parameter Widget="Label">
10
<Name> Options </Name>
11
</Parameter>
12
<Parameter Widget="Edit">
13
<Name> Angular Frequency </Name>
14
</Parameter>
15
<Parameter Widget="Label">
16
<Name> This and that </Name>
17
</Parameter>
18
<Parameter Widget="Edit">
19
<Name> Element Codes </Name>
20
<SifName> Element </SifName>
21
<Whatis> Define element degrees of freedom (p:n d:n n:n e:n f:n b:n d:n). "p" is the p-element degree, "e" number of edge DOFs, "f" number of face DOFs, "b" number of bubble DOFs, and "d" the Discontinuous Galerkin DOFs (0 = element number of nodes). "p" and "b" may be entered together, "d" on its own, and the rest together. </Whatis>
22
</Parameter>
23
24
<Parameter Widget="Label">
25
<Name> Free text input </Name>
26
</Parameter>
27
28
<Parameter Widget="TextEdit" Enabled="True">
29
<Name> Free text </Name>
30
<Type> String </Type>
31
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
32
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
33
</Parameter>
34
</Equation>
35
36
<Material>
37
<Parameter Widget="Label" > <Name> Material properties </Name> </Parameter>
38
<Parameter Widget="Edit" >
39
<Name> Relative Permittivity </Name>
40
<Type> String </Type>
41
<Whatis> Give the relative permittivity of medium (real part). </Whatis>
42
</Parameter>
43
<Parameter Widget="Edit" >
44
<Name> Relative Permittivity im</Name>
45
<Type> String </Type>
46
<Whatis> Give the relative permittivity of medium (imag part). </Whatis>
47
</Parameter>
48
<Parameter Widget="Edit" >
49
<Name> Relative Reluctivity</Name>
50
<Type> String </Type>
51
<Whatis> Give the relative reluctivity of the medium (real part). </Whatis>
52
</Parameter>
53
<Parameter Widget="Edit" >
54
<Name> Relative Reluctivity im</Name>
55
<Type> String </Type>
56
<Whatis> Give the relative reluctivity of the medium (imag part). </Whatis>
57
</Parameter>
58
</Material>
59
60
61
<Solver>
62
<Parameter Widget="Edit">
63
<Name> Procedure </Name>
64
<DefaultValue> "VectorHelmholtz" "VectorHelmholtzSolver" </DefaultValue>
65
</Parameter>
66
<Parameter Widget="Edit" Enabled="False">
67
<Name> Variable </Name>
68
<DefaultValue> E[E re:1 E im:1] </DefaultValue>
69
</Parameter>
70
71
<Parameter Widget="Edit" Enabled="True">
72
<Name> Linear System Preconditioning Damp Coefficient </Name>
73
<Type> Real </Type>
74
</Parameter>
75
76
<Parameter Widget="Edit" Enabled="True">
77
<Name> Linear System Preconditioning Damp Coefficient im </Name>
78
<Type> Real </Type>
79
<DefaultValue> 1.0 </DefaultValue>
80
</Parameter>
81
82
<Parameter Widget="Label"> <Name> Miscellaneous options </Name> </Parameter>
83
<Parameter Widget="CheckBox">
84
<Name> Calculate Loads </Name>
85
<Whatis> If checked compute boundary reaction forces. </Whatis>
86
</Parameter>
87
88
<Parameter Widget="CheckBox">
89
<Name> Use Piola Transform </Name>
90
<Type> Logical </Type>
91
</Parameter>
92
93
<Parameter Widget="Label">
94
<Name> Free text input </Name>
95
</Parameter>
96
97
<Parameter Widget="TextEdit" Enabled="True">
98
<Name> Free text </Name>
99
<Type> String </Type>
100
<Whatis> Free text is copied into the Solver-block of the SIF as such. </Whatis>
101
<StatusTip> Free text is copied into the Solver-block of the SIF as such. </StatusTip>
102
</Parameter>
103
104
</Solver>
105
106
<BodyForce>
107
<Parameter Widget="Label" > <Name> Volume sources </Name> </Parameter>
108
<Parameter Widget="Edit">
109
<Name> Current Density 1 (real part)</Name>
110
<SifName> Current Density 1 </SifName>
111
</Parameter>
112
<Parameter Widget="Edit">
113
<Name> Current Density 1 (imag part)</Name>
114
<SifName> Current Density im 1 </SifName>
115
</Parameter>
116
<Parameter Widget="Edit">
117
<Name> Current Density 2 (real part)</Name>
118
<SifName> Current Density 2 </SifName>
119
</Parameter>
120
<Parameter Widget="Edit">
121
<Name> Current Density 2 (imag part)</Name>
122
<SifName> Current Density im 2 </SifName>
123
</Parameter>
124
<Parameter Widget="Edit">
125
<Name> Current Density 3 (real part)</Name>
126
<SifName> Current Density 3 </SifName>
127
</Parameter>
128
<Parameter Widget="Edit">
129
<Name> Current Density 3 (imag part)</Name>
130
<SifName> Current Density im 3 </SifName>
131
</Parameter>
132
133
<Parameter Widget="Label">
134
<Name> Free text input </Name>
135
</Parameter>
136
137
<Parameter Widget="TextEdit" Enabled="True">
138
<Name> Free text </Name>
139
<Type> String </Type>
140
<Whatis> Free text is copied into the Body Force-block of the SIF as such. </Whatis>
141
<StatusTip> Free text is copied into the Body Force-block of the SIF as such. </StatusTip>
142
</Parameter>
143
144
</BodyForce>
145
146
147
<BoundaryCondition>
148
<Parameter Widget="Edit">
149
<Name> E re {e} </Name>
150
<Type> Real </Type>
151
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {e} </Activate>
152
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E re {f} </Activate>
153
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {f} </Activate>
154
</Parameter>
155
<Parameter Widget="Edit" Enabled="False" Visible="False">
156
<Name> E im {e} </Name>
157
<Type> Real </Type>
158
</Parameter>
159
<Parameter Widget="Edit" Enabled="False" Visible="False">
160
<Name> E re {f} </Name>
161
<Type> Real </Type>
162
</Parameter>
163
<Parameter Widget="Edit" Enabled="False" Visible="False">
164
<Name> E im {f} </Name>
165
<Type> Real </Type>
166
</Parameter>
167
<Parameter Widget="Edit">
168
<Name> E re {e} 1</Name>
169
<Type> Real </Type>
170
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {e} 1 </Activate>
171
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E re {f} 1 </Activate>
172
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {f} 1 </Activate>
173
</Parameter>
174
<Parameter Widget="Edit" Enabled="False" Visible="False">
175
<Name> E im {e} 1</Name>
176
<Type> Real </Type>
177
</Parameter>
178
<Parameter Widget="Edit" Enabled="False" Visible="False">
179
<Name> E re {f} 1</Name>
180
<Type> Real </Type>
181
</Parameter>
182
<Parameter Widget="Edit" Enabled="False" Visible="False">
183
<Name> E im {f} 1</Name>
184
<Type> Real </Type>
185
</Parameter>
186
187
<Parameter Widget="Edit">
188
<Name> E re {e} 2</Name>
189
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {e} 2 </Activate>
190
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E re {f} 2 </Activate>
191
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {f} 2 </Activate>
192
</Parameter>
193
<Parameter Widget="Edit" Enabled="False" Visible="False">
194
<Name> E im {e} 2</Name>
195
</Parameter>
196
<Parameter Widget="Edit" Enabled="False" Visible="False">
197
<Name> E re {f} 2</Name>
198
</Parameter>
199
<Parameter Widget="Edit" Enabled="False" Visible="False">
200
<Name> E im {f} 2</Name>
201
</Parameter>
202
203
<Parameter Widget="Edit">
204
<Name> E re {e} 3</Name>
205
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {e} 3 </Activate>
206
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E re {f} 3 </Activate>
207
<Activate> /Vector Helmholtz Equation/BoundaryCondition/E im {f} 3 </Activate>
208
</Parameter>
209
<Parameter Widget="Edit" Enabled="False" Visible="False">
210
<Name> E im {e} 3</Name>
211
</Parameter>
212
<Parameter Widget="Edit" Enabled="False" Visible="False">
213
<Name> E re {f} 3</Name>
214
</Parameter>
215
<Parameter Widget="Edit" Enabled="False" Visible="False">
216
<Name> E im {f} 3</Name>
217
</Parameter>
218
219
<Parameter Widget="Edit">
220
<Name> Magnetic Boundary Load 1</Name>
221
</Parameter>
222
<Parameter Widget="Edit">
223
<Name> Magnetic Boundary Load im 1</Name>
224
</Parameter>
225
<Parameter Widget="Edit">
226
<Name> Magnetic Boundary Load 2</Name>
227
</Parameter>
228
<Parameter Widget="Edit">
229
<Name> Magnetic Boundary Load im 2</Name>
230
</Parameter>
231
<Parameter Widget="Edit">
232
<Name> Magnetic Boundary Load 3</Name>
233
</Parameter>
234
<Parameter Widget="Edit">
235
<Name> Magnetic Boundary Load im 3</Name>
236
</Parameter>
237
238
<Parameter Widget="Edit">
239
<Name> Electric Robin Coefficient</Name>
240
</Parameter>
241
<Parameter Widget="Edit">
242
<Name> Electric Robin Coefficient im</Name>
243
</Parameter>
244
245
<Parameter Widget="TextEdit">
246
</Parameter>
247
<Parameter Widget="Label">
248
<Name> Free text input </Name>
249
</Parameter>
250
251
<Parameter Widget="TextEdit" Enabled="True">
252
<Name> Free text </Name>
253
<Type> String </Type>
254
<Whatis> Free text is copied into the Boundary Condition-block of the SIF as such. </Whatis>
255
<StatusTip> Free text is copied into the Boundary Condition-block of the SIF as such. </StatusTip>
256
</Parameter>
257
258
</BoundaryCondition>
259
</PDE>
260
261
<PDE Name="VecHelmPost">
262
<Name>Vector Helmholtz Post Process</Name>
263
<Equation>
264
<Parameter Widget="Label">
265
<Name> Free text input </Name>
266
</Parameter>
267
268
<Parameter Widget="TextEdit" Enabled="True">
269
<Name> Free text </Name>
270
<Type> String </Type>
271
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
272
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
273
</Parameter>
274
</Equation>
275
276
<Solver>
277
<Parameter Widget="Edit">
278
<Name> Procedure </Name>
279
<DefaultValue> "VectorHelmholtz" "VectorHelmholtzCalcFields" </DefaultValue>
280
</Parameter>
281
282
<Parameter Widget="Edit" Enabled="True">
283
<Name> Field Variable </Name>
284
<DefaultValue> E </DefaultValue>
285
<Type> String </Type>
286
<Whatis> The electric field variable name defined in Vector Helmholtz Equation Solver </Whatis>
287
</Parameter>
288
289
<Parameter Widget="Label"> <name> Specify fields to compute </name> </Parameter>
290
<Parameter Widget="CheckBox">
291
<Name> Calculate Electric Field </Name>
292
<Type> Logical </Type>
293
<Whatis> Calculate Electric Field </Whatis>
294
</Parameter>
295
<Parameter Widget="CheckBox">
296
<Name> Calculate Magnetic Field Strength </Name>
297
<Type> Logical </Type>
298
<Whatis> Calculate Magnetic Field Strength </Whatis>
299
</Parameter>
300
<Parameter Widget="CheckBox">
301
<Name> Calculate Magnetic Flux Density </Name>
302
<Type> Logical </Type>
303
<Whatis> Calculate Magnetic Flux Density </Whatis>
304
</Parameter>
305
<Parameter Widget="CheckBox">
306
<Name> Calculate Poynting Vector </Name>
307
<Type> Logical </Type>
308
<Whatis> Calculate Poynting Vector </Whatis>
309
</Parameter>
310
<Parameter Widget="CheckBox">
311
<Name> Calculate Div of Poynting Vector </Name>
312
<Type> Logical </Type>
313
<Whatis> Calculate Divergence of Poyntings vector</Whatis>
314
</Parameter>
315
<Parameter Widget="CheckBox">
316
<Name> Calculate Energy Functional </Name>
317
<Type> Logical </Type>
318
<Whatis> Evaluate bilinear form of the problem with the solution field </Whatis>
319
</Parameter>
320
</Solver>
321
</PDE>
322
323
</edf>
324
325