Applying magnet model to a mesh shape

I am brand new to julia. I have manged to create meshes with various packages but am really struggling to apply physcis to make a magnet. I have tried several packages and cannot get it to work. I gave used BEAST Nessie and others. Has anyone been able to model a basic magnet to a mesh. Am i missing something basic or fundamental. Any help would be appreciated.