Documentation change and testing examples
Documentation adapted to the new way to define geometry and pushers. Examples are currently being tested and small modifications are being done to include a reference output.
This commit is contained in:
parent
ae8aa9075e
commit
8dd3023bc0
12 changed files with 3075 additions and 64 deletions
11
runs/0D_Argon/README.txt
Normal file
11
runs/0D_Argon/README.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Example of 0D geometry.
|
||||
|
||||
Mostly used to test collision processes.
|
||||
|
||||
This example includes Ar and Ar+ with self-collisions for Ar and elastic collisions for AR-Ar+.
|
||||
|
||||
Different starting temperatures for each species that end up in equilibrium.
|
||||
|
||||
The gnuplpot script 'plot_Temperature.gp' generates a plot of the species temperatures.
|
||||
|
||||
The result is provided in the output folder to compare if modifications to the code are made.
|
||||
|
|
@ -21,8 +21,8 @@
|
|||
{"name": "Argon", "type": "neutral", "mass": 6.633e-26, "weight": 1.0e0}
|
||||
],
|
||||
"solver": {
|
||||
"tau": [1.0e-6, 1.0e-6],
|
||||
"finalTime": 1.0e-3,
|
||||
"tau": [1.0e-3, 1.0e-3],
|
||||
"finalTime": 1.0e0,
|
||||
"initial": [
|
||||
{"species": "Argon+", "file": "Argon+_Initial.dat"},
|
||||
{"species": "Argon", "file": "Argon_Initial.dat"}
|
||||
|
|
|
|||
1002
runs/0D_Argon/output/OUTPUT_Argon+.dat
Normal file
1002
runs/0D_Argon/output/OUTPUT_Argon+.dat
Normal file
File diff suppressed because it is too large
Load diff
1002
runs/0D_Argon/output/OUTPUT_Argon.dat
Normal file
1002
runs/0D_Argon/output/OUTPUT_Argon.dat
Normal file
File diff suppressed because it is too large
Load diff
1002
runs/0D_Argon/output/OUTPUT_Collisions.dat
Normal file
1002
runs/0D_Argon/output/OUTPUT_Collisions.dat
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -43,6 +43,8 @@ set output "comp_temp.eps"
|
|||
filename1 = "OUTPUT_Argon.dat"
|
||||
filename2 = "OUTPUT_Argon+.dat"
|
||||
|
||||
folder = 'output/'
|
||||
|
||||
set lmargin at screen lmar
|
||||
set rmargin at screen rmar
|
||||
|
||||
|
|
@ -58,7 +60,6 @@ set ylabel "Temperature (K)" offset 1.4,0.0
|
|||
set key width 0.5 height 0.1 spacing 1.3 samplen 0.2 box opaque font ",16"
|
||||
set key at graph 0.95, graph 0.9 right top
|
||||
|
||||
plot filename1 u ($1):($7) t "Ar" ls 1 with lines, \
|
||||
filename2 u ($1):($7) t "Ar^{+}" ls 2 with lines, \
|
||||
'< paste OUTPUT_Argon.dat OUTPUT_Argon+.dat' u ($1):($7 + $14) t "Sum" ls 3 with lines
|
||||
plot folder.filename1 u ($1):($7) t "Ar" ls 1 with lines, \
|
||||
folder.filename2 u ($1):($7) t "Ar^{+}" ls 2 with lines
|
||||
|
||||
8
runs/1D_Cathode/README.txt
Normal file
8
runs/1D_Cathode/README.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
This case is useful to explain how fpakc can work with different geometries (Cartisian and Radial in this case) using very similar input files and the same mesh.
|
||||
|
||||
From the position to the left, electrons are emitted at a constant rate.
|
||||
The electric potential at the left is fixed at 0.
|
||||
|
||||
Depending on the geometry (which affects the symmetry) different distributions of the electron density and electric potential are achieved.
|
||||
|
||||
The last iteration obtained for these cases is in the output folder.
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
"output": {
|
||||
"path": "./runs/1D_Cathode/",
|
||||
"triggerOutput": 100,
|
||||
"triggerOutput": 1000,
|
||||
"cpuTime": false,
|
||||
"numColl": false,
|
||||
"EMField": true,
|
||||
|
|
@ -20,16 +20,13 @@
|
|||
"meshFile": "mesh.msh"
|
||||
},
|
||||
"species": [
|
||||
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1},
|
||||
{"name": "Argon+", "type": "charged", "mass": 6.633e-26, "charge": 1.0, "weight": 1.0e1}
|
||||
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1}
|
||||
],
|
||||
"boundary": [
|
||||
{"name": "Cathode", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Infinite", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "transparent"},
|
||||
{"type": "transparent"}
|
||||
]}
|
||||
],
|
||||
|
|
@ -37,17 +34,13 @@
|
|||
{"name": "Cathode", "type": "dirichlet", "potential": 0.0, "physicalSurface": 1}
|
||||
],
|
||||
"inject": [
|
||||
{"name": "Plasma Inf Ar+", "species": "Argon+", "flow": 1.00e-6, "units": "A", "v": 300.0, "T": [ 500.0, 500.0, 500.0],
|
||||
"velDist": ["Maxwellian", "Maxwellian", "Maxwellian"], "n": [-1, 0, 0], "physicalSurface": 2},
|
||||
{"name": "Plasma Inf e", "species": "Electron", "flow": 2.64e-4, "units": "A", "v": 0.0, "T": [11604.0, 11604.0, 11604.0],
|
||||
"velDist": ["Maxwellian", "Maxwellian", "Maxwellian"], "n": [-1, 0, 0], "physicalSurface": 2},
|
||||
{"name": "Plasma Cat e", "species": "Electron", "flow": 2.64e-5, "units": "A", "v": 180000.0, "T": [ 2300.0, 2300.0, 2300.0],
|
||||
"velDist": ["Maxwellian", "Maxwellian", "Maxwellian"], "n": [ 1, 0, 0], "physicalSurface": 1}
|
||||
],
|
||||
"solver": {
|
||||
"tau": [1.0e-11, 1.0e-11],
|
||||
"finalTime": 4.0e-6,
|
||||
"pusher": ["Electrostatic", "Electrostatic"],
|
||||
"tau": [1.0e-11],
|
||||
"finalTime": 3.0e-7,
|
||||
"pusher": ["Electrostatic"],
|
||||
"EMSolver": "Electrostatic"
|
||||
},
|
||||
"parallel": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
"output": {
|
||||
"path": "./runs/1D_Cathode/",
|
||||
"triggerOutput": 100,
|
||||
"triggerOutput": 1000,
|
||||
"cpuTime": false,
|
||||
"numColl": false,
|
||||
"EMField": true,
|
||||
|
|
@ -20,16 +20,13 @@
|
|||
"meshFile": "mesh.msh"
|
||||
},
|
||||
"species": [
|
||||
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1},
|
||||
{"name": "Argon+", "type": "charged", "mass": 6.633e-26, "charge": 1.0, "weight": 1.0e1}
|
||||
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1}
|
||||
],
|
||||
"boundary": [
|
||||
{"name": "Cathode", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Infinite", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "transparent"},
|
||||
{"type": "transparent"}
|
||||
]}
|
||||
],
|
||||
|
|
@ -37,17 +34,13 @@
|
|||
{"name": "Cathode", "type": "dirichlet", "potential": 0.0, "physicalSurface": 1}
|
||||
],
|
||||
"inject": [
|
||||
{"name": "Plasma Inf Ar+", "species": "Argon+", "flow": 1.00e-6, "units": "A", "v": 323.0, "T": [ 500.0, 500.0, 500.0],
|
||||
"velDist": ["Delta", "Maxwellian", "Maxwellian"], "n": [-1, 0, 0], "physicalSurface": 2},
|
||||
{"name": "Plasma Inf e", "species": "Electron", "flow": 2.64e-4, "units": "A", "v": 0.0, "T": [11604.0, 11604.0, 11604.0],
|
||||
"velDist": ["Maxwellian", "Maxwellian", "Maxwellian"], "n": [-1, 0, 0], "physicalSurface": 2},
|
||||
{"name": "Plasma Cat e", "species": "Electron", "flow": 2.64e-2, "units": "A", "v": 180000.0, "T": [ 2300.0, 2300.0, 2300.0],
|
||||
"velDist": ["Maxwellian", "Maxwellian", "Maxwellian"], "n": [ 1, 0, 0], "physicalSurface": 1}
|
||||
],
|
||||
"solver": {
|
||||
"tau": [1.0e-11, 1.0e-11],
|
||||
"tau": [1.0e-11],
|
||||
"finalTime": 3.0e-7,
|
||||
"pusher": ["Electrostatic", "Electrostatic"],
|
||||
"pusher": ["Electrostatic"],
|
||||
"EMSolver": "Electrostatic"
|
||||
},
|
||||
"parallel": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue