Ren,
To reduce the size of the GSD files written by HOOMD-blue, you can store fewer frames in those files or store fewer per-particle data arrays in each frame.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
> On Jul 16, 2021, at 3:52 AM, Work Ren <
rh....@gmail.com> wrote:
>
> Hi,
> When I am trying to log quantities like forces and virials etc with Hoomd3.0 into gsd file with 9000 particles, the size of the gsd file becomes extremely large, from about 100MB to about 3GB,
>
> The script I am using as the following:
>
> logger2 = hoomd.logging.Logger()
> logger2.add(lj, quantities=['energies', 'forces','torques','virials'])
> logger2.add(harmonic, quantities=['energies', 'forces','torques','virials'])
> logger2.add(angle, quantities=['energies', 'forces','torques','virials'])
> ...
> gsd_writer2 = hoomd.write.GSD(filename=log_gsd_file,
> dynamic=['momentum'],
> trigger=hoomd.trigger.Periodic(1000),
> mode='wb',
> filter=hoomd.filter.All(),
> log=logger2)
>
> Any suggestions to make the gsd file smaller?
>
> Thanks a lot
> Ren Hua
>
>
> --
> You received this message because you are subscribed to the Google Groups "hoomd-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hoomd-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hoomd-users/cfa171ab-3394-4ead-b4cb-1ac498f98782n%40googlegroups.com.