First Implementation of Tria elements in 2D Cylindrical space.

Reading of this type of element needs to be implemented.

Fixed a bug in which the L_ref (reference length) was not correctly
being calculated for neutral solver.
This commit is contained in:
Jorge Gonzalez 2020-11-18 10:32:18 +01:00
commit 20dc4d4012
5 changed files with 750 additions and 253 deletions

View file

@ -86,8 +86,8 @@ MODULE moduleInput
v_ref = DSQRT(kb*T_ref/m_ref) !reference velocity
!TODO: Make this solver dependent
IF (found_r) THEN
L_ref = 1.D0/(sigma_ref*n_ref) !mean free path
sigma_ref = PI*(r_ref+r_ref)**2 !reference cross section
L_ref = 1.D0/(sigma_ref*n_ref) !mean free path
ELSE
L_ref = DSQRT(kb*T_ref*eps_0/n_ref)/qe !Debye length
@ -483,7 +483,6 @@ MODULE moduleInput
CALL inject(i)%init(i, v, normal, T, flow, units, pt, physicalSurface)
END DO
PRINT *, inject(:)%nParticles
!Allocate array for injected particles
IF (nPartInj > 0) THEN