Rework of injection of particles with a special focus in 2DCyl to ensure an homogeneous distribution. #51
2 changed files with 0 additions and 4 deletions
Removing weight from edges
This parameter is no longer needed. Also removing the cumulative sum of weights from the injection.
commit
9d961bb85f
|
|
@ -76,8 +76,6 @@ MODULE moduleMesh
|
|||
CLASS(meshCell), POINTER:: eColl => NULL()
|
||||
!Normal vector
|
||||
REAL(8):: normal(1:3)
|
||||
!Weight for random injection of particles
|
||||
REAL(8):: weight = 1.D0
|
||||
! Surface of edge
|
||||
REAL(8):: surface = 0.D0
|
||||
!Pointer to boundary type
|
||||
|
|
|
|||
|
|
@ -61,8 +61,6 @@ MODULE moduleInject
|
|||
CLASS(speciesGeneric), POINTER:: species !Species of injection
|
||||
INTEGER:: nEdges
|
||||
INTEGER, ALLOCATABLE:: edges(:) !Array with edges
|
||||
REAL(8), ALLOCATABLE:: cumWeight(:) !Array of cummulative probability
|
||||
REAL(8):: sumWeight
|
||||
REAL(8):: surface ! Total surface of injection
|
||||
TYPE(velDistCont):: v(1:3) !Velocity distribution function in each direction
|
||||
CONTAINS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue