/PREP7  
LSCLEAR,ALL 
CPDELE, 1
CPDELE, 2
CPDELE, 3
CPDELE, 4
CPDELE, 5


NSEL, S, LOC, X, 0
CP, 6, VOLT, ALL
D, ALL, VOLT, 0

NSEL, S, LOC, X, Lx
CP, 7, VOLT, ALL
D, ALL, VOLT, 1

! Ground nodes at Z = 1/2Lz
NSEL, S, LOC, Z, 0.5*Lz
D, ALL, UX, 0
NSEL, S, LOC, Z, 0.5*Lz
D, ALL, UY, 0
NSEL, S, LOC, Z, 0.5*Lz
D, ALL, UZ, 0

ALLSEL, ALL		! Select all entities
EQSLV, SPARSE, 1E-6
/SOLU
SOLVE