No reflection of particles at injection, that should be a boundary condition
This commit is contained in:
parent
d1e73297eb
commit
78cb9a2453
1 changed files with 0 additions and 6 deletions
|
|
@ -385,12 +385,6 @@ MODULE moduleInject
|
|||
self%v(2)%obj%randomVel(), &
|
||||
self%v(3)%obj%randomVel() /)
|
||||
|
||||
!If velocity is not in the right direction, invert it
|
||||
IF (DOT_PRODUCT(direction, partInj(n)%v) < 0.D0) THEN
|
||||
partInj(n)%v = - partInj(n)%v
|
||||
|
||||
END IF
|
||||
|
||||
!Obtain natural coordinates of particle in cell
|
||||
partInj(n)%Xi = mesh%cells(partInj(n)%cell)%obj%phy2log(partInj(n)%r)
|
||||
!Push new particle with the minimum time step
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue