Maxwellian and Diract Delta distributions have been implemented. The input for injection of particles should be rewritten to allow more clear input file.
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
|
|
{
|
|
"output": {
|
|
"path": "./runs/1D_Cathode/",
|
|
"triggerOutput": 100,
|
|
"cpuTime": false,
|
|
"numColl": false,
|
|
"EMField": true
|
|
},
|
|
"reference": {
|
|
"density": 1.0e16,
|
|
"mass": 9.109e-31,
|
|
"temperature": 2500.0
|
|
},
|
|
"geometry": {
|
|
"type": "1DCart",
|
|
"meshType": "gmsh",
|
|
"meshFile": "mesh.msh"
|
|
},
|
|
"species": [
|
|
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1}
|
|
],
|
|
"boundary": [
|
|
{"name": "Cathode", "type": "absorption", "physicalSurface": 1},
|
|
{"name": "Infinite", "type": "absorption", "physicalSurface": 2}
|
|
],
|
|
"boundaryEM": [
|
|
{"name": "Cathode", "type": "dirichlet", "potential": 0.0, "physicalSurface": 1},
|
|
{"name": "Infinite", "type": "dirichlet", "potential": 100.0, "physicalSurface": 2}
|
|
],
|
|
"inject": [
|
|
{"name": "Cathode Electron", "species": "Electron", "flow": 9.0e-5, "units": "A", "v": 27500.0, "T": [2500.0, 2500.0, 2500.0],
|
|
"velDist": ["Delta", "Maxwellian", "Maxwellian"], "n": [ 1, 0, 0], "physicalSurface": 1}
|
|
],
|
|
"case": {
|
|
"tau": [1.0e-11],
|
|
"time": 1.0e-6,
|
|
"pusher": ["1DCartCharged"],
|
|
"EMSolver": "Electrostatic"
|
|
},
|
|
"parallel": {
|
|
"OpenMP":{
|
|
"nThreads": 1
|
|
}
|
|
}
|
|
}
|