Hello!
If all particles are magnetic and have the same dipole moment magnitude,
you can pass option `director_arrows=True` to the openGLLive visualizer.
In ESPResSo, the particle director is always co-aligned with the dipole
moment. A minimal example is attached.
If you have different dipole moment magnitudes and would like to see
this reflected in the length of the arrows, you will need to adapt the
code in `src/python/espressomd/visualization.py` to draw dipole moment
vectors. As a quick workaround, you can replace `particle_data.director`
by `particle_data.dip` to change the behavior of `director_arrows=True`.
Best,
JN
On 1/26/24 16:06, Ксения Астахова wrote:
> Hello, espressomd community!
> I want to visualize dipole moments while integrating. Any ideas on how
> to do this?
>
> Best wishes,
> Kseniia