(* SF6 als S+6  + 6 F- in Oh 14.02.12 *)
Clear[k1,k2,k3,k4,k5,k6,sig1,sig2,sig3,sig4,sig5,c,z,R1,R2,R3,R4,R5,S2,S3,S4];
c = {k1 -> 0.88, k2 -> 2.435, k5 -> 0.88, k6 -> 2.43,sig1 -> 0.3, 
sig2 -> 0.30, sig3 -> 0.30, sig4 -> 0.30, sig5 -> 0.302}; z=16.; z1=9.0;
ad = Sqrt[3./8.]; sq2=Sqrt[2];

(* S+6 He+Ne shell *)
T = 2.25*k1/R1^2+9.*k2/R2^2 /. c;
Vee=3.0*sig1/R1+12.*sig2/R2+16/(R1+R2)+24*ad/(R1+R2) /. c;
Vne=-3.0*z/R1-8.7*z/(R1+R2);
S2 = R2*4^(1/3);

(* F- He+Ne shell *)
Tf = 2.25*k5/R5^2+9.*k6/R6^2 /. c;
Veef=3.0*sig1/R5+12*sig2/R6+16/(R5+R6)+24*ad/(R5+R6) /. c;
Vnef=-3.0*z1/R5-8.3*z1/(R5+R6) /. c;
S5 = R6*4^(1/3);

T=T+6*Tf;
Vee=Vee+6*Veef;
Vne=Vne+6*Vnef;

(* S+6/6 F- *)
Vnn = (6*z*z1 + 12*z1^2/sq2+1.5*z1^2)/(S2+S5);
Vee = Vee+(6*10*10 + 12*10*10/sq2 + 1.5*10*10)/(S2+S5);
Vne = Vne -(6*z*10+6*z1*10+24*z1*10/sq2+3*z1*10)/(S2+S5);

func = T + Vnn + Vne + Vee;

t = FindMinimum[func, {R1,0.0809742}, {R2,0.546933},
    {R5,0.1491164},{R6,1.3151171},{Method -> Automatic}, {MaxIterations -> 500}]
    
N[Vne /. c /. t[[2]],10]
N[Vnn /. c /. t[[2]],10]
N[Vee /. c /. t[[2]],10]
N[-(Vee+Vne+Vnn)/T /. c /. t[[2]],10]
N[(S2+S5) /. c /. t[[2]],10]
N[0.529177*(S2+S5) /. c /. t[[2]],10]
N[ratio=-(Vne+2*Vnn)/(Vee-Vnn) /. c /. t[[2]],8]
d=S2+S5 /.c /.t[[2]]
(* xy plane *)
plot2=Graphics[{
      Circle[{0,0},R1],Circle[{0,0},S2],
      Circle[{d,0},R5],
      Circle[{d,0},S5],
      Circle[{-d,0},S5],
      Circle[{-d,0},R5],
      Circle[{0,d},R5],
      Circle[{0,d},S5],Circle[{0,-d},R5],
      Circle[{0,-d},S5]} ] /. t[[2]] /. c

Show[plot2,{AspectRatio -> Automatic,Axes -> True,
    GridLines -> Automatic, PlotRange -> {{-6,6},{-6,6}}, 
    Frame -> True}]