Skip to content

Commit

Permalink
Merge branch 'fix.reggie.HEMPT.mesh' into 'master.dev'
Browse files Browse the repository at this point in the history
Fixed inner BC definition in mesh of WEK_PIC_poisson/HEMPT-90deg-symmetry

See merge request piclas/piclas!967
  • Loading branch information
pnizenkov committed Aug 9, 2024
2 parents 42afafd + 0efa9e3 commit d717085
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ DEFVAR = (REAL): ri0 = 0.5 ! inner square dim -> scales the inner square regi
! this value heavily changes the Jacobians and thus the quality of the mesh
! because this value blends a square slowly into a circle

DEFVAR = (REAL): r1 = 1.0 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r2 = 1.2 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r3 = 1.66 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r4 = 2.83 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r1 = 1.0 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r2 = 1.2 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r3 = 1.66 ! [will be scaled with 0.2 m due to post-deform routines]
DEFVAR = (REAL): r4 = 2.83 ! [will be scaled with 0.2 m due to post-deform routines]

! -------------------------------------------------------------------------------------------------------------------------------- !
! z-coordinates
Expand All @@ -21,7 +21,7 @@ DEFVAR = (REAL): z6 = 8.05 ! [will be scaled with 0.2 m due to post-deform rout
DEFVAR = (REAL): z7 = 9.05 ! [will be scaled with 0.2 m due to post-deform routines]

! -------------------------------------------------------------------------------------------------------------------------------- !
! AZIMUTHAL:
! AZIMUTHAL:
! no. of elems in azimuthal direction (DO NOT REMOVE THE ZEROS IN "002" -> "2" WILL FAIL)
! -------------------------------------------------------------------------------------------------------------------------------- !
! center: square
Expand Down Expand Up @@ -54,18 +54,18 @@ DEFVAR = (INT): i3 = 3 !


! -------------------------------------------------------------------------------------------------------------------------------- !
! RADIAL:
! RADIAL:
! no. elems in r (DO NOT REMOVE THE ZEROS IN "002" -> "2" WILL FAIL)
! -------------------------------------------------------------------------------------------------------------------------------- !

! --- 1st ring: r1
DEFVAR=(INT): ir_6 = 2 ! was 16 refined first ring

! --- 2nd ring: r2
DEFVAR=(INT): ir_2 = 1 !
DEFVAR=(INT): ir_2 = 1 !

! --- 3rd ring: r3
DEFVAR=(INT): ir_3 = 1 !
DEFVAR=(INT): ir_3 = 1 !



Expand All @@ -79,7 +79,7 @@ DEFVAR=(REAL): f2 = 1.00


! -------------------------------------------------------------------------------------------------------------------------------- !
! AXIAL:
! AXIAL:
! no. elems in z (DO NOT REMOVE THE ZEROS IN "002" -> "2" WILL FAIL)
! -------------------------------------------------------------------------------------------------------------------------------- !
! z-segment z1-z2 (step) = 5th ring
Expand Down Expand Up @@ -168,7 +168,7 @@ elemtype =108 ! element type (108: Hexahedral)
Corner =(/r1,0.,z3 ,, r2,0.,z3 ,, r2,r2,z3 ,, r1,r1,z3 ,, r1,0.,z4 ,, r2,0.,z4 ,, r2,r2,z4 ,, r1,r1,z4 /)
nElems =(/ir_2,i7,iz_11/) ! number of elements in each direction
factor =(/f1,1.,1./) ! stretching
BCIndex =(/2 , 3 , 2 , 0, 0 , 4 /) ! Indices of Boundary Conditions
BCIndex =(/2 , 3 , 2 , 0, 4 , 4 /) ! Indices of Boundary Conditions
! =(/z-, y-, x+, y+, x-, z+/) ! Indices of Boundary Conditions
elemtype =108 ! element type (108: Hexahedral)

Expand All @@ -185,7 +185,7 @@ elemtype =108 ! element type (108: Hexahedral)
Corner =(/0.,r1,z3 ,, r1,r1,z3 ,, r2,r2,z3 ,, 0.,r2,z3 ,, 0.,r1,z4 ,, r1,r1,z4 ,, r2,r2,z4 ,, 0.,r2,z4 /)
nElems =(/i7,ir_2,iz_11/) ! number of elements in each direction
factor =(/1.,f1,1./) ! stretching
BCIndex =(/2 , 0 , 0 , 2, 3 , 4 /) ! Indices of Boundary Conditions
BCIndex =(/2 , 4 , 0 , 2, 3 , 4 /) ! Indices of Boundary Conditions
! =(/z-, y-, x+, y+, x-, z+/) ! Indices of Boundary Conditions
elemtype =108 ! element type (108: Hexahedral)

Expand Down Expand Up @@ -221,7 +221,7 @@ elemtype =108 ! element type (108: Hexahedral)
Corner =(/r1,0.,z4 ,, r2,0.,z4 ,, r2,r2,z4 ,, r1,r1,z4 ,, r1,0.,z5 ,, r2,0.,z5 ,, r2,r2,z5 ,, r1,r1,z5 /)
nElems =(/ir_2,i7,iz_22/) ! number of elements in each direction
factor =(/f1,1.,1./) ! stretching
BCIndex =(/0 , 3 , 0 , 0, 0 , 0 /) ! Indices of Boundary Conditions
BCIndex =(/4 , 3 , 0 , 0, 0 , 0 /) ! Indices of Boundary Conditions
! =(/z-, y-, x+, y+, x-, z+/) ! Indices of Boundary Conditions
elemtype =108 ! element type (108: Hexahedral)

Expand All @@ -245,7 +245,7 @@ elemtype =108 ! element type (108: Hexahedral)
Corner =(/0.,r1,z4 ,, r1,r1,z4 ,, r2,r2,z4 ,, 0.,r2,z4 ,, 0.,r1,z5 ,, r1,r1,z5 ,, r2,r2,z5 ,, 0.,r2,z5 /)
nElems =(/i7,ir_2,iz_22/) ! number of elements in each direction
factor =(/1.,f1,1./) ! stretching
BCIndex =(/0 , 0 , 0 , 0, 3 , 0 /) ! Indices of Boundary Conditions
BCIndex =(/4 , 0 , 0 , 0, 3 , 0 /) ! Indices of Boundary Conditions
! =(/z-, y-, x+, y+, x-, z+/) ! Indices of Boundary Conditions
elemtype =108 ! element type (108: Hexahedral)

Expand Down

0 comments on commit d717085

Please sign in to comment.