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
Binary file not shown.
|
|
@ -547,13 +547,14 @@ make
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \textbf{A}: Ampere.
|
\item \textbf{A}: Ampere.
|
||||||
\item \textbf{sccm}: Standard cubic centimeter.
|
\item \textbf{sccm}: Standard cubic centimeter.
|
||||||
|
\item \textbf{part/s}: Particles (real) per second.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\item \textbf{v}: Real.
|
\item \textbf{v}: Real.
|
||||||
Module of velocity vector, in $\unitfrac{m}{s}$.
|
Module of velocity vector, in $\unitfrac{m}{s}$.
|
||||||
\item \textbf{n}: Real.
|
\item \textbf{n}: Real.
|
||||||
Array dimension $3$.
|
Array dimension $3$.
|
||||||
Direction of injection.
|
Direction of injection.
|
||||||
Norm of vector must be equal $1$.
|
This vector is normalized to $1$.
|
||||||
\item \textbf{velDist}: Character.
|
\item \textbf{velDist}: Character.
|
||||||
Array dimension $3$.
|
Array dimension $3$.
|
||||||
Type of distribution function used to obtain injected particle velocity:
|
Type of distribution function used to obtain injected particle velocity:
|
||||||
|
|
|
||||||
|
|
@ -89,9 +89,9 @@ MODULE moduleInject
|
||||||
INTEGER:: nVolColl
|
INTEGER:: nVolColl
|
||||||
|
|
||||||
self%id = i
|
self%id = i
|
||||||
self%vMod = v/v_ref
|
self%vMod = v / v_ref
|
||||||
self%n = n
|
self%n = n / NORM2(n)
|
||||||
self%T = T/T_ref
|
self%T = T / T_ref
|
||||||
self%species => species(sp)%obj
|
self%species => species(sp)%obj
|
||||||
SELECT CASE(units)
|
SELECT CASE(units)
|
||||||
CASE ("sccm")
|
CASE ("sccm")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue