# How to adjust pressure inside a nanotube?

**URL:** <https://gromacs.bioexcel.eu/t/how-to-adjust-pressure-inside-a-nanotube/9651>\
**Category:** User discussions\
**Created:** [July 15, 2024, 5:41pm UTC](https://gromacs.bioexcel.eu/t/how-to-adjust-pressure-inside-a-nanotube/9651 "2024-07-15T17:41:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AliGh](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@AliGh](https://gromacs.bioexcel.eu/u/AliGh)\
**Post date:** [July 15, 2024, 5:41pm UTC](https://gromacs.bioexcel.eu/t/how-to-adjust-pressure-inside-a-nanotube/9651/1 "2024-07-15T17:41:04Z")

</div>

GROMACS version: 2023.2  
GROMACS modification: No  
My main question is how you adjusted pressure inside a Nanotube or Meniscus.  
I am working on a system of water in a nanotube (you can see it attached to this email), and I need to adjust the pressure and temperature of the water inside the nanotube. Later, I will have a different mixture of water, but for simplicity, I want only to consider water first. I cannot use isobaric or semi-isobaric barostats as the box has restrictions on moving in all directions. It looks like the “accelerate” approach was not a valid way to apply pressure, and it has been stopped. I tried to add a graphene sheet and reservoir space on the top of nanotube and pull the graphene sheet, but I could not make that work. So I was wondering if any one could provide me with some advice on how to adjust the pressure inside the meniscus or nanotube.

 ![unnamed](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/8/861b643472afd4f5e8242b9ff7a227750ed34d5d.jpeg)

---

<div class="post-metadata">

**Author:** ![AliGh](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@AliGh](https://gromacs.bioexcel.eu/u/AliGh)\
**Post date:** [July 15, 2024, 5:47pm UTC](https://gromacs.bioexcel.eu/t/how-to-adjust-pressure-inside-a-nanotube/9651/2 "2024-07-15T17:47:16Z")

</div>

[structure-gro.txt](https://gromacs.bioexcel.eu/uploads/short-url/agFUX2W1fiom3vhZ0pN59DrTw7v.txt) (1.7 MB)  
[test\_cylander2.txt](https://gromacs.bioexcel.eu/uploads/short-url/y5VVZ7jkFTBXSRToq2TU4qzGZ8M.txt) (3.9 MB)  
[tip4p2005.txt](https://gromacs.bioexcel.eu/uploads/short-url/dP1QMKalfChYSfftcpmR9jNVsEn.txt) (1.3 KB)  
[topol\_5000.top](https://gromacs.bioexcel.eu/uploads/short-url/owrl2qCiKNcNbvzGGlezOi4ytat.top) (229 Bytes)
