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:
parent
fd148db2ee
commit
7dccba5906
3 changed files with 5 additions and 4 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue