Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf-extra/coilsolver.xml
3204 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE edf>
3
<edf version="1.0" >
4
<PDE Name="CoilSolver" >
5
<Name>CoilSolver</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
<Solver>
21
<Parameter Widget="Label" > <Name> Coil solver </Name> </Parameter>
22
<Parameter Widget="Edit" Enabled="True">
23
<Name> Procedure </Name>
24
<DefaultValue> "CoilSolver" "CoilSolver" </DefaultValue>
25
</Parameter>
26
<Parameter Widget="CheckBox" >
27
<Parameter Widget="Label" > <Name> Options </Name> </Parameter>
28
<Name> Coil Closed </Name>
29
<Type> Logical </Type>
30
<Whatis> Is the coil closed. If it is then then the case will be computed in two parts. </Whatis>
31
</Parameter>
32
<Parameter Widget="Edit" >
33
<Name> Desired Coil Current </Name>
34
<Type> Real </Type>
35
<Whatis> The desired coil current J0 in the coil. The default is 1. </Whatis>
36
</Parameter>
37
<Parameter Widget="Edit" >
38
<Name> Desired Current Density </Name>
39
<Type> Real </Type>
40
<Whatis> The desired coil current density j0 in the coil. The default is 1. </Whatis>
41
</Parameter>
42
<Parameter Widget="Edit" >
43
<Name> Coil Cross Section </Name>
44
<Type> Real </Type>
45
<Whatis> Cross section (area) of the coil that may be used to related total current and current density. </Whatis>
46
</Parameter>
47
<Parameter Widget="CheckBox" >
48
<Name> Normalize Coil Current </Name>
49
<Type> Logical </Type>
50
<Whatis> After the current has been computed normalize it to the desired magnitude if this flag is given. </Whatis>
51
</Parameter>
52
<Parameter Widget="Edit" >
53
<Name> Coil Normal (3-vector) </Name>
54
<SifName> Coil Normal(3)</SifName>
55
<Type> Real </Type>
56
<Whatis>Normal vector of the coild. If not given axis of maximum inertia of the coil. </Whatis>
57
</Parameter>
58
<Parameter Widget="Edit" >
59
<Name> Coil Center (3-vector) </Name>
60
<SifName> Coil Center(3)</SifName>
61
<Type> Real </Type>
62
<Whatis> Center of the coil. If not given center of volume of the coil. </Whatis>
63
</Parameter>
64
<Parameter Widget="CheckBox" >
65
<Name> Calculate Elemental Fields </Name>
66
<Type> Logical </Type>
67
<DefaultValue> True </DefaultValue>
68
<Whatis> Calculate elemental fields using Discontinuous Galerkin basis. </Whatis>
69
</Parameter>
70
<Parameter Widget="CheckBox" >
71
<Name> Calculate Nodal Fields </Name>
72
<Type> Logical </Type>
73
<Whatis> Calculate standard nodal fields. </Whatis>
74
</Parameter>
75
<Parameter Widget="CheckBox" >
76
<Name> Narrow Interface </Name>
77
<Type> Logical </Type>
78
<Whatis> For closed coil use narrow strategy to set the one/zero BCs. </Whatis>
79
</Parameter>
80
<Parameter Widget="CheckBox" >
81
<Name> Fix Input Current Density </Name>
82
<Type> Logical </Type>
83
<Whatis> Fix the computed elemental current density to be divergence free. </Whatis>
84
</Parameter>
85
</Solver>
86
<BoundaryCondition>
87
<Parameter Widget="Label" > <Name> Dirichlet Conditions </Name> </Parameter>
88
<Parameter Widget="CheckBox">
89
<Name>Coil Start </Name>
90
<Whatis> Defines a boundary where coil starts. Not needed if coil is closed. </Whatis>
91
</Parameter>
92
<Parameter Widget="CheckBox">
93
<Name>Coil End </Name>
94
<Whatis> Defines a boundary where coil ends. Not needed if coil is closed. </Whatis>
95
</Parameter>
96
</BoundaryCondition>
97
</PDE>
98
</edf>
99
100
101
102
103
104
105