Skip to content

Commit c413993

Browse files
committed
tried exercice
1 parent 4135c0d commit c413993

5 files changed

Lines changed: 2908 additions & 2864 deletions

File tree

level1/bulk-solution/exercises/cage-effect/inputs/production.mdp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
integrator = md
22
nsteps = 10000
3-
dt = 0.001
3+
dt = 0.0001
44

55
comm_mode = linear
66
comm_grps = system
@@ -9,9 +9,9 @@ cutoff-scheme = Verlet
99
nstlist = 10
1010
ns_type = grid
1111

12-
nstlog = 5
13-
nstenergy = 5
14-
nstxout-compressed = 2
12+
nstlog = 10
13+
nstenergy = 10
14+
nstxout-compressed = 10
1515

1616
vdw-type = Cut-off
1717
rvdw = 1.0

level1/bulk-solution/exercises/cage-effect/localRun.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/bin/sh
22

3-
#gmx=/home/simon/Softwares/gromacs-2024.2/build/bin/gmx
4-
gmx=gmx
3+
gmx=/home/simon/Softwares/gromacs-2024.2/build/bin/gmx
54

65
${gmx} grompp -f inputs/production.mdp -c npt.gro -p topol.top -o production -pp production -po production
76
${gmx} mdrun -v -deffnm production -nt 8
87

8+
${gmx} convert-trj -f production.xtc -s production.tpr -o production.xtc -dt 1
9+
910
${gmx} msd -f production.xtc -s production.tpr -o na-msd.xvg << EOF
1011
3
1112
EOF
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This file was created Fri Jun 7 10:10:58 2024
2+
# Created by:
3+
# :-) GROMACS - gmx msd, 2024.2 (-:
4+
#
5+
# Executable: /home/simon/Softwares/gromacs-2024.2/build/bin/gmx
6+
# Data prefix: /home/simon/Softwares/gromacs-2024.2 (source tree)
7+
# Working dir: /home/simon/Git/GROMACS/inputs/level1/bulk-solution/exercises/cage-effect
8+
# Command line:
9+
# gmx msd -f production2.xtc -s production.tpr -o na-msd.xvg
10+
# gmx msd is part of G R O M A C S:
11+
#
12+
# GROtesk MACabre and Sinister
13+
#
14+
@ title "Mean Squared Displacement"
15+
@ xaxis label "tau (ps)"
16+
@ yaxis label "MSD (nm\\S2\\N)"
17+
@TYPE xy
18+
@ view 0.15, 0.15, 0.75, 0.85
19+
@ legend on
20+
@ legend box on
21+
@ legend loctype view
22+
@ legend 0.78, 0.8
23+
@ legend length 2
24+
@ s0 legend "D[ Na] = 1.7570 (+/- 0.4286) (1e-5 cm^2/s)"
25+
0.000 0
26+
1.000 0.0116462
27+
2.000 0.0253965
28+
3.000 0.0360835
29+
4.000 0.0408977
30+
5.000 0.0484014
31+
6.000 0.0678799
32+
7.000 0.0772106
33+
8.000 0.086677
34+
9.000 0.0965086
35+
10.000 0.0912831

0 commit comments

Comments
 (0)