Poincare Sections for the Walker-Ford 2-2 resonance Hamiltonian
| > | ham:=-E+J1+J2-J1^2-3*J1*J2+J2^2+alpha*J1*J2*C; |
| > |
Here C stands for cos2(phi1-phi2) ; below I have inserted the value of that in terms of qi's and pi's:
| > | hama:=J1+J2-J1^2-3*J1*J2+J2^2+alpha*(-J1*J2+(q1*q2+p1*p2)^2/2); |
and below here I insert the values for the Ji's, to get it altogether in terms of the 4 coord's in phasespace
| > | ha:=map(factor,collect(subs(J1=(p1^2+q1^2)/2,J2=(p2^2+q2^2)/2,hama),[p1,p2,q1,q2])); |
| > | H1:=map(factor,collect(subs(J1=(p1^2+q1^2)/2,J2=(p2^2+q2^2)/2,alpha=1,hama),[p1,p2,q1,q2])); |
| > | with(plots): with(DEtools): |
| > | hamilton_eqs(H1); |
| > | ic:=generate_ic(H1,{t=0,q2=0,q1=0,p2=0.816,energy=0.1},1); |
| > | P:=poincare(H1,t=0..500,ic,stepsize=0.05,iterations=3,scene=[q1=-2..2,p1=-2..2,p2=-2..2],3): |
| > | display(P,orientation=[-98,70],tickmarks=[3,3,3]); |
| > | poincare(H1,t=0..1000,ic,stepsize=0.05,iterations=3,scene=[q2,p2]); |
| > | ic:=generate_ic(H1,{t=0,q2=0,q1=0,p2=0.816,energy=0.2},1); |
| > | P:=poincare(H1,t=0..500,ic,stepsize=0.05,iterations=3,scene=[q1=-2..2,p1=-2..2,p2=-2..2],3): |
| > | display(P,orientation=[-98,70],tickmarks=[3,3,3]); |
| > | poincare(H1,t=0..1000,ic,stepsize=0.05,iterations=3,scene=[q1,p1]); |
| > | poincare(H1,t=0..1000,ic,stepsize=0.05,iterations=3,scene=[q1,p2]); |
| > | poincare(H1,t=0..1000,ic,stepsize=0.05,iterations=3,scene=[p1,p2]); |
Let's try harder to find a truly periodic one. I hunt with alpha=0.1
| > | ha; |
| > | hap1:=subs(alpha=0.1,ha): |
Now I want e=.1, alpha=.1,p10=0,q20=0,q10=1.144885896 and p20=.5317149904, numbers which were hopefully
acquired so as to do this. They correspond to ii=.7967422731, and were calculated off in some other sheet, from the full,
perturbed Hamiltonian.
| > | icp1:=generate_ic(hap1,{t=0,q1=1.144885896,q2=0,p2=.5317149909,energy=0.1},1); |
| > | P:=poincare(hap1,t=0..500,icp1,stepsize=0.05,iterations=3,scene=[q1=-2..2,p1=-2..2,p2=-2..2],3): |
| > | display(P,orientation=[-98,70],tickmarks=[3,3,3]); |
I'm ecstatic; it actually worked!
Let's look at some actual sections.
| > | poincare(hap1,t=0..1000,icp1,stepsize=0.05,iterations=3,scene=[q1,p1]); |
| > | poincare(hap1,t=0..1000,icp1,stepsize=0.05,iterations=3,scene=[p2,p1]); |
| > | poincare(hap1,t=0..1000,icp1,stepsize=0.05,iterations=3,scene=[q1,p2]); |
| > |