Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf-extra/magnetodynamics2d.xml
3204 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE edf>
3
<edf version="1.0" >
4
<PDE Name="MgDyn2D" >
5
<Name>MgDyn2D</Name>
6
7
<Equation>
8
<Parameter Widget="Label">
9
<Name> Free text input </Name>
10
</Parameter>
11
12
<Parameter Widget="TextEdit" Enabled="True">
13
<Name> Free text </Name>
14
<Type> String </Type>
15
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
16
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
17
</Parameter>
18
</Equation>
19
20
<Material>
21
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
22
<Parameter Widget="Edit" >
23
<Name> Reluctivity </Name>
24
<Type> String </Type>
25
<Whatis> Give the reluctivitity (inverse of permeability). </Whatis>
26
</Parameter>
27
<Parameter Widget="Edit" >
28
<Name> Relative Permeability </Name>
29
<Type> String </Type>
30
<Whatis> Give the relative permeability compared to vacuum. </Whatis>
31
</Parameter>
32
<Parameter Widget="Edit" >
33
<Name> Electric Conductivity </Name>
34
<Type> String </Type>
35
<Whatis> Give the electric conductivity. </Whatis>
36
</Parameter>
37
<Parameter Widget="Edit" >
38
<Name> Magnetization 1</Name>
39
<Type> String </Type>
40
<Whatis> Give the magnetization in x-direction. </Whatis>
41
</Parameter>
42
<Parameter Widget="Edit" >
43
<Name> Magnetization 2</Name>
44
<Type> String </Type>
45
<Whatis> Give the magnetization in y-direction. </Whatis>
46
</Parameter>
47
<Parameter Widget="Edit" >
48
<Name> H-B Curve</Name>
49
<Type> String </Type>
50
<Whatis> Give the H-B Curve as a cubic spline. </Whatis>
51
</Parameter>
52
</Material>
53
54
<BodyForce>
55
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
56
<Parameter Widget="Edit" >
57
<Name> Current Density </Name>
58
<Type> String </Type>
59
<Whatis> Give the current density. </Whatis>
60
</Parameter>
61
<Parameter Widget="CheckBox" >
62
<Name> Calculate Potential </Name>
63
<Type> Logical </Type>
64
<Whatis> Calculate the potential. </Whatis>
65
</Parameter>
66
</BodyForce>
67
<InitialCondition>
68
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
69
<Parameter Widget="Edit" >
70
<Name> Az </Name>
71
<Type> String </Type>
72
<Whatis> Give the initial condition for the vector potential. </Whatis>
73
</Parameter>
74
</InitialCondition>
75
<Solver>
76
<Parameter Widget="Edit" >
77
<Name> Procedure </Name>
78
<DefaultValue> "MagnetoDynamics2D" "MagnetoDynamics2D" </DefaultValue>
79
</Parameter>
80
<Parameter Widget="Edit">
81
<Name> Variable </Name>
82
<DefaultValue> Potential </DefaultValue>
83
</Parameter>
84
</Solver>
85
86
<BoundaryCondition>
87
<Parameter Widget="Label" > <Name> Dirichlet conditions </Name> </Parameter>
88
<Parameter Widget="Edit">
89
<Name> Potential </Name>
90
<Whatis> Give vector potential value for this boundary. </Whatis>
91
</Parameter>
92
93
<Parameter Widget="Edit">
94
<Name> Potential Condition </Name>
95
<Whatis> If the given value is less than zero, apply flux condition instead of the Dirichlet Condition. To be generally useful space and/or time varying values may be given. </Whatis>
96
</Parameter>
97
98
<Parameter Widget="Label" > <Name> Neumann conditions </Name> </Parameter>
99
<Parameter Widget="Edit">
100
<Name> Surface Current </Name>
101
<Whatis> Give surface current (per unit lenght) for this boundary. </Whatis>
102
</Parameter>
103
104
<Parameter Widget="CheckBox" >
105
<Name> Infinity BC </Name>
106
<Type> Logical </Type>
107
<Whatis> Use a farfield condition for the vector potential. </Whatis>
108
</Parameter>
109
</BoundaryCondition>
110
</PDE>
111
112
<PDE Name="MgDyn2DHarmonic" >
113
<Name>MgDyn2DHarmonic</Name>
114
115
<Equation>
116
<Parameter Widget="Label">
117
<Name> Options </Name>
118
</Parameter>
119
<Parameter Widget="Edit">
120
<Name> Angular Frequency </Name>
121
</Parameter>
122
123
<Parameter Widget="Label">
124
<Name> Free text input </Name>
125
</Parameter>
126
127
<Parameter Widget="TextEdit" Enabled="True">
128
<Name> Free text </Name>
129
<Type> String </Type>
130
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
131
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
132
</Parameter>
133
</Equation>
134
135
<Material>
136
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
137
<Parameter Widget="Edit" >
138
<Name> Reluctivity </Name>
139
<Type> String </Type>
140
<Whatis> Give the reluctivitity (inverse of permeability). </Whatis>
141
</Parameter>
142
<Parameter Widget="Edit" >
143
<Name> Relative Permeability </Name>
144
<Type> String </Type>
145
<Whatis> Give the relative permeability compared to vacuum. </Whatis>
146
</Parameter>
147
<Parameter Widget="Edit" >
148
<Name> Electric Conductivity </Name>
149
<Type> String </Type>
150
<Whatis> Give the electric conductivity. </Whatis>
151
</Parameter>
152
<Parameter Widget="Edit" >
153
<Name> Electric Conductivity Im </Name>
154
<Type> String </Type>
155
<Whatis> Give the imaginary part of electric conductivity. </Whatis>
156
</Parameter>
157
<Parameter Widget="Edit" >
158
<Name> Magnetization 1</Name>
159
<Type> String </Type>
160
<Whatis> Give the magnetization in x-direction. </Whatis>
161
</Parameter>
162
<Parameter Widget="Edit" >
163
<Name> Magnetization 2</Name>
164
<Type> String </Type>
165
<Whatis> Give the magnetization in y-direction. </Whatis>
166
</Parameter>
167
<Parameter Widget="Edit" >
168
<Name> Magnetization 1 Im</Name>
169
<Type> String </Type>
170
<Whatis> Give the imaginary part of magnetization in x-direction. </Whatis>
171
</Parameter>
172
<Parameter Widget="Edit" >
173
<Name> Magnetization 2 Im</Name>
174
<Type> String </Type>
175
<Whatis> Give the imaginary part of magnetization in y-direction. </Whatis>
176
</Parameter>
177
<Parameter Widget="Edit" >
178
<Name> H-B Curve</Name>
179
<Type> String </Type>
180
<Whatis> Give the H-B Curve as a cubic spline. </Whatis>
181
</Parameter>
182
</Material>
183
184
<BodyForce>
185
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
186
<Parameter Widget="Edit" >
187
<Name> Current Density </Name>
188
<Type> String </Type>
189
<Whatis> Give the current density. </Whatis>
190
</Parameter>
191
<Parameter Widget="Edit" >
192
<Name> Current Density Im </Name>
193
<Type> String </Type>
194
<Whatis> Give the imaginary part of current density. </Whatis>
195
</Parameter>
196
<Parameter Widget="CheckBox" >
197
<Name> Calculate Potential </Name>
198
<Type> Logical </Type>
199
<Whatis> Calculate the potential. </Whatis>
200
</Parameter>
201
</BodyForce>
202
<InitialCondition>
203
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
204
<Parameter Widget="Edit" >
205
<Name> Potential Re </Name>
206
<Type> String </Type>
207
<Whatis> Give the initial condition for the vector potential. </Whatis>
208
</Parameter>
209
<Parameter Widget="Edit" >
210
<Name> Potential Im </Name>
211
<Type> String </Type>
212
<Whatis> Give the initial condition for the imaginary part of the vector potential. </Whatis>
213
</Parameter>
214
</InitialCondition>
215
<Solver>
216
<Parameter Widget="Edit" >
217
<Name> Procedure </Name>
218
<DefaultValue> "MagnetoDynamics2D" "MagnetoDynamics2DHarmonic" </DefaultValue>
219
</Parameter>
220
<Parameter Widget="Edit">
221
<Name> Variable </Name>
222
<DefaultValue> Potential[Potential Re:1 Potential Im:1] </DefaultValue>
223
</Parameter>
224
</Solver>
225
226
<BoundaryCondition>
227
<Parameter Widget="Label" > <Name> Dirichlet conditions </Name> </Parameter>
228
<Parameter Widget="Edit">
229
<Name> Potential Re </Name>
230
<Whatis> Give vector potential value for this boundary. </Whatis>
231
</Parameter>
232
<Parameter Widget="Edit">
233
<Name> Potential Im </Name>
234
<Whatis> Give the imaginary part of the vector potential value for this boundary. </Whatis>
235
</Parameter>
236
237
<Parameter Widget="Edit">
238
<Name> Potential Re Condition </Name>
239
<Whatis> If the given value is less than zero, apply flux condition instead of the Dirichlet Condition. To be generally useful space and/or time varying values may be given. </Whatis>
240
</Parameter>
241
<Parameter Widget="Edit">
242
<Name> Potential Im Condition </Name>
243
<Whatis> If the given value is less than zero, apply flux condition instead of the Dirichlet Condition for the imaginary part. To be generally useful space and/or time varying values may be given. </Whatis>
244
</Parameter>
245
246
<Parameter Widget="Label" > <Name> Neumann conditions </Name> </Parameter>
247
<Parameter Widget="Edit">
248
<Name> Surface Current </Name>
249
<Whatis> Give surface current (per unit lenght) for this boundary. </Whatis>
250
</Parameter>
251
<Parameter Widget="Edit">
252
<Name> Surface Current Im </Name>
253
<Whatis> Give imaginary surface current (per unit lenght) for this boundary. </Whatis>
254
</Parameter>
255
256
<Parameter Widget="CheckBox" >
257
<Name> Infinity BC </Name>
258
<Type> Logical </Type>
259
<Whatis> Use a farfield condition for the vector potential. </Whatis>
260
</Parameter>
261
</BoundaryCondition>
262
</PDE>
263
264
<PDE Name="MgDyn2DPost" >
265
<Name>MgDyn2DPost</Name>
266
267
<Equation>
268
<Parameter Widget="Label">
269
<Name> Free text input </Name>
270
</Parameter>
271
272
<Parameter Widget="TextEdit" Enabled="True">
273
<Name> Free text </Name>
274
<Type> String </Type>
275
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
276
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
277
</Parameter>
278
</Equation>
279
280
<Solver>
281
<Parameter Widget="Label" > <Name> Vector Potential </Name> </Parameter>
282
<Parameter Widget="Edit">
283
<Name> Target Variable </Name>
284
<Whatis> Name of the vector potential field to apply the postprocessing computation. </Whatis>
285
</Parameter>
286
<Parameter Widget="CheckBox">
287
<Name> Target Variable Complex </Name>
288
<Type> Logical </Type>
289
<Whatis> Is the target field complex. This information is needed when allocating for the result field.</Whatis>
290
</Parameter>
291
292
<Parameter Widget="Label" > <Name> Magnetic flux computation </Name> </Parameter>
293
<Parameter Widget="Edit" >
294
<Name> Procedure </Name>
295
<DefaultValue> "MagnetoDynamics2D" "BSolver" </DefaultValue>
296
</Parameter>
297
<Parameter Widget="CheckBox">
298
<Name> Discontinuous Galerkin </Name>
299
<Type> Logical </Type>
300
<Whatis> To show discontinuities use DG for computation of electric fields</Whatis>
301
</Parameter>
302
<Parameter Widget="CheckBox">
303
<Name> Average Within Materials </Name>
304
<Type> Logical </Type>
305
<Whatis> In conjunction with DG apply averaging but only within materials.</Whatis>
306
</Parameter>
307
<Parameter Widget="Label" > <Name> Joule heat computation </Name> </Parameter>
308
<Parameter Widget="CheckBox">
309
<Name> Calculate Joule Heating </Name>
310
<Type> Logical </Type>
311
<Whatis> Compute the heating resulting from the induced currents. Applicable only with harmonic fields.</Whatis>
312
<Activate>/MgDyn2DPost/Solver/Desired Heating Power</Activate>
313
</Parameter>
314
<Parameter Widget="Edit" Enabled="False">
315
<Name> Desired Heating Power </Name>
316
<Whatis> Desired heating power to scale the Joule heating. </Whatis>
317
</Parameter>
318
319
<Parameter Widget="Label" > <Name> Loss Estimation </Name> </Parameter>
320
<Parameter Widget="CheckBox">
321
<Name> Calculate </Name>
322
<Type> Logical </Type>
323
<Whatis> Compute the heating resulting from the induced currents. Applicable only with harmonic fields.</Whatis>
324
<Activate>/MgDyn2DPost/Solver/Fourier Loss Frequency Exponent</Activate>
325
<Activate>/MgDyn2DPost/Solver/Fourier Loss Field Exponent</Activate>
326
</Parameter>
327
<Parameter Widget="Edit" Enabled="False">
328
<Name> Fourier Loss Frequency Exponent </Name>
329
<Whatis> Power for the frequency in loss computation. </Whatis>
330
</Parameter>
331
<Parameter Widget="Edit" Enabled="False">
332
<Name> Fourier Loss Field Exponent </Name>
333
<Whatis> Power for magnetic field in loss computation. </Whatis>
334
</Parameter>
335
336
</Solver>
337
</PDE>
338
339
</edf>
340
341
342
343
344
345
346