Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ElmerGUI/Application/edf-extra/poissonboltzmann.xml
3204 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE edf>
3
<edf version="1.0" >
4
<PDE Name="PoissonBoltzmann" >
5
<Name>Poisson-Boltzmann equation</Name>
6
<Material>
7
<Parameter Widget="Label" > <Name>Dimensional Properties </Name> </Parameter>
8
<Parameter Widget="Edit" >
9
<Name> Relative Permittivity </Name>
10
<Type> String </Type>
11
<Whatis> Give the relative permittivity compared to vacuum. </Whatis>
12
</Parameter>
13
14
<Parameter Widget="Edit" >
15
<Name> Reference Temperature </Name>
16
<Type> String </Type>
17
<Whatis> This keyword is used to give the temperature occurring in the Boltzmann factor. </Whatis>
18
</Parameter>
19
<Parameter Widget="Edit" >
20
<Name> Charge Number </Name>
21
<Type> String </Type>
22
<Whatis> For symmetric cases the charge number. For unsymmetric cases
23
one should give separately Positive Charge Number
24
and Negative Charge Number.
25
</Whatis>
26
</Parameter>
27
<Parameter Widget="Edit" >
28
<Name> Ion Density </Name>
29
<Type> String </Type>
30
<Whatis> For symmetric cases the original density of ions. For unsymmetric cases one should give separately Positive Ion Density and Negative Ion Density.
31
</Whatis>
32
</Parameter>
33
34
<Parameter Widget="Label" > <Name>Non-dimensional Properties </Name> </Parameter>
35
<Parameter Widget="Edit" >
36
<Name> Poisson Boltzmann Alpha </Name>
37
<Type> String </Type>
38
<Whatis> Parameter Alpha in the non-dimensionalized form of the PBE.</Whatis>
39
</Parameter>
40
<Parameter Widget="Edit" >
41
<Name> Poisson Boltzmann Beta </Name>
42
<Type> String </Type>
43
<Whatis> Parameter Beta in the non-dimensionalized form of the PBE.</Whatis>
44
</Parameter>
45
46
</Material>
47
<BodyForce>
48
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
49
<Parameter Widget="Edit" >
50
<Name> Charge Density </Name>
51
<Type> String </Type>
52
<Whatis> Give the volume charge density. </Whatis>
53
</Parameter>
54
</BodyForce>
55
<InitialCondition>
56
<Parameter Widget="Label" > <Name> Properties </Name> </Parameter>
57
<Parameter Widget="Edit" >
58
<Name> Potential </Name>
59
<Type> String </Type>
60
<Whatis> Give the initial condition for electric potential. </Whatis>
61
</Parameter>
62
</InitialCondition>
63
64
<Solver>
65
<Parameter Widget="Edit" >
66
<Name> Procedure </Name>
67
<DefaultValue> "PoissonBoltzmannSolve" "PoissonBoltzmannSolve" </DefaultValue>
68
</Parameter>
69
<Parameter Widget="Edit">
70
<Name> Variable </Name>
71
<DefaultValue> Potential</DefaultValue>
72
</Parameter>
73
74
<Parameter Widget="CheckBox" >
75
<Name> Calculate Electric Field </Name>
76
<Type> Logical </Type>
77
<Whatis> Calculate the electric field from the electric potential. </Whatis>
78
</Parameter>
79
<Parameter Widget="CheckBox" >
80
<Name> Calculate Electric Charge </Name>
81
<Type> Logical </Type>
82
<Whatis> Calculate the electric charge from the electric potential. </Whatis>
83
</Parameter>
84
<Parameter Widget="CheckBox" >
85
<Name> Constant Weights </Name>
86
<Type> Logical </Type>
87
<Whatis> Use constant weights in computing nodal values of derived fields rather than weighing by element Jacobian. </Whatis>
88
</Parameter>
89
90
</Solver>
91
92
<BoundaryCondition>
93
<Parameter Widget="Label" > <Name> Dirichlet conditions </Name> </Parameter>
94
<Parameter Widget="Edit">
95
<Name> Potential </Name>
96
<Whatis> Give potential value for this boundary. </Whatis>
97
</Parameter>
98
99
<Parameter Widget="Edit">
100
<Name> Potential Condition </Name>
101
<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>
102
</Parameter>
103
104
<Parameter Widget="Label" > <Name> Neumann conditions </Name> </Parameter>
105
<Parameter Widget="Edit">
106
<Name> Surface Charge </Name>
107
<Whatis> Give electric flux equivalent to the surface charge density. </Whatis>
108
</Parameter>
109
</BoundaryCondition>
110
</PDE>
111
</edf>
112
113
114
115
116
117
118