-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature.thermionicEmission' into 'master.dev'
[feature.thermionicEmission] Thermionic emission modelling See merge request piclas/piclas!658
- Loading branch information
Showing
27 changed files
with
935 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docs/documentation/userguide/features-and-models/BC-particle-solver.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/DSMC.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
! =============================================================================== ! | ||
! Species1, e | ||
! =============================================================================== ! | ||
Part-Species1-SpeciesName = electron | ||
Part-Species1-InteractionID = 4 | ||
Part-Species1-Tref = 273 | ||
Part-Species1-dref = 1E-15 | ||
Part-Species1-omega = 0.24 |
12 changes: 12 additions & 0 deletions
12
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/PartAnalyze_ref.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
001-TIME,002-Current-Spec-001-SF-001 | ||
0.0000000000000000E+000,0.0000000000000000E+000 | ||
0.1000000000000000E-009,0.1467593701480000E+001 | ||
0.2000000000000000E-009,0.1467273266174000E+001 | ||
0.3000000000000000E-009,0.1467593701480000E+001 | ||
0.4000000000000000E-009,0.1467593701480000E+001 | ||
0.5000000000000000E-009,0.1467593701480000E+001 | ||
0.6000000000000000E-009,0.1467273266174000E+001 | ||
0.7000000000000000E-009,0.1467593701480000E+001 | ||
0.7999999999999999E-009,0.1467593701480000E+001 | ||
0.8999999999999999E-009,0.1467273266174000E+001 | ||
0.1000000000000000E-008,0.1467593701479998E+001 |
5 changes: 5 additions & 0 deletions
5
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/analyze.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
! compare the last line of PartAnalyze.csv with a reference file | ||
compare_data_file_name = PartAnalyze.csv | ||
compare_data_file_reference = PartAnalyze_ref.csv | ||
compare_data_file_tolerance = 1e-3 | ||
compare_data_file_tolerance_type = relative |
Binary file added
BIN
+9.24 KB
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/channel_mesh.h5
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/command_line.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MPI=1,2,4 | ||
cmd_suffix=DSMC.ini |
2 changes: 2 additions & 0 deletions
2
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/excludeBuild.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
! Skip N=1 hard coded | ||
PICLAS_POLYNOMIAL_DEGREE=1 |
39 changes: 39 additions & 0 deletions
39
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/hopr.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
ProjectName = channel | ||
Debugvisu = T | ||
DebugVisuLevel=1 | ||
NVisu =1 | ||
Mode =1 | ||
|
||
DEFVAR = (REAL): minus_x = 0.0 | ||
DEFVAR = (REAL): plus_x = 10.0 | ||
|
||
DEFVAR = (REAL): minus_y = 0.0 | ||
DEFVAR = (REAL): plus_y = 1.0 | ||
|
||
DEFVAR = (REAL): minus_z = 0.0 | ||
DEFVAR = (REAL): plus_z = 1.0 | ||
|
||
Corner =(/minus_x,minus_y,minus_z ,, plus_x,minus_y,minus_z ,, plus_x,plus_y,minus_z ,, minus_x,plus_y,minus_z ,, minus_x,minus_y,plus_z ,, plus_x,minus_y,plus_z ,, plus_x,plus_y,plus_z ,, minus_x,plus_y,plus_z /) | ||
nElems =(/1,2,2/) | ||
elemtype =108 | ||
|
||
BCIndex =(/6 ,4 ,1 ,3 ,2 ,5/) | ||
! =(/z-,y-,x+,y+,x-,z+/) | ||
nZones = 1 | ||
nUserDefinedBoundaries=6 | ||
BoundaryName=BC_Xplus | ||
BoundaryType=(/3,0,0,0/) | ||
BoundaryName=BC_Xminus | ||
BoundaryType=(/3,0,0,0/) | ||
BoundaryName=BC_Yplus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Yminus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Zplus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Zminus | ||
BoundaryType=(/4,0,0,0/) | ||
|
||
postscalemesh=true | ||
meshscale=1e-2 | ||
jacobiantolerance=1e-20 |
86 changes: 86 additions & 0 deletions
86
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/parameter.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
! =============================================================================== ! | ||
! EQUATION (linearscalaradvection) | ||
! =============================================================================== ! | ||
IniExactFunc = 0 | ||
CFLscale = 0.2 ! Scaling of theoretical CFL number | ||
! =============================================================================== ! | ||
! DISCRETIZATION | ||
! =============================================================================== ! | ||
N = 1 ! Polynomial degree | ||
NAnalyze = 1 ! Number of analyze points | ||
! =============================================================================== ! | ||
! MESH | ||
! =============================================================================== ! | ||
MeshFile = channel_mesh.h5 | ||
useCurveds = F | ||
! if boundaries have to be changed (else they are used from Mesh directly): | ||
TrackingMethod = triatracking | ||
! =============================================================================== ! | ||
! OUTPUT / VISUALIZATION | ||
! =============================================================================== ! | ||
ProjectName = SurfFlux_Tria_EmissionCurrent | ||
IterDisplayStep = 10 | ||
Part-AnalyzeStep = 1 | ||
CalcSurfFluxInfo = T | ||
! =============================================================================== ! | ||
! CALCULATION | ||
! =============================================================================== ! | ||
tend = 1.0E-9 | ||
Analyze_dt = 1.0E-9 | ||
ManualTimeStep = 1.0000E-10 | ||
! =============================================================================== ! | ||
! Load Balance | ||
! =============================================================================== ! | ||
DoLoadBalance = T | ||
DoInitialAutoRestart = T | ||
Load-DeviationThreshold = 1e-9 | ||
! =============================================================================== ! | ||
! PARTICLES | ||
! =============================================================================== ! | ||
Part-maxParticleNumber=500000 | ||
Part-nSpecies=1 | ||
Part-nBounds=6 | ||
Part-Boundary1-SourceName = BC_Xplus | ||
Part-Boundary1-Condition = open | ||
Part-Boundary2-SourceName = BC_Xminus | ||
Part-Boundary2-Condition = reflective | ||
Part-Boundary2-WallTemp = 2700. | ||
Part-Boundary3-SourceName = BC_Yplus | ||
Part-Boundary3-Condition = reflective | ||
Part-Boundary4-SourceName = BC_Yminus | ||
Part-Boundary4-Condition = reflective | ||
Part-Boundary5-SourceName = BC_Zplus | ||
Part-Boundary5-Condition = symmetric | ||
Part-Boundary6-SourceName = BC_Zminus | ||
Part-Boundary6-Condition = symmetric | ||
Part-FIBGMdeltas=(/1e-2,1e-2,1e-2/) | ||
! =============================================================================== ! | ||
! Species1 - electron | ||
! =============================================================================== ! | ||
Part-Species1-MassIC = 9.11E-31 | ||
Part-Species1-ChargeIC = -1.60217653E-19 | ||
Part-Species1-MacroParticleFactor = 2E5 | ||
|
||
Part-Species1-nSurfaceFluxBCs=1 | ||
Part-Species1-Surfaceflux1-BC=2 | ||
|
||
Part-Species1-Surfaceflux1-VeloIC = 0. | ||
Part-Species1-Surfaceflux1-VeloVecIC = (/1,0,0/) | ||
Part-Species1-Surfaceflux1-velocityDistribution = maxwell_lpn | ||
Part-Species1-Surfaceflux1-MWTemperatureIC = 300 | ||
Part-Species1-Surfaceflux1-ThermionicEmission = TRUE | ||
Part-Species1-Surfaceflux1-ThermionicEmission-WorkFunction = 4.54 | ||
Part-Species1-Surfaceflux1-ThermionicEmission-RichardsonConstant = 60 | ||
! =============================================================================== ! | ||
! DSMC | ||
! =============================================================================== ! | ||
Particles-HaloEpsVelo=2.0E+06 | ||
UseDSMC=true | ||
Particles-DSMC-CollisMode=1 !(1:elast coll, 2: elast + rela, 3:chem) | ||
Part-NumberOfRandomSeeds=2 | ||
Particles-RandomSeed1=5 | ||
Particles-RandomSeed2=6 | ||
Particles-DSMC-CalcSurfaceVal = F | ||
Particles-DSMC-UseOctree = F | ||
Particles-DSMC-UseNearestNeighbour = F | ||
Particles-DSMC-CalcQualityFactors = F |
5 changes: 5 additions & 0 deletions
5
regressioncheck/CHE_DSMC/SurfFlux_Tria_ThermionicEmission/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# DSMC - Thermionic Emission | ||
* Particle emission using surface flux and thermionic emission | ||
* Comparing the calculated current to the expected value of the Richardson Dushman equation for Tungsten | ||
* Input: W = 4.54 eV, A = 60 A/(cm^2 K^2), T_w = 2700 K | ||
* Output: j = 1.47 A / cm^2 -> I = 1.4675 eV (A = 1 cm^2) |
12 changes: 12 additions & 0 deletions
12
regressioncheck/CHE_poisson/SurfFlux_ThermionicEmission_Schottky/PartAnalyze_ref.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
001-TIME,002-Current-Spec-001-SF-001 | ||
0.0000000000000000E+000,0.0000000000000000E+000 | ||
0.1000000000000000E-011,0.1467593701480000E+001 | ||
0.2000000000000000E-011,0.1467433483827000E+001 | ||
0.3000000000000000E-011,0.1467433483827000E+001 | ||
0.4000000000000000E-011,0.1467433483827000E+001 | ||
0.5000000000000000E-011,0.1467593701480000E+001 | ||
0.5999999999999999E-011,0.1467593701480000E+001 | ||
0.6999999999999999E-011,0.1467433483827000E+001 | ||
0.8000000000000000E-011,0.1467593701480000E+001 | ||
0.9000000000000000E-011,0.1467433483827000E+001 | ||
0.9999999999999999E-011,0.1467593701480000E+001 |
5 changes: 5 additions & 0 deletions
5
regressioncheck/CHE_poisson/SurfFlux_ThermionicEmission_Schottky/analyze.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
! compare the last line of PartAnalyze.csv with a reference file | ||
compare_data_file_name = PartAnalyze.csv | ||
compare_data_file_reference = PartAnalyze_ref.csv | ||
compare_data_file_tolerance = 5e-3 | ||
compare_data_file_tolerance_type = relative |
Binary file added
BIN
+23.3 KB
regressioncheck/CHE_poisson/SurfFlux_ThermionicEmission_Schottky/channel_mesh.h5
Binary file not shown.
1 change: 1 addition & 0 deletions
1
regressioncheck/CHE_poisson/SurfFlux_ThermionicEmission_Schottky/command_line.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MPI=1,2,4 |
39 changes: 39 additions & 0 deletions
39
regressioncheck/CHE_poisson/SurfFlux_ThermionicEmission_Schottky/hopr.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
ProjectName = channel | ||
Debugvisu = T | ||
DebugVisuLevel=1 | ||
NVisu =1 | ||
Mode =1 | ||
|
||
DEFVAR = (REAL): minus_x = 0.0 | ||
DEFVAR = (REAL): plus_x = 10.0 | ||
|
||
DEFVAR = (REAL): minus_y = 0.0 | ||
DEFVAR = (REAL): plus_y = 1.0 | ||
|
||
DEFVAR = (REAL): minus_z = 0.0 | ||
DEFVAR = (REAL): plus_z = 1.0 | ||
|
||
Corner =(/minus_x,minus_y,minus_z ,, plus_x,minus_y,minus_z ,, plus_x,plus_y,minus_z ,, minus_x,plus_y,minus_z ,, minus_x,minus_y,plus_z ,, plus_x,minus_y,plus_z ,, plus_x,plus_y,plus_z ,, minus_x,plus_y,plus_z /) | ||
nElems =(/10,2,2/) | ||
elemtype =108 | ||
|
||
BCIndex =(/6 ,4 ,1 ,3 ,2 ,5/) | ||
! =(/z-,y-,x+,y+,x-,z+/) | ||
nZones = 1 | ||
nUserDefinedBoundaries=6 | ||
BoundaryName=BC_Xplus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Xminus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Yplus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Yminus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Zplus | ||
BoundaryType=(/4,0,0,0/) | ||
BoundaryName=BC_Zminus | ||
BoundaryType=(/4,0,0,0/) | ||
|
||
postscalemesh=true | ||
meshscale=1e-2 | ||
jacobiantolerance=1e-20 |
Oops, something went wrong.