The normal vector in an injection is now normalized to 1 and it is no

longer responsability of the user to ensure that the norm is 1.

This is a very simple fix and I do not why I did not implemented early.
This commit is contained in:
Jorge Gonzalez 2021-04-14 20:56:53 +02:00
commit 7dccba5906
3 changed files with 5 additions and 4 deletions

View file

@ -89,9 +89,9 @@ MODULE moduleInject
INTEGER:: nVolColl
self%id = i
self%vMod = v/v_ref
self%n = n
self%T = T/T_ref
self%vMod = v / v_ref
self%n = n / NORM2(n)
self%T = T / T_ref
self%species => species(sp)%obj
SELECT CASE(units)
CASE ("sccm")