espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding particles moving outside the box


From: chandra shekhar maurya
Subject: Regarding particles moving outside the box
Date: Thu, 13 Jan 2022 17:42:40 +0530


Hello everyone,
I am simulating tutorial "Ferrofluid - Part 3". Which is a 3D system. I am using a vtf file to visulise the particles within the box. But the particles move outside the box. Is it the problem of the system or vtf file?
How can I fix it?

#print("Equilibration...")
equil_rounds = 1000
equil_steps = 10
equil_cycle =1
from espressomd.io.writer import vtf
fp = open('trajectory_monomer2.vtf', mode='w+t')
vtf.writevsf(system, fp)
vtf.writevcf(system, fp)
for i in range(equil_rounds):
for j in range(equil_cycle):
        system.integrator.run(equil_steps)
vtf.writevcf(system, fp)
fp.close()


Thanks & Regards
Chandra Shekhar Maurya
Mechanical Eng. Dept.
Indian Institute of Technology Patna
Contact No:9793572837


reply via email to

[Prev in Thread] Current Thread [Next in Thread]