Skip to content

3D pressure field - units #1

Description

@vdascut

I am using your latest code (v. 4.5) based on Phys. Rev. Lett. 2009 to calculate the 3D pressure field of a TIP4P water droplet (sphere) in vacuum (large NVT box, 15x15x15 nm^3). I used the associated pressure-tools (spherical_av) to generate the Ptheta, Pphi (=PT the tangential component) & Prr (=PN the normal component) values for the radials, as I understand. I could not find any manual though, so I would like to ask you a couple of questions.

(1) What are the units for the Ptheta, Pphi (=PT) & Prr (=PN) output? The pressure values are calculated from the centre of the box (7.5, 7.5, 7.5) coinciding with the sphere centre (r=0) till around r=129 (I assume 12.9nm or 129A). Why as far as r=12.9nm? why not from r=0 (box, sphere centre) to r=75A or 7.5nm, given that half the box length is 7.5nm?

(2) I assume I can use the above output directly in the relation: -(1/R^2)*integral([r^2 (Ptheta+Pphi)/2-Prr]dr), with the integral from 0 to 129, οr use the relation –integral([(r/Rs)^2 (Ptheta+Pphi)/2-Prr]dr), where Rs is the Laplace radius, and the integral from 0 to 129, to calculate the surface tension. Is this correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions