Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf/electrostatics.xml
3204 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE edf>
3
<edf version="1.0" >
4
<PDE Name="Electrostatics" >
5
<Name>Electrostatics</Name>
6
<Equation>
7
<Parameter Widget="Label">
8
<Name> Electric Field </Name>
9
</Parameter>
10
<Parameter Widget="Combo">
11
<Name> Electric Field </Name>
12
<Type> String </Type>
13
<Item Type="Active"> <Name> None </Name> </Item>
14
<Item> <Name> Computed </Name> </Item>
15
</Parameter>
16
17
<Parameter Widget="Label">
18
<Name> Free text input </Name>
19
</Parameter>
20
<Parameter Widget="TextEdit" Enabled="True">
21
<Name> Free text </Name>
22
<Type> String </Type>
23
<Whatis> Free text is copied into the Equation-block of the SIF as such. </Whatis>
24
<StatusTip> Free text is copied into the Equation-block of the SIF as such. </StatusTip>
25
</Parameter>
26
</Equation>
27
28
<Material>
29
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
30
<Parameter Widget="Edit" >
31
<Name> Relative Permittivity </Name>
32
<Type> String </Type>
33
<Whatis> Give the relative permittivity compared to vacuum. </Whatis>
34
</Parameter>
35
</Material>
36
37
<BodyForce>
38
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
39
<Parameter Widget="Edit" >
40
<Name> Charge Density </Name>
41
<Type> String </Type>
42
<Whatis> Give the volume charge density. </Whatis>
43
</Parameter>
44
</BodyForce>
45
46
<InitialCondition>
47
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
48
<Parameter Widget="Edit" >
49
<Name> Potential </Name>
50
<Type> String </Type>
51
<Whatis> Give the initial condition for electrostatic potential. </Whatis>
52
</Parameter>
53
</InitialCondition>
54
55
<Solver>
56
<Parameter Widget="Edit" >
57
<Name> Procedure </Name>
58
<DefaultValue> "StatElecSolve" "StatElecSolver" </DefaultValue>
59
</Parameter>
60
<Parameter Widget="Edit">
61
<Name> Variable </Name>
62
<DefaultValue> Potential</DefaultValue>
63
</Parameter>
64
<Parameter Widget="CheckBox" >
65
<Name> Calculate Electric Field </Name>
66
<Type> Logical </Type>
67
<Whatis> Calculate the electric field from the electric potential. </Whatis>
68
</Parameter>
69
<Parameter Widget="CheckBox" >
70
<Name> Calculate Electric Flux </Name>
71
<Type> Logical </Type>
72
<Whatis> Calculate the electric flux from the electric potential. </Whatis>
73
</Parameter>
74
<Parameter Widget="CheckBox" >
75
<Name> Calculate Electric Energy </Name>
76
<Type> Logical </Type>
77
<Whatis> Calculate the electric energy from the electric potential. </Whatis>
78
</Parameter>
79
<Parameter Widget="CheckBox" >
80
<Name> Constant Weights </Name>
81
<Type> Logical </Type>
82
<Whatis> Use constant weights in computing nodal values of derived fields rather than weighing by element Jacobian. </Whatis>
83
</Parameter>
84
<Parameter Widget="CheckBox" >
85
<Name> Calculate Capacitance Matrix </Name>
86
<Type> Logical </Type>
87
<Whatis> Calculate the capacitance matrix. </Whatis>
88
<Activate>/Electrostatics/Solver/Capacitance Bodies</Activate>
89
<Activate>/Electrostatics/Solver/Capacitance Matrix Filename</Activate>
90
</Parameter>
91
<Parameter Widget="Edit" Enabled="False" Visible="False">
92
<Name> Capacitance Bodies </Name>
93
<Type> String </Type>
94
<Whatis> Number of different bodies in capacitance matrix computation. </Whatis>
95
</Parameter>
96
<Parameter Widget="Edit" Enabled="False" Visible="False">
97
<Name> Capacitance Matrix Filename </Name>
98
<Type> String </Type>
99
<Whatis> File to save the capacitance matrix. </Whatis>
100
</Parameter>
101
<Parameter Widget="Label">
102
<Name> Free text input </Name>
103
</Parameter>
104
<Parameter Widget="TextEdit" Enabled="True">
105
<Name> Free text </Name>
106
<Type> String </Type>
107
<Whatis> Free text is copied into the Solver-block of the SIF as such. </Whatis>
108
<StatusTip> Free text is copied into the Solver-block of the SIF as such. </StatusTip>
109
</Parameter>
110
</Solver>
111
112
<BoundaryCondition>
113
<Parameter Widget="Label" > <Name> Dirichlet conditions </Name> </Parameter>
114
<Parameter Widget="Edit">
115
<Name> Potential </Name>
116
<Whatis> Give potential value for this boundary. </Whatis>
117
</Parameter>
118
119
<Parameter Widget="Edit">
120
<Name> Potential Condition </Name>
121
<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>
122
</Parameter>
123
124
<Parameter Widget="Edit" Enabled="True" Visible="True">
125
<Name>Capacitance Body</Name>
126
<Whatis> This keyword should be provided for capacitance matrix computation only. The numbers should provide continuous numbering from 1 to the total number of bodies. Ground may be defined with value 0 or by explicitly setting potential to zero somewhere.</Whatis>
127
</Parameter>
128
129
<Parameter Widget="Label" > <Name> Neumann conditions </Name> </Parameter>
130
<Parameter Widget="Edit">
131
<Name> Electric Flux </Name>
132
<Whatis> Give electric flux equivalent to the surface charge density. </Whatis>
133
</Parameter>
134
135
<Parameter Widget="CheckBox" >
136
<Name> Electric Infinity BC </Name>
137
<Type> Logical </Type>
138
<Whatis> Use a far field condition for the electric flux. </Whatis>
139
</Parameter>
140
141
<Parameter Widget="Label">
142
<Name> Free text input </Name>
143
</Parameter>
144
<Parameter Widget="TextEdit" Enabled="True">
145
<Name> Free text </Name>
146
<Type> String </Type>
147
<Whatis> Free text is copied into the Boundary Condition-block of the SIF as such. </Whatis>
148
<StatusTip> Free text is copied into the Boundary Condition-block of the SIF as such. </StatusTip>
149
</Parameter>
150
151
</BoundaryCondition>
152
</PDE>
153
</edf>
154
155
156
157
158
159
160