-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1D MFM Simulation #7
Comments
Hi I think I see at least one of the problems, so your force field looks like to me as if its just one line along x. This won't work, the cantilever will oscillate in the z direction so your forcefield needs to have some samples in that direction. I suspect the sharp discontinuity caused by the line of points is causing the PLL to have a hard time locking. |
Hi thank you so much for the quick response :) I'm gonna try using a 2D Force field by adding data for the z-axis. This should be sufficient when only scanning one line along the x-Axis right? |
Hmm now that I've added z=0 and z=2 data to the force field (just copy&paste so it is constant in z direction at the moment) it seems to struggle with interpololating the force field. I get the error "WARNING! i3Dlin 00B!" this is the settings for the interpolation part: |
It seems its only periodic in the y direction so that might be the issue. |
Thanks, that actually was the issue. When I plot the 1D result still looks like noise though. Especially compared to a plot of the force field. Do you have any idea what could be the reason for that? |
The first step is to ensure your cantilever is stable far from the surface (ie when the force is essentially 0) then to slowly bring it closer to the surface. Be careful of the ForceMultiplier=1e10 this will depend on the units used in the forcefield so yours might not be 1e10. |
Hi, as John mentioned already, the cantilever oscillates (usually) in the vertical direction. The frequency shift is dependent on the shape of the force curve that the tip feels during the oscillation. I checked the txt file you attached and I am not sure the file is correct. It has been a while but I remember that the first three numbers in the force file should be indexes (i,j,k) of the grid point, and the rest are force components. |
Hi, for my bachelorthesis I am currently working on simulating the interaction between the magnetic field of striplines and the cantilever. Therefore I want to simulate the phase shift of the cantilever. I only have a 1 dimensional forcefield in x- direction and would like to simulate the cantilever moving in x direction over the striplines. I used your NaCl file as template and adjusted the forcefield interpollation and scan area accordingly. But something is not working out. Could you help me find the issue? For pll.df I only get a result looking like an oscillation, which changes with the resolution of the "image". If I use your NaClforces.dat pll.df looks good.
I'm currently using this forcefield:
Forces_calc3xy1.txt
and this is the code I'm using:
The text was updated successfully, but these errors were encountered: