Merge branch 'issue/injectionNormal' into 'development'
The normal vector in an injection is now normalized to 1 See merge request JorgeGonz/fpakc!16
This commit is contained in:
commit
53827ec117
3 changed files with 5 additions and 4 deletions
Binary file not shown.
|
|
@ -547,13 +547,14 @@ make
|
|||
\begin{itemize}
|
||||
\item \textbf{A}: Ampere.
|
||||
\item \textbf{sccm}: Standard cubic centimeter.
|
||||
\item \textbf{part/s}: Particles (real) per second.
|
||||
\end{itemize}
|
||||
\item \textbf{v}: Real.
|
||||
Module of velocity vector, in $\unitfrac{m}{s}$.
|
||||
\item \textbf{n}: Real.
|
||||
Array dimension $3$.
|
||||
Direction of injection.
|
||||
Norm of vector must be equal $1$.
|
||||
This vector is normalized to $1$.
|
||||
\item \textbf{velDist}: Character.
|
||||
Array dimension $3$.
|
||||
Type of distribution function used to obtain injected particle velocity:
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ MODULE moduleInject
|
|||
|
||||
self%id = i
|
||||
self%vMod = v / v_ref
|
||||
self%n = n
|
||||
self%n = n / NORM2(n)
|
||||
self%T = T / T_ref
|
||||
self%species => species(sp)%obj
|
||||
SELECT CASE(units)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue