<div dir="ltr">Dear all,<div><br></div><div>I would like to start by thanking all the contributors to getdp. I really like ONELAB and the flexibility that it offers.</div><div><br></div><div>I'm trying to combine the example of the magnet from ONELAB (magnets.geo and .pro) with an ionized particles motion. This is known as the Stormer equation. I want to achieve figure 1 from  <a href="https://www.semanticscholar.org/paper/Stormer-theory-applied-to-magnetic-spacecraft-Shepherd-Kress/4e7e3f920a0eb445c18b5a209596dd4cab13f2ad">https://www.semanticscholar.org/paper/Stormer-theory-applied-to-magnetic-spacecraft-Shepherd-Kress/4e7e3f920a0eb445c18b5a209596dd4cab13f2ad</a> but with more exotic magnets geometries. </div><div><br></div><div>I can easily implement the equation in Python, see Stormer.py, but I am not too sure how to import and use the magnetic field calculated from <a href="http://magnets.pro">magnets.pro</a></div><div><br></div><div>Alternatively, I tried to implement the Stormer equation directly into getdp by creating a few points (i.e. the particles) and a timelooptheta in the resolution section. This has the advantage that we can mesh at every time step at or around the particle's position. However, getdp tells me that DofData 0 is empty after step 2 of the loop, see modified magnets.geo and <a href="http://magnets.pro">magnets.pro</a></div><div>Can someone explain to me this error and how to fix it?</div><div><br></div><div>I would also very much appreciate any advice of which approach, python or directly within getdp, is the best.   </div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(80,0,80)"><font color="#000000" face="arial narrow, sans-serif" size="2">Best wishes,</font></div><div style="color:rgb(80,0,80)"><font color="#000000" face="arial narrow, sans-serif" size="2"><br></font></div><div style="color:rgb(80,0,80)"><font color="#000000" face="arial narrow, sans-serif" size="2">Majed </font></div></div></div></div></div>