-
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.emission.distribution' into 'master.dev'
[feature.emission.distribution] Added new particle emission SpaceIC "EmissionDistribution" See merge request piclas/piclas!699
- Loading branch information
Showing
56 changed files
with
1,602 additions
and
644 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
Binary file added
BIN
+37.6 KB
...ncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/2D-field-interpolation_mesh.h5
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
regressioncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/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,2 @@ | ||
001-TIME,002-nPart-Spec-001,003-nPart-Spec-002,004-nPart-Spec-003,005-nPartIn-Spec-001,006-nPartIn-Spec-002,007-nPartIn-Spec-003,008-nPartOut-Spec-001,009-nPartOut-Spec-002,010-nPartOut-Spec-003,011-Ekin-001,012-Ekin-002,013-Ekin-003,014-EkinIn-001,015-EkinIn-002,016-EkinIn-003,017-EkinOut-001,018-EkinOut-002,019-EkinOut-003 | ||
0.9999999999999999E-011,0.1364000000000000E+005,0.1365800000000000E+005,0.2729800000000000E+005,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.2935049538942454E-002,0.1650005540495363E-003,0.3100050092991994E-002,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000,0.0000000000000000E+000 |
5 changes: 5 additions & 0 deletions
5
regressioncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/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 @@ | ||
! PartAnalyze.csv diff | ||
compare_data_file_name = PartAnalyze.csv | ||
compare_data_file_reference = PartAnalyze-ref.csv | ||
compare_data_file_tolerance = 2e-2 | ||
compare_data_file_tolerance_type = relative |
1 change: 1 addition & 0 deletions
1
regressioncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/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,5 |
43 changes: 43 additions & 0 deletions
43
regressioncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/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,43 @@ | ||
!=============================================================================== ! | ||
! MAKEFILE PARAMETER (put a "#" in front, NO blanks!) | ||
!=============================================================================== ! | ||
! This is only a dummy parameter needed for the regression check | ||
#MPI= | ||
|
||
!=============================================================================== ! | ||
! OUTPUT | ||
!=============================================================================== ! | ||
ProjectName =2D-field-interpolation ! name of the project (used for filenames) | ||
Debugvisu =F ! Write debug mesh to tecplot file | ||
Logging =F ! Write log files | ||
|
||
!=============================================================================== ! | ||
! MESH | ||
!=============================================================================== ! | ||
Mode =1 ! 1 Cartesian 2 gambit file 3 CGNS | ||
nZones =1 ! number of zones | ||
Corner =(/0.,0.,0.,, 5.,0.,0.,, 5.,0.001,0.,, 0.,0.001,0. ,, 0.,0.,10.,, 5.,0.,10.,, 5.,0.001,10.,, 0.,0.001,10. /) ! [0,1]x[0,1]x[0,0.05] | ||
nElems =(/4,1,20/) ! Anzahl der Elemente in jede Richtung (nfine 4:15 5:32 5:54 7:128) | ||
BCIndex =(/1,1,1,1,1,1/) ! Indices of UserDefinedBoundaries | ||
elemtype =108 ! Elementform (108: Hexaeder) | ||
useCurveds =F ! T if curved boundaries defined | ||
SpaceQuandt =1. ! characteristic length of the mesh | ||
ConformConnect=T | ||
|
||
!=============================================================================== ! | ||
! BOUNDARY CONDITIONS | ||
!=============================================================================== ! | ||
nUserDefinedBoundaries=1 | ||
BoundaryName=BC_absorbing ! Outflow: open (absorbing) [for MAXWELL] | ||
BoundaryType=(/4,0,0,0/) ! Outflow: open (absorbing) [for MAXWELL] | ||
|
||
!=============================================================================== ! | ||
! BASIS | ||
!=============================================================================== ! | ||
NVisu = 7 | ||
|
||
!=============================================================================== ! | ||
! SEARCH | ||
!=============================================================================== ! | ||
! nElemsNodeSearch=50 | ||
! RefineSideSearch=50 |
116 changes: 116 additions & 0 deletions
116
regressioncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/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,116 @@ | ||
! =============================================================================== ! | ||
! EQUATION (linearscalaradvection) | ||
! =============================================================================== ! | ||
IniExactFunc = 0 | ||
|
||
! =============================================================================== ! | ||
! DISCRETIZATION | ||
! =============================================================================== ! | ||
N = 1 ! Polynomial degree | ||
NAnalyze = 8 ! Number of analyze points | ||
|
||
! =============================================================================== ! | ||
! MESH | ||
! =============================================================================== ! | ||
MeshFile = 2D-field-interpolation_mesh.h5 | ||
useCurveds = F | ||
! =============================================================================== ! | ||
! OUTPUT / VISUALIZATION | ||
! =============================================================================== ! | ||
ProjectName = TE28_8 | ||
Logging = F | ||
WriteErrorFiles = F | ||
printRandomSeeds = F | ||
DoCalcErrorNorms = F | ||
TrackingMethod = refmapping!,tracing,triatracking | ||
|
||
!CheckExchangeProcs = F ! deactivate the asymmetric communicator check | ||
! =============================================================================== ! | ||
! CALCULATION | ||
! =============================================================================== ! | ||
!Part-DelayTime = 1.0 | ||
PIC-DoDeposition = F | ||
|
||
tend = 1.0E-11 | ||
Analyze_dt = 1.0E-11 | ||
CFLscale = 0.9 ! Scaling of theoretical CFL number | ||
c_corr = 1 | ||
|
||
CalcMeshInfo=T | ||
CalcHaloInfo=T | ||
CalcEMFieldOutput=T | ||
!Particles-HaloEpsVelo=1e9 | ||
CalcElectronIonDensity=T | ||
CalcElectronTemperature=T | ||
|
||
! =============================================================================== ! | ||
! Load Balance | ||
! =============================================================================== ! | ||
DoLoadBalance = T | ||
DoInitialAutoRestart = T | ||
Load-DeviationThreshold = 1e-9 | ||
LoadBalanceMaxSteps = 2 | ||
Particles-MPIWeight = 0.01 | ||
|
||
! =============================================================================== ! | ||
! PARTICLES | ||
! =============================================================================== ! | ||
Part-maxParticleNumber = 150000 | ||
Part-nSpecies = 2 | ||
Part-nBounds = 1 | ||
Part-Boundary1-SourceName = BC_absorbing | ||
Part-Boundary1-Condition = reflective | ||
|
||
PIC-Interpolation-Type = particle_position | ||
|
||
PIC-Deposition-Type = shape_function | ||
PIC-shapefunction-radius = 0.85 | ||
PIC-shapefunction-dimension = 2 | ||
PIC-shapefunction-direction = 2 | ||
PIC-shapefunction-alpha = 4 | ||
|
||
Part-FIBGMdeltas = (/0.5,0.001,.5/) | ||
|
||
Part-EmissionDistributionFileName = reggie-linear-rot-symmetry-species-init.h5 | ||
|
||
! =============================================================================== ! | ||
! Species1 - electrons | ||
! =============================================================================== ! | ||
Part-Species1-ChargeIC = -1.60217653E-19 | ||
Part-Species1-MassIC = 9.1093826E-31 | ||
Part-Species1-MacroParticleFactor = 2E11 | ||
|
||
Part-Species1-nInits = 1 | ||
|
||
Part-Species1-Init1-SpaceIC = EmissionDistribution | ||
Part-Species1-Init1-EmissionDistributionName = electron | ||
|
||
! =============================================================================== ! | ||
! Species2 | HeIon | ||
! =============================================================================== ! | ||
Part-Species2-ChargeIC = 1.60217653E-19 | ||
Part-Species2-MassIC = 6.645565470903E-027 | ||
Part-Species2-MacroParticleFactor = 2E11 | ||
|
||
Part-Species2-nInits = 1 | ||
|
||
Part-Species2-Init1-SpaceIC = EmissionDistribution | ||
Part-Species2-Init1-EmissionDistributionName = HeIon | ||
|
||
|
||
! =============================================================================== ! | ||
! Analysis | ||
! =============================================================================== ! | ||
Part-AnalyzeStep = 1 | ||
CalcKineticEnergy = T | ||
CalcPartBalance = T | ||
CalcCharge = F | ||
CalcPotentialEnergy = T | ||
CalcNumSpec = T | ||
Part-NumberOfRandomSeeds = 2 | ||
Particles-RandomSeed1 = 1180520427 | ||
Particles-RandomSeed2 = 1708457652 | ||
PIC-OutputSource = T ! HDF5 output of maxwell source terms | ||
PIC-VerifyCharge = F | ||
NVisu=4 | ||
VisuParticles=T |
4 changes: 4 additions & 0 deletions
4
regressioncheck/CHE_PIC_maxwell_RK4/2D_variable_particle_init_n_T_v/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,4 @@ | ||
# 2D Variable Emission Distribution | ||
- Read particle emission initialization info from reggie-linear-rot-symmetry-species-init.h5 | ||
- n, T, vx, vy, vz for different species | ||
- Transformation to Cartesian coordinates from cylinder coordinates due to the velocity being defined by the function v=v(r,z) |
Binary file added
BIN
+7.05 KB
...IC_maxwell_RK4/2D_variable_particle_init_n_T_v/reggie-linear-rot-symmetry-species-init.h5
Binary file not shown.
14 changes: 7 additions & 7 deletions
14
regressioncheck/NIG_maxwell_RK4/CoaxialCable_DMD/externals.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
! --- Externals Tool Reggie | ||
MPI = 1 ! Single execution | ||
externalbinary = ./bin/dmd ! Relative binary path in build directory | ||
externaldirectory = post-dmd ! Directory name, where the files are located for the external tool reggie | ||
externalruntime = post ! Run after piclas is completed (post: after, pre: before) | ||
cmd_suffix = ../coaxial_State_000.00000*.h5 ! Suffix for the binary execution | ||
!cmd_pre_execute = pwd\s>\stest.txt ! "\s" resembles a white space character in the command (simply using " " is not allowed) | ||
MPI = 1 , 1 ! Single execution | ||
externalbinary = ./bin/dmd , ./bin/piclas2vtk ! Relative binary path in build directory | ||
externaldirectory = post-dmd , post-VTK-conversion ! Directory name, where the files are located for the external tool reggie | ||
externalruntime = post , post ! Run after piclas is completed (post: after, pre: before) | ||
cmd_suffix = ../coaxial_State_000.00000*.h5 , ../post-dmd/coaxial_DMD.h5 ! Suffix for the binary execution | ||
cmd_pre_execute = ls , ln\s-sf\s../cylinderNgeo2_mesh.h5 ! "\s" resembles a white space character in the command (simply using " " is not allowed) | ||
|
||
!nocrosscombination:MPI,externalbinary,externaldirectory,externalruntime,cmd_suffix,cmd_pre_execute | ||
nocrosscombination:MPI,externalbinary,externaldirectory,externalruntime,cmd_suffix,cmd_pre_execute |
2 changes: 2 additions & 0 deletions
2
regressioncheck/NIG_maxwell_RK4/CoaxialCable_DMD/post-VTK-conversion/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,2 @@ | ||
NVisu = 1 | ||
!VisuParticles = T |
Oops, something went wrong.