Skip to content

Commit

Permalink
Merge branch 'master.dev' of gitlab.com:piclas/piclas into improvemen…
Browse files Browse the repository at this point in the history
…t.collective.hdf5.io
  • Loading branch information
scopplestone committed Mar 5, 2022
2 parents d2fd646 + e83ebb0 commit 00fdf6d
Show file tree
Hide file tree
Showing 38 changed files with 362 additions and 423 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Part-Species1-Init1-VeloVecIC = (/1.,1.,1./)
! DSMC
! =============================================================================== !
UseDSMC = T
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow

Particles-DSMC-UseOctree = T
Particles-DSMC-UseNearestNeighbour = T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Part-Species1-Init1-VeloVecIC = (/1.,1.,1./)
! DSMC
! =============================================================================== !
UseDSMC = T
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow

Particles-DSMC-UseOctree = T
Particles-DSMC-UseNearestNeighbour = T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ TrackingMethod = refmapping
! =============================================================================== !
UseDSMC = true
Particles-DSMCReservoirSim = false
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ TrackingMethod = refmapping
! =============================================================================== !
UseDSMC=true
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds =2
Particles-RandomSeed1= 1
Particles-RandomSeed2= 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ TrackingMethod = refmapping
! =============================================================================== !
UseDSMC=F
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds =2
Particles-RandomSeed1= 1
Particles-RandomSeed2= 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Part-Species2-vMPFSplitThreshold = 5000
UseDSMC = T
Particles-NumberForDSMCOutputs = 0
Part-TimeFracForSampling = 0.0
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Part-Species$-MacroParticleFactor = 32e6
UseDSMC = T
Particles-NumberForDSMCOutputs = 0
Part-TimeFracForSampling = 0.0
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Part-Species1-vMPFSplitThreshold = 1000
UseDSMC = T
Particles-NumberForDSMCOutputs = 0
Part-TimeFracForSampling = 0.0
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Part-Species$-MacroParticleFactor = 32e6
UseDSMC = T
Particles-NumberForDSMCOutputs = 0
Part-TimeFracForSampling = 0.0
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ Part-Species3-InteractionID = 4
Part-Species3-Tref = 1000
Part-Species3-dref = 2.817920E-15
Part-Species3-omega = 0.407
Part-Species3-UseCollXSec = T
Part-Species3-UseVibXSec = F
! =============================================================================== !
! Species4, H2Ion
! =============================================================================== !
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ ManualTimeStep= 1.0E-9
tend = 1.0E-7
Analyze_dt = 2.0E-6 ! Timestep of analyze outputs
! =============================================================================== !
! PIC
! =============================================================================== !
PIC-DoDeposition = F
PIC-DoInterpolation = F
! =============================================================================== !
! DSMC
! =============================================================================== !
UseDSMC = T
Expand All @@ -52,7 +47,7 @@ Particles-CollXSec-Database = XSec_Database_H2_Plasma.h5
Particles-DSMC-ElectronicModel = 1
Particles-DSMCElectronicDatabase = Electronic-State-Database.h5
EpsMergeElectronicState = 1E-3
Part-Species$-ElecRelaxProb = 1.
Part-Species$-ElecRelaxProb = 1.

Particles-DSMC-CalcQualityFactors = F
Particles-DSMCReservoirSim = T
Expand Down
11 changes: 0 additions & 11 deletions regressioncheck/NIG_tracking_DSMC/ANSA_box/DSMC.ini

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
MPI = 1,2
cmd_suffix = DSMC.ini
restart_file = tildbox_restart_State_000.0000000000000000.h5
5 changes: 1 addition & 4 deletions regressioncheck/NIG_tracking_DSMC/ANSA_box/parameter.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,11 @@ Part-Species1-Init1-NormalIC=(/0.,0.,0.56/)
Part-Species1-Init1-CuboidHeightIC=1.74
Part-Species1-Init1-VeloIC=0
Part-Species1-Init1-VeloVecIC=(/0.,0.,1./)
Part-Species1-Init1-TempVib=200
Part-Species1-Init1-TempRot=200
! =============================================================================== !
! DSMC
! =============================================================================== !
UseDSMC=true
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds =2
Particles-RandomSeed1= 1
Particles-RandomSeed2= 2
Expand Down
3 changes: 1 addition & 2 deletions regressioncheck/NIG_tracking_DSMC/Semicircle/parameter.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ printDiffVec =(/0.21145302115002,0.18723754743135,0.,-0.26787840265560,-
! DSMC
! =============================================================================== !
UseDSMC=true
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds =2
Particles-RandomSeed1= 1
Particles-RandomSeed2= 2
Expand Down
11 changes: 0 additions & 11 deletions regressioncheck/NIG_tracking_DSMC/curved/DSMC.ini

This file was deleted.

2 changes: 0 additions & 2 deletions regressioncheck/NIG_tracking_DSMC/curved/command_line.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
MPI = 1,2
cmd_suffix = DSMC.ini
restart_file = Cylinder_State_000.00000000000000000.h5

7 changes: 1 addition & 6 deletions regressioncheck/NIG_tracking_DSMC/curved/parameter.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ Part-nSpecies=1
Part-nBounds=5
Part-Boundary1-SourceName = BC_front
Part-Boundary1-Condition = reflective
!Part-Boundary1-Condition = periodic

Part-Boundary2-SourceName = BC_back
Part-Boundary2-Condition = reflective
!Part-Boundary2-Condition = periodic

Part-Boundary3-SourceName = BC_cylinder
Part-Boundary3-Condition = reflective
Expand Down Expand Up @@ -88,14 +86,11 @@ Part-Species1-Init1-NormalIC = (/0.,0.,0.01/)
Part-Species1-Init1-CuboidHeightIC = 0.0125
Part-Species1-Init1-VeloIC = 0
Part-Species1-Init1-VeloVecIC = (/0.,0.,1./)
Part-Species1-Init1-TempVib = 200
Part-Species1-Init1-TempRot = 200
! =============================================================================== !
! DSMC
! =============================================================================== !
UseDSMC = T
Particles-DSMCReservoirSim = F
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
11 changes: 0 additions & 11 deletions regressioncheck/NIG_tracking_DSMC/curved_planar/DSMC.ini

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
MPI = 1,2
cmd_suffix = DSMC.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,11 @@ Part-Species1-Init1-BaseVector1IC = (/1. ,0. ,0./)
Part-Species1-Init1-BaseVector2IC = (/0. ,1. ,0./)
Part-Species1-Init1-NormalIC = (/0. ,0. ,4./)
Part-Species1-Init1-CuboidHeightIC = 4.
!Part-Species1-Init1-VeloIC = 0
!Part-Species1-Init1-VeloVecIC = (/0.,0.,1./)
Part-Species1-Init1-TempVib = 200
Part-Species1-Init1-TempRot = 200
! =============================================================================== !
! DSMC
! =============================================================================== !
UseDSMC = T
Particles-DSMCReservoirSim = F
Particles-DSMC-CollisMode = 0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode = 0 ! Collisionless flow
Part-NumberOfRandomSeeds = 2
Particles-RandomSeed1 = 1
Particles-RandomSeed2 = 2
11 changes: 0 additions & 11 deletions regressioncheck/NIG_tracking_DSMC/mortar/DSMC.ini

This file was deleted.

1 change: 0 additions & 1 deletion regressioncheck/NIG_tracking_DSMC/mortar/command_line.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
MPI = 1,2
cmd_suffix = DSMC.ini
restart_file = Nonconform_restart_State_000.00000000000000000.h5
3 changes: 1 addition & 2 deletions regressioncheck/NIG_tracking_DSMC/mortar/parameter.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ Part-Species1-Init1-VeloVecIC=(/0.,0.,1./)
! DSMC
! =============================================================================== !
UseDSMC=true
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds =2
Particles-RandomSeed1= 1
Particles-RandomSeed2= 2
Expand Down
4 changes: 0 additions & 4 deletions regressioncheck/NIG_tracking_DSMC/mortar_hexpress/DSMC.ini

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
MPI=2,4
cmd_suffix=DSMC.ini
restart_file=Mortar_hexpress_State_000.00000000000000000.h5
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ Particles-HaloEpsVelo=5.0E+05
Particles-DSMC-CalcSurfaceVal=F
Particles-DSMC-CalcQualityFactors=F
UseDSMC=true
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds=2
Particles-RandomSeed1=1
Particles-RandomSeed2=2
Expand Down
4 changes: 0 additions & 4 deletions regressioncheck/NIG_tracking_DSMC/sphere_soft/DSMC.ini

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
MPI = 1,2
cmd_suffix = DSMC.ini
3 changes: 1 addition & 2 deletions regressioncheck/NIG_tracking_DSMC/sphere_soft/parameter.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ TrackingMethod = refmapping
! DSMC
! =============================================================================== !
UseDSMC=true
Particles-DSMCReservoirSim=false
Particles-DSMC-CollisMode=0 !(1:elast coll, 2: elast + rela, 3:chem)
Particles-DSMC-CollisMode=0 ! Collisionless flow
Part-NumberOfRandomSeeds =2
Particles-RandomSeed1= 1
Particles-RandomSeed2= 2
Expand Down
2 changes: 1 addition & 1 deletion src/globals/globals_vars.f90
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MODULE MOD_Globals_Vars
CHARACTER(LEN=6),PARAMETER :: ProgramName = 'PICLas' !> name of this program
INTEGER,PARAMETER :: MajorVersion = 2 !> FileVersion number saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: MinorVersion = 6 !> FileVersion number saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: PatchVersion = 0 !> FileVersion number saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: PatchVersion = 1 !> FileVersion number saved in each hdf5 file with hdf5 header
REAL,PARAMETER :: FileVersion = REAL(MajorVersion,8)+REAL(MinorVersion,8)/10.+REAL(PatchVersion,8)/100. !> FileVersion
!> number saved in each hdf5 file with hdf5 header
CHARACTER(LEN=10) :: PiclasVersionStr !> PiclasVersionStrnumber saved in each hdf5 file with hdf5 header
Expand Down
2 changes: 1 addition & 1 deletion src/particles/analyze/particle_analyze.f90
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ SUBROUTINE AnalyzeParticles(Time)
IF(CalcRelaxProb) THEN
ALLOCATE(VibRelaxRate(CollInf%NumCase))
VibRelaxRate = 0.0
IF(ANY(SpecXSec(:)%UseElecXSec)) THEN
IF(ANY(SpecDSMC(:)%UseElecXSec)) THEN
ALLOCATE(ElecRelaxRate(CollInf%NumCase,MAXVAL(SpecXSec(:)%NumElecLevel)))
ElecRelaxRate = 0.0
END IF
Expand Down
1 change: 0 additions & 1 deletion src/particles/boundary/particle_boundary_init.f90
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,6 @@ SUBROUTINE InitParticleBoundaryRotPeriodic()
USE MOD_IO_HDF5 ,ONLY: AddToElemData,ElementOut
USE MOD_HDF5_Output_State ,ONLY: WriteStateToHDF5
USE MOD_HDF5_Output_ElemData ,ONLY: WriteLostRotPeriodicSidesToHDF5
USE MOD_MPI_Shared_Vars ,ONLY: nComputeNodeProcessors,nProcessors_Global
#endif /*USE_MPI*/
!----------------------------------------------------------------------------------------------------------------------------------!
IMPLICIT NONE
Expand Down
Loading

0 comments on commit 00fdf6d

Please sign in to comment.