Output components of dragforce to external file
Hi,
I am looking for a way to write particle-fluid interaction force of specific particle to a file. Normally I use Fix/print to output other information of atoms such as id,x,y,z or fx,fy,fz by pre-defining variables. However for dragforce, I am confused how to define variable for it.
For example one of my trials and it was failed below.
variable ID equal f_dragforce1[id_of_particle]
The structure of dragforce array might not be the same as those of normal force, fx,fy,fz in which we can point, e.g, fx[id_of_particle].
Forums:
- Read more about Output components of dragforce to external file
- 3 comments
- Log in or register to post comments