-
Notifications
You must be signed in to change notification settings - Fork 21
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!656
- Loading branch information
Showing
26 changed files
with
476 additions
and
269 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
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
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
3 changes: 3 additions & 0 deletions
3
regressioncheck/CHE_DSMC/SurfFlux_Tria_Adaptive_ConstPressure/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,3 @@ | ||
# DSMC - Surface Flux with Adaptive/Subsonic Pressure BC | ||
* NOTE: Regression test only checks successful run | ||
* A more detailed test is available as part of the WEK_DSMC |
8 changes: 8 additions & 0 deletions
8
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/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_CurrentMassflow/PartAnalyze_ref_Current.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.2000157180052000E+001 | ||
0.2000000000000000E-009,0.1999836744746000E+001 | ||
0.3000000000000000E-009,0.2000157180052000E+001 | ||
0.4000000000000000E-009,0.1999836744746000E+001 | ||
0.5000000000000000E-009,0.2000157180052000E+001 | ||
0.6000000000000000E-009,0.1999836744746000E+001 | ||
0.7000000000000000E-009,0.2000157180052000E+001 | ||
0.7999999999999999E-009,0.1999836744746000E+001 | ||
0.8999999999999999E-009,0.2000157180052000E+001 | ||
0.1000000000000000E-008,0.1999836744745997E+001 |
12 changes: 12 additions & 0 deletions
12
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/PartAnalyze_ref_Massflow.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-Massflow-Spec-001-SF-001 | ||
0.0000000000000000E+000,0.0000000000000000E+000 | ||
0.1000000000000000E-009,0.1137292400000000E-010 | ||
0.2000000000000000E-009,0.1137110200000000E-010 | ||
0.3000000000000000E-009,0.1137292400000000E-010 | ||
0.4000000000000000E-009,0.1137110200000000E-010 | ||
0.5000000000000000E-009,0.1137292400000000E-010 | ||
0.6000000000000000E-009,0.1137110200000000E-010 | ||
0.7000000000000000E-009,0.1137292400000000E-010 | ||
0.7999999999999999E-009,0.1137110200000000E-010 | ||
0.8999999999999999E-009,0.1137292400000000E-010 | ||
0.1000000000000000E-008,0.1137110199999998E-010 |
5 changes: 5 additions & 0 deletions
5
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/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,PartAnalyze.csv,PartAnalyze.csv,PartAnalyze.csv,PartAnalyze.csv,PartAnalyze.csv,PartAnalyze.csv,PartAnalyze.csv | ||
compare_data_file_reference = PartAnalyze_ref_Massflow.csv,PartAnalyze_ref_Massflow.csv,PartAnalyze_ref_Massflow.csv,PartAnalyze_ref_Massflow.csv,PartAnalyze_ref_Current.csv,PartAnalyze_ref_Current.csv,PartAnalyze_ref_Current.csv,PartAnalyze_ref_Current.csv | ||
compare_data_file_tolerance = 1e-3 | ||
compare_data_file_tolerance_type = relative |
Binary file added
BIN
+23.3 KB
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/channel_mesh.h5
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/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=4 | ||
cmd_suffix=DSMC.ini |
2 changes: 2 additions & 0 deletions
2
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/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_CurrentMassflow/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-5 | ||
jacobiantolerance=1e-20 |
80 changes: 80 additions & 0 deletions
80
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/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,80 @@ | ||
! =============================================================================== ! | ||
! 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 | ||
! =============================================================================== ! | ||
! 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-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-5,5e-6,5e-6/) | ||
! =============================================================================== ! | ||
! 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.,1E6 | ||
Part-Species1-Surfaceflux1-VeloVecIC = (/1,0,0/) | ||
Part-Species1-Surfaceflux1-velocityDistribution = maxwell_lpn | ||
Part-Species1-Surfaceflux1-MWTemperatureIC = 5.,500000. | ||
Part-Species1-Surfaceflux1-Massflow = 1.1372E-11,0. | ||
Part-Species1-Surfaceflux1-EmissionCurrent = 0.,2. | ||
|
||
nocrosscombination:Part-Species1-Surfaceflux1-EmissionCurrent,Part-Species1-Surfaceflux1-Massflow | ||
! =============================================================================== ! | ||
! DSMC | ||
! =============================================================================== ! | ||
Particles-HaloEpsVelo=2.0E+06 | ||
Particles-DSMC-CalcSurfaceVal=F | ||
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-UseOctree=F | ||
Particles-DSMC-UseNearestNeighbour = F | ||
Particles-DSMC-CalcQualityFactors=F |
9 changes: 9 additions & 0 deletions
9
regressioncheck/CHE_DSMC/SurfFlux_Tria_CurrentMassflow/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,9 @@ | ||
# DSMC - Emission Current/Mass flow through Surface Flux | ||
* Particle emission using surface flux by defining an emission current of 2A or a mass flow of 1.1372E-11 kg/s | ||
* Comparing the current and mass flow output (CalcSurfFluxInfo = T), which is based on the particle balance (in - out) | ||
* Comparing the number of inserted particles per time step, testing with | ||
* Velocity: 0 and 1E6 m/s | ||
* Temperature: 5K and 500 000K | ||
* Expected value is 6241/6242 simulation particles (corresponds to 1.25E+19 real particles per second) | ||
* w = 2e5 | ||
* dt = 1e-10 |
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
Oops, something went wrong.