Rework of injection of particles with a special focus in 2DCyl to ensure an homogeneous distribution. #51

Merged
JorgeGonz merged 22 commits from issue/injection2DCyl into development 2024-07-11 18:51:43 +02:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit 9d961bb85f - Show all commits

Removing weight from edges

This parameter is no longer needed.

Also removing the cumulative sum of weights from the injection.
Jorge Gonzalez 2024-07-10 21:57:22 +02:00

View file

@ -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

View file

@ -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