Small modifications to 1D input files to make them start from a small
x/r position to avoid huge fields in Radial case when r -> 0 due to charge accumulation. Added a Gnuplot script to plot both potential profiles extracted from Gmsh.
This commit is contained in:
parent
81e2202959
commit
2eae95002d
5 changed files with 29833 additions and 10011 deletions
22
runs/1D_Cathode/curve_potential.gp
Normal file
22
runs/1D_Cathode/curve_potential.gp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#Export the potential curves from Gmsh into a txt file.
|
||||
reset
|
||||
set terminal qt persist enhanced 1 size 600, 400
|
||||
|
||||
set style line 1 pt 1 lc rgb "red"
|
||||
set style line 2 pt 2 lc rgb "blue"
|
||||
set style line 3 pt 4 lc rgb "#006400"
|
||||
set style line 4 pt 6 lc rgb "orange"
|
||||
set style line 5 pt 8 lc rgb "black"
|
||||
set style line 6 pt 10 lc rgb "#ADD8E6"
|
||||
|
||||
set xlabel "x/r (mm)"
|
||||
|
||||
set autoscale y
|
||||
set ylabel "Potential (V)"
|
||||
|
||||
set key box at 90,-10
|
||||
|
||||
set title "Effect of geometry"
|
||||
|
||||
plot "Cartesian.dat" u ($5*1e3):($8) every 100 ls 1 t "Cartesian", \
|
||||
"Radial.dat" u ($5*1e3):($8) every 100 ls 2 t "Radial"
|
||||
Loading…
Add table
Add a link
Reference in a new issue