Dear Jude,
You can get the pressure tensor from the thermodynamic quantities compute as the document says. https://hoomd-blue.readthedocs.io/en/v3.10.0/module-md-compute.html#hoomd.md.compute.ThermodynamicQuantities.pressure_tensor
Best,
Brandon
--
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/b04651ad-4a21-438c-b358-2b0a8d8e85c8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/ec053ab0-61cd-45a3-b74f-b61893f8b52an%40googlegroups.com.
--
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/7b5fe412-1377-40f4-9048-d657953fb72cn%40googlegroups.com.
On Apr 6, 2023, at 11:54 AM, jude vishnu <mohms...@gmail.com> wrote:
Dear Joshua,I found few papers on the implementation of local pressure tensor. From what I understand from this they do take virial from the particles interacting with other particles in neighboring slabs. They weigh their contribution by a factor. There are many implementations of local pressure tensor calculations in GROMACs and LAAMPS using several methods like method of planes , Irwin Kirkwood1. It might be good to have this in hoomd's future releases. I am attaching few of the papers I found here.Method of planes: https://journals.aps.org/pre/abstract/10.1103/PhysRevE.52.1627Irving-Kirkwood method: https://doi.org/10.1063/1.1747782This shows how to compute pressure profiles for mesh-based Ewald methods: https://pubs.acs.org/doi/abs/10.1021/acs.jctc.6b00576This has a geometric derivation :https://www.numerik.mathematik.uni-mainz.de/files/2021/06/stress_tensors.pdfhttps://bura.brunel.ac.uk/bitstream/2438/22967/5/FullText.pdf
https://iopscience.iop.org/article/10.1088/0953-8984/24/28/284133/pdfI hope these references can help.Regards,Jude
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/d3be1e8a-5aac-48b5-858d-7fff9c7f9c53n%40googlegroups.com.