Added the possibility to have different boundary conditions per species.
A boundary condition for each species must be indicated in the case file. This opens the door to use boundary conditions with different parameters (for example, a wall temperature, coefficients for reflection or absorption...) The examples included with the code have been updated accordently.
This commit is contained in:
parent
dc98fe9399
commit
2c3e25b40e
18 changed files with 19389 additions and 1174 deletions
|
|
@ -21,8 +21,12 @@
|
|||
{"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}
|
||||
{"name": "Cathode", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Infinite", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "absorption"}
|
||||
]}
|
||||
],
|
||||
"boundaryEM": [
|
||||
{"name": "Cathode", "type": "dirichlet", "potential": -10.0, "physicalSurface": 1},
|
||||
|
|
|
|||
|
|
@ -21,8 +21,12 @@
|
|||
{"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}
|
||||
{"name": "Cathode", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Infinite", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "absorption"}
|
||||
]}
|
||||
],
|
||||
"boundaryEM": [
|
||||
{"name": "Cathode", "type": "dirichlet", "potential": -10.0, "physicalSurface": 1},
|
||||
|
|
|
|||
20004
runs/1D_Cathode/mesh.msh
20004
runs/1D_Cathode/mesh.msh
File diff suppressed because it is too large
Load diff
|
|
@ -17,12 +17,30 @@
|
|||
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1}
|
||||
],
|
||||
"boundary": [
|
||||
{"name": "Ionization Chanber", "type": "absorption", "physicalSurface": 1},
|
||||
{"name": "Vacuum Chamber", "type": "absorption", "physicalSurface": 2},
|
||||
{"name": "Exterior", "type": "reflection", "physicalSurface": 3},
|
||||
{"name": "Grid Extraction", "type": "absorption", "physicalSurface": 4},
|
||||
{"name": "Grid Acceleration", "type": "absorption", "physicalSurface": 5},
|
||||
{"name": "Axis", "type": "axis", "physicalSurface": 6}
|
||||
{"name": "Ionization Chanber", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Vacuum Chamber", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Exterior", "physicalSurface": 3, "bTypes": [
|
||||
{"type": "reflection"},
|
||||
{"type": "reflection"}
|
||||
]},
|
||||
{"name": "Grid Extraction", "physicalSurface": 4, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Grid Acceleration", "physicalSurface": 5, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Axis", "physicalSurface": 6, "bTypes": [
|
||||
{"type": "axis"},
|
||||
{"type": "axis"}
|
||||
]}
|
||||
],
|
||||
"boundaryEM": [
|
||||
{"name": "Extraction Grid", "type": "dirichlet", "potential": -150.0, "physicalSurface": 4},
|
||||
|
|
|
|||
|
|
@ -17,12 +17,30 @@
|
|||
{"name": "Electron", "type": "charged", "mass": 9.109e-31, "charge":-1.0, "weight": 1.0e1}
|
||||
],
|
||||
"boundary": [
|
||||
{"name": "Ionization Chanber", "type": "absorption", "physicalSurface": 1},
|
||||
{"name": "Vacuum Chamber", "type": "absorption", "physicalSurface": 2},
|
||||
{"name": "Exterior", "type": "reflection", "physicalSurface": 3},
|
||||
{"name": "Grid Extraction", "type": "absorption", "physicalSurface": 4},
|
||||
{"name": "Grid Acceleration", "type": "absorption", "physicalSurface": 5},
|
||||
{"name": "Axis", "type": "axis", "physicalSurface": 6}
|
||||
{"name": "Ionization Chanber", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Vacuum Chamber", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Exterior", "physicalSurface": 3, "bTypes": [
|
||||
{"type": "reflection"},
|
||||
{"type": "reflection"}
|
||||
]},
|
||||
{"name": "Grid Extraction", "physicalSurface": 4, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Grid Acceleration", "physicalSurface": 5, "bTypes": [
|
||||
{"type": "absorption"},
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Axis", "physicalSurface": 6, "bTypes": [
|
||||
{"type": "axis"},
|
||||
{"type": "axis"}
|
||||
]}
|
||||
],
|
||||
"boundaryEM": [
|
||||
{"name": "Extraction Grid", "type": "dirichlet", "potential": -150.0, "physicalSurface": 4},
|
||||
|
|
|
|||
|
|
@ -14,11 +14,21 @@
|
|||
{"name": "Argon", "type": "neutral", "mass": 6.633e-26, "weight": 5.0e8}
|
||||
],
|
||||
"boundary": [
|
||||
{"name": "Injection", "type": "absorption", "physicalSurface": 1},
|
||||
{"name": "Chamber Walls", "type": "reflection", "physicalSurface": 2},
|
||||
{"name": "Exterior", "type": "absorption", "physicalSurface": 3},
|
||||
{"name": "Cylinder Walls", "type": "reflection", "physicalSurface": 4},
|
||||
{"name": "Axis", "type": "axis", "physicalSurface": 5}
|
||||
{"name": "Injection", "physicalSurface": 1, "bTypes": [
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Chamber Walls", "physicalSurface": 2, "bTypes": [
|
||||
{"type": "reflection"}
|
||||
]},
|
||||
{"name": "Exterior", "physicalSurface": 3, "bTypes": [
|
||||
{"type": "absorption"}
|
||||
]},
|
||||
{"name": "Cylinder Walls", "physicalSurface": 4, "bTypes": [
|
||||
{"type": "reflection"}
|
||||
]},
|
||||
{"name": "Axis", "physicalSurface": 5, "bTypes": [
|
||||
{"type": "axis"}
|
||||
]}
|
||||
],
|
||||
"inject": [
|
||||
{"name": "Nozzle", "species": "Argon", "flow": 10.0, "units": "sccm", "v": 300.0, "T": [300.0, 300.0, 300.0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue