espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo] help on dihedral potential


From: Ana Vila Verde
Subject: [ESPResSo] help on dihedral potential
Date: Fri, 30 Nov 2007 18:13:16 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Hi all,

I'm trying to simulate a molecule that requires a dihedral potential, but so far I couldn't make it work. I made a mock molecule (4 beads making a square) to see what what going on, and I don't get reasonable results: 1) a simulation where I define a dihedral potential does not produce a dihedral angle distribution centered around the defined equilibrium dihedral angle. The probability distribution function of the dihedral angles looks homogenous between -180 and 180ยบ (similar, but not identical, to the PDF of the dihedral angles when no dihedral potential is used). (see *eps or *agr file in attachment) 2) Two different simulations, one where the bending constant is 30 and another one where it is 300 produce exactly the same results.

I am a new user of Espresso, so it seems likely that I am doing something wrong in the input file, but I haven't found anything. Could someone have a quick look at the attached *tcl script to see where I may have made a mistake?

Thank you all for your help.  Best regards,

Ana


--
_______________________________________________________
Ana Vila Verde
Post-doctoral scholar
FOM Institute for Atomic and Molecular Physics [AMOLF]
P.O.Box 41883
1009 DB Amsterdam
The Netherlands
Phone: +31-20-6081392
Fax: +31-20-6684106
E-mail: address@hidden

University of Minho
Physics Center
Campus de Gualtar
4710-057 BRAGA
Portugal
E-mail:address@hidden
_______________________________________________________

image/eps

# Grace project file
#
@version 50118
@page size 792, 612
@page scroll 5%
@page inout 5%
@link page off
@map font 0 to "Times-Roman", "Times-Roman"
@map font 1 to "Times-Italic", "Times-Italic"
@map font 2 to "Times-Bold", "Times-Bold"
@map font 3 to "Times-BoldItalic", "Times-BoldItalic"
@map font 4 to "Helvetica", "Helvetica"
@map font 5 to "Helvetica-Oblique", "Helvetica-Oblique"
@map font 6 to "Helvetica-Bold", "Helvetica-Bold"
@map font 7 to "Helvetica-BoldOblique", "Helvetica-BoldOblique"
@map font 8 to "Courier", "Courier"
@map font 9 to "Courier-Oblique", "Courier-Oblique"
@map font 10 to "Courier-Bold", "Courier-Bold"
@map font 11 to "Courier-BoldOblique", "Courier-BoldOblique"
@map font 12 to "Symbol", "Symbol"
@map font 13 to "ZapfDingbats", "ZapfDingbats"
@map color 0 to (255, 255, 255), "white"
@map color 1 to (0, 0, 0), "black"
@map color 2 to (255, 0, 0), "red"
@map color 3 to (0, 255, 0), "green"
@map color 4 to (0, 0, 255), "blue"
@map color 5 to (255, 255, 0), "yellow"
@map color 6 to (188, 143, 143), "brown"
@map color 7 to (220, 220, 220), "grey"
@map color 8 to (148, 0, 211), "violet"
@map color 9 to (0, 255, 255), "cyan"
@map color 10 to (255, 0, 255), "magenta"
@map color 11 to (255, 165, 0), "orange"
@map color 12 to (114, 33, 188), "indigo"
@map color 13 to (103, 7, 72), "maroon"
@map color 14 to (64, 224, 208), "turquoise"
@map color 15 to (0, 139, 0), "green4"
@reference date 0
@date wrap off
@date wrap year 1950
@default linewidth 1.0
@default linestyle 1
@default color 1
@default pattern 1
@default font 0
@default char size 1.000000
@default symbol size 1.000000
@default sformat "%.8g"
@background color 0
@page background fill on
@timestamp off
@timestamp 0.03, 0.03
@timestamp color 1
@timestamp rot 0
@timestamp font 0
@timestamp char size 1.000000
@timestamp def "Fri Nov 30 17:38:51 2007"
@r0 off
@link r0 to g0
@r0 type above
@r0 linestyle 1
@r0 linewidth 1.0
@r0 color 1
@r0 line 0, 0, 0, 0
@r1 off
@link r1 to g0
@r1 type above
@r1 linestyle 1
@r1 linewidth 1.0
@r1 color 1
@r1 line 0, 0, 0, 0
@r2 off
@link r2 to g0
@r2 type above
@r2 linestyle 1
@r2 linewidth 1.0
@r2 color 1
@r2 line 0, 0, 0, 0
@r3 off
@link r3 to g0
@r3 type above
@r3 linestyle 1
@r3 linewidth 1.0
@r3 color 1
@r3 line 0, 0, 0, 0
@r4 off
@link r4 to g0
@r4 type above
@r4 linestyle 1
@r4 linewidth 1.0
@r4 color 1
@r4 line 0, 0, 0, 0
@g0 on
@g0 hidden false
@g0 type XY
@g0 stacked false
@g0 bar hgap 0.000000
@g0 fixedpoint off
@g0 fixedpoint type 0
@g0 fixedpoint xy 0.000000, 0.000000
@g0 fixedpoint format general general
@g0 fixedpoint prec 6, 6
@with g0
@    world 0, -200, 50, 200
@    stack world 0, 0, 0, 0
@    znorm 1
@    view 0.150000, 0.558333, 0.564639, 0.850000
@    title ""
@    title font 0
@    title size 1.500000
@    title color 1
@    subtitle "dihedral potential, k=30, phi=0"
@    subtitle font 0
@    subtitle size 1.000000
@    subtitle color 1
@    xaxes scale Normal
@    yaxes scale Normal
@    xaxes invert off
@    yaxes invert off
@    xaxis  on
@    xaxis  type zero false
@    xaxis  offset 0.000000 , 0.000000
@    xaxis  bar on
@    xaxis  bar color 1
@    xaxis  bar linestyle 1
@    xaxis  bar linewidth 1.0
@    xaxis  label "time"
@    xaxis  label layout para
@    xaxis  label place auto
@    xaxis  label char size 1.000000
@    xaxis  label font 0
@    xaxis  label color 1
@    xaxis  label place normal
@    xaxis  tick on
@    xaxis  tick major 10
@    xaxis  tick minor ticks 1
@    xaxis  tick default 6
@    xaxis  tick place rounded true
@    xaxis  tick in
@    xaxis  tick major size 1.000000
@    xaxis  tick major color 1
@    xaxis  tick major linewidth 1.0
@    xaxis  tick major linestyle 1
@    xaxis  tick major grid off
@    xaxis  tick minor color 1
@    xaxis  tick minor linewidth 1.0
@    xaxis  tick minor linestyle 1
@    xaxis  tick minor grid off
@    xaxis  tick minor size 0.500000
@    xaxis  ticklabel on
@    xaxis  ticklabel format general
@    xaxis  ticklabel prec 5
@    xaxis  ticklabel formula ""
@    xaxis  ticklabel append ""
@    xaxis  ticklabel prepend ""
@    xaxis  ticklabel angle 0
@    xaxis  ticklabel skip 0
@    xaxis  ticklabel stagger 0
@    xaxis  ticklabel place normal
@    xaxis  ticklabel offset auto
@    xaxis  ticklabel offset 0.000000 , 0.010000
@    xaxis  ticklabel start type auto
@    xaxis  ticklabel start 0.000000
@    xaxis  ticklabel stop type auto
@    xaxis  ticklabel stop 0.000000
@    xaxis  ticklabel char size 1.000000
@    xaxis  ticklabel font 0
@    xaxis  ticklabel color 1
@    xaxis  tick place both
@    xaxis  tick spec type none
@    yaxis  on
@    yaxis  type zero false
@    yaxis  offset 0.000000 , 0.000000
@    yaxis  bar on
@    yaxis  bar color 1
@    yaxis  bar linestyle 1
@    yaxis  bar linewidth 1.0
@    yaxis  label "dihedral angle"
@    yaxis  label layout para
@    yaxis  label place auto
@    yaxis  label char size 1.000000
@    yaxis  label font 0
@    yaxis  label color 1
@    yaxis  label place normal
@    yaxis  tick on
@    yaxis  tick major 100
@    yaxis  tick minor ticks 1
@    yaxis  tick default 6
@    yaxis  tick place rounded true
@    yaxis  tick in
@    yaxis  tick major size 1.000000
@    yaxis  tick major color 1
@    yaxis  tick major linewidth 1.0
@    yaxis  tick major linestyle 1
@    yaxis  tick major grid off
@    yaxis  tick minor color 1
@    yaxis  tick minor linewidth 1.0
@    yaxis  tick minor linestyle 1
@    yaxis  tick minor grid off
@    yaxis  tick minor size 0.500000
@    yaxis  ticklabel on
@    yaxis  ticklabel format general
@    yaxis  ticklabel prec 5
@    yaxis  ticklabel formula ""
@    yaxis  ticklabel append ""
@    yaxis  ticklabel prepend ""
@    yaxis  ticklabel angle 0
@    yaxis  ticklabel skip 0
@    yaxis  ticklabel stagger 0
@    yaxis  ticklabel place normal
@    yaxis  ticklabel offset auto
@    yaxis  ticklabel offset 0.000000 , 0.010000
@    yaxis  ticklabel start type auto
@    yaxis  ticklabel start 0.000000
@    yaxis  ticklabel stop type auto
@    yaxis  ticklabel stop 0.000000
@    yaxis  ticklabel char size 1.000000
@    yaxis  ticklabel font 0
@    yaxis  ticklabel color 1
@    yaxis  tick place both
@    yaxis  tick spec type none
@    altxaxis  off
@    altyaxis  off
@    legend on
@    legend loctype view
@    legend 0.85, 0.8
@    legend box color 1
@    legend box pattern 1
@    legend box linewidth 1.0
@    legend box linestyle 1
@    legend box fill color 0
@    legend box fill pattern 1
@    legend font 0
@    legend char size 1.000000
@    legend color 1
@    legend length 4
@    legend vgap 1
@    legend hgap 1
@    legend invert false
@    frame type 0
@    frame linestyle 1
@    frame linewidth 1.0
@    frame color 1
@    frame pattern 1
@    frame background color 0
@    frame background pattern 0
@    s0 hidden false
@    s0 type xy
@    s0 symbol 0
@    s0 symbol size 1.000000
@    s0 symbol color 1
@    s0 symbol pattern 1
@    s0 symbol fill color 1
@    s0 symbol fill pattern 0
@    s0 symbol linewidth 1.0
@    s0 symbol linestyle 1
@    s0 symbol char 65
@    s0 symbol char font 0
@    s0 symbol skip 0
@    s0 line type 1
@    s0 line linestyle 1
@    s0 line linewidth 1.0
@    s0 line color 1
@    s0 line pattern 1
@    s0 baseline type 0
@    s0 baseline off
@    s0 dropline off
@    s0 fill type 0
@    s0 fill rule 0
@    s0 fill color 1
@    s0 fill pattern 1
@    s0 avalue off
@    s0 avalue type 2
@    s0 avalue char size 1.000000
@    s0 avalue font 0
@    s0 avalue color 1
@    s0 avalue rot 0
@    s0 avalue format general
@    s0 avalue prec 3
@    s0 avalue prepend ""
@    s0 avalue append ""
@    s0 avalue offset 0.000000 , 0.000000
@    s0 errorbar on
@    s0 errorbar place both
@    s0 errorbar color 1
@    s0 errorbar pattern 1
@    s0 errorbar size 1.000000
@    s0 errorbar linewidth 1.0
@    s0 errorbar linestyle 1
@    s0 errorbar riser linewidth 1.0
@    s0 errorbar riser linestyle 1
@    s0 errorbar riser clip off
@    s0 errorbar riser clip length 0.100000
@    s0 comment "Dihedral0.1.2.3.dat.4beads_dihedralYes.k30"
@    s0 legend  ""
@g1 on
@g1 hidden false
@g1 type XY
@g1 stacked false
@g1 bar hgap 0.000000
@g1 fixedpoint off
@g1 fixedpoint type 0
@g1 fixedpoint xy 0.000000, 0.000000
@g1 fixedpoint format general general
@g1 fixedpoint prec 6, 6
@with g1
@    world -200, 0, 200, 0.01
@    stack world 0, 0, 0, 0
@    znorm 1
@    view 0.730495, 0.558333, 1.145134, 0.850000
@    title ""
@    title font 0
@    title size 1.500000
@    title color 1
@    subtitle ""
@    subtitle font 0
@    subtitle size 1.000000
@    subtitle color 1
@    xaxes scale Normal
@    yaxes scale Normal
@    xaxes invert off
@    yaxes invert off
@    xaxis  on
@    xaxis  type zero false
@    xaxis  offset 0.000000 , 0.000000
@    xaxis  bar on
@    xaxis  bar color 1
@    xaxis  bar linestyle 1
@    xaxis  bar linewidth 1.0
@    xaxis  label "dihedral angle"
@    xaxis  label layout para
@    xaxis  label place auto
@    xaxis  label char size 1.000000
@    xaxis  label font 0
@    xaxis  label color 1
@    xaxis  label place normal
@    xaxis  tick on
@    xaxis  tick major 100
@    xaxis  tick minor ticks 1
@    xaxis  tick default 6
@    xaxis  tick place rounded true
@    xaxis  tick in
@    xaxis  tick major size 1.000000
@    xaxis  tick major color 1
@    xaxis  tick major linewidth 1.0
@    xaxis  tick major linestyle 1
@    xaxis  tick major grid off
@    xaxis  tick minor color 1
@    xaxis  tick minor linewidth 1.0
@    xaxis  tick minor linestyle 1
@    xaxis  tick minor grid off
@    xaxis  tick minor size 0.500000
@    xaxis  ticklabel on
@    xaxis  ticklabel format general
@    xaxis  ticklabel prec 5
@    xaxis  ticklabel formula ""
@    xaxis  ticklabel append ""
@    xaxis  ticklabel prepend ""
@    xaxis  ticklabel angle 0
@    xaxis  ticklabel skip 0
@    xaxis  ticklabel stagger 0
@    xaxis  ticklabel place normal
@    xaxis  ticklabel offset auto
@    xaxis  ticklabel offset 0.000000 , 0.010000
@    xaxis  ticklabel start type auto
@    xaxis  ticklabel start 0.000000
@    xaxis  ticklabel stop type auto
@    xaxis  ticklabel stop 0.000000
@    xaxis  ticklabel char size 1.000000
@    xaxis  ticklabel font 0
@    xaxis  ticklabel color 1
@    xaxis  tick place both
@    xaxis  tick spec type none
@    yaxis  on
@    yaxis  type zero false
@    yaxis  offset 0.000000 , 0.000000
@    yaxis  bar on
@    yaxis  bar color 1
@    yaxis  bar linestyle 1
@    yaxis  bar linewidth 1.0
@    yaxis  label "PDF"
@    yaxis  label layout para
@    yaxis  label place auto
@    yaxis  label char size 1.000000
@    yaxis  label font 0
@    yaxis  label color 1
@    yaxis  label place normal
@    yaxis  tick on
@    yaxis  tick major 0.002
@    yaxis  tick minor ticks 1
@    yaxis  tick default 6
@    yaxis  tick place rounded true
@    yaxis  tick in
@    yaxis  tick major size 1.000000
@    yaxis  tick major color 1
@    yaxis  tick major linewidth 1.0
@    yaxis  tick major linestyle 1
@    yaxis  tick major grid off
@    yaxis  tick minor color 1
@    yaxis  tick minor linewidth 1.0
@    yaxis  tick minor linestyle 1
@    yaxis  tick minor grid off
@    yaxis  tick minor size 0.500000
@    yaxis  ticklabel on
@    yaxis  ticklabel format general
@    yaxis  ticklabel prec 5
@    yaxis  ticklabel formula ""
@    yaxis  ticklabel append ""
@    yaxis  ticklabel prepend ""
@    yaxis  ticklabel angle 0
@    yaxis  ticklabel skip 0
@    yaxis  ticklabel stagger 0
@    yaxis  ticklabel place normal
@    yaxis  ticklabel offset auto
@    yaxis  ticklabel offset 0.000000 , 0.010000
@    yaxis  ticklabel start type auto
@    yaxis  ticklabel start 0.000000
@    yaxis  ticklabel stop type auto
@    yaxis  ticklabel stop 0.000000
@    yaxis  ticklabel char size 1.000000
@    yaxis  ticklabel font 0
@    yaxis  ticklabel color 1
@    yaxis  tick place both
@    yaxis  tick spec type none
@    altxaxis  off
@    altyaxis  off
@    legend on
@    legend loctype view
@    legend 0.5, 0.8
@    legend box color 1
@    legend box pattern 1
@    legend box linewidth 1.0
@    legend box linestyle 1
@    legend box fill color 0
@    legend box fill pattern 1
@    legend font 0
@    legend char size 1.000000
@    legend color 1
@    legend length 4
@    legend vgap 1
@    legend hgap 1
@    legend invert false
@    frame type 0
@    frame linestyle 1
@    frame linewidth 1.0
@    frame color 1
@    frame pattern 1
@    frame background color 0
@    frame background pattern 0
@    s0 hidden false
@    s0 type xy
@    s0 symbol 0
@    s0 symbol size 1.000000
@    s0 symbol color 1
@    s0 symbol pattern 1
@    s0 symbol fill color 1
@    s0 symbol fill pattern 0
@    s0 symbol linewidth 1.0
@    s0 symbol linestyle 1
@    s0 symbol char 65
@    s0 symbol char font 0
@    s0 symbol skip 0
@    s0 line type 2
@    s0 line linestyle 1
@    s0 line linewidth 1.0
@    s0 line color 1
@    s0 line pattern 1
@    s0 baseline type 0
@    s0 baseline off
@    s0 dropline on
@    s0 fill type 0
@    s0 fill rule 0
@    s0 fill color 1
@    s0 fill pattern 1
@    s0 avalue off
@    s0 avalue type 2
@    s0 avalue char size 1.000000
@    s0 avalue font 0
@    s0 avalue color 1
@    s0 avalue rot 0
@    s0 avalue format general
@    s0 avalue prec 3
@    s0 avalue prepend ""
@    s0 avalue append ""
@    s0 avalue offset 0.000000 , 0.000000
@    s0 errorbar on
@    s0 errorbar place both
@    s0 errorbar color 1
@    s0 errorbar pattern 1
@    s0 errorbar size 1.000000
@    s0 errorbar linewidth 1.0
@    s0 errorbar linestyle 1
@    s0 errorbar riser linewidth 1.0
@    s0 errorbar riser linestyle 1
@    s0 errorbar riser clip off
@    s0 errorbar riser clip length 0.100000
@    s0 comment "Histogram from G0.S0"
@    s0 legend  ""
@g2 on
@g2 hidden false
@g2 type XY
@g2 stacked false
@g2 bar hgap 0.000000
@g2 fixedpoint off
@g2 fixedpoint type 0
@g2 fixedpoint xy 0.000000, 0.000000
@g2 fixedpoint format general general
@g2 fixedpoint prec 6, 6
@with g2
@    world 0, -200, 50, 200
@    stack world 0, 0, 0, 0
@    znorm 1
@    view 0.150000, 0.150000, 0.564639, 0.441667
@    title ""
@    title font 0
@    title size 1.500000
@    title color 1
@    subtitle "No dihedral potential"
@    subtitle font 0
@    subtitle size 1.000000
@    subtitle color 1
@    xaxes scale Normal
@    yaxes scale Normal
@    xaxes invert off
@    yaxes invert off
@    xaxis  on
@    xaxis  type zero false
@    xaxis  offset 0.000000 , 0.000000
@    xaxis  bar on
@    xaxis  bar color 1
@    xaxis  bar linestyle 1
@    xaxis  bar linewidth 1.0
@    xaxis  label "time"
@    xaxis  label layout para
@    xaxis  label place auto
@    xaxis  label char size 1.000000
@    xaxis  label font 0
@    xaxis  label color 1
@    xaxis  label place normal
@    xaxis  tick on
@    xaxis  tick major 10
@    xaxis  tick minor ticks 1
@    xaxis  tick default 6
@    xaxis  tick place rounded true
@    xaxis  tick in
@    xaxis  tick major size 1.000000
@    xaxis  tick major color 1
@    xaxis  tick major linewidth 1.0
@    xaxis  tick major linestyle 1
@    xaxis  tick major grid off
@    xaxis  tick minor color 1
@    xaxis  tick minor linewidth 1.0
@    xaxis  tick minor linestyle 1
@    xaxis  tick minor grid off
@    xaxis  tick minor size 0.500000
@    xaxis  ticklabel on
@    xaxis  ticklabel format general
@    xaxis  ticklabel prec 5
@    xaxis  ticklabel formula ""
@    xaxis  ticklabel append ""
@    xaxis  ticklabel prepend ""
@    xaxis  ticklabel angle 0
@    xaxis  ticklabel skip 0
@    xaxis  ticklabel stagger 0
@    xaxis  ticklabel place normal
@    xaxis  ticklabel offset auto
@    xaxis  ticklabel offset 0.000000 , 0.010000
@    xaxis  ticklabel start type auto
@    xaxis  ticklabel start 0.000000
@    xaxis  ticklabel stop type auto
@    xaxis  ticklabel stop 0.000000
@    xaxis  ticklabel char size 1.000000
@    xaxis  ticklabel font 0
@    xaxis  ticklabel color 1
@    xaxis  tick place both
@    xaxis  tick spec type none
@    yaxis  on
@    yaxis  type zero false
@    yaxis  offset 0.000000 , 0.000000
@    yaxis  bar on
@    yaxis  bar color 1
@    yaxis  bar linestyle 1
@    yaxis  bar linewidth 1.0
@    yaxis  label "dihedral angle"
@    yaxis  label layout para
@    yaxis  label place auto
@    yaxis  label char size 1.000000
@    yaxis  label font 0
@    yaxis  label color 1
@    yaxis  label place normal
@    yaxis  tick on
@    yaxis  tick major 100
@    yaxis  tick minor ticks 1
@    yaxis  tick default 6
@    yaxis  tick place rounded true
@    yaxis  tick in
@    yaxis  tick major size 1.000000
@    yaxis  tick major color 1
@    yaxis  tick major linewidth 1.0
@    yaxis  tick major linestyle 1
@    yaxis  tick major grid off
@    yaxis  tick minor color 1
@    yaxis  tick minor linewidth 1.0
@    yaxis  tick minor linestyle 1
@    yaxis  tick minor grid off
@    yaxis  tick minor size 0.500000
@    yaxis  ticklabel on
@    yaxis  ticklabel format general
@    yaxis  ticklabel prec 5
@    yaxis  ticklabel formula ""
@    yaxis  ticklabel append ""
@    yaxis  ticklabel prepend ""
@    yaxis  ticklabel angle 0
@    yaxis  ticklabel skip 0
@    yaxis  ticklabel stagger 0
@    yaxis  ticklabel place normal
@    yaxis  ticklabel offset auto
@    yaxis  ticklabel offset 0.000000 , 0.010000
@    yaxis  ticklabel start type auto
@    yaxis  ticklabel start 0.000000
@    yaxis  ticklabel stop type auto
@    yaxis  ticklabel stop 0.000000
@    yaxis  ticklabel char size 1.000000
@    yaxis  ticklabel font 0
@    yaxis  ticklabel color 1
@    yaxis  tick place both
@    yaxis  tick spec type none
@    altxaxis  off
@    altyaxis  off
@    legend on
@    legend loctype view
@    legend 0.5, 0.8
@    legend box color 1
@    legend box pattern 1
@    legend box linewidth 1.0
@    legend box linestyle 1
@    legend box fill color 0
@    legend box fill pattern 1
@    legend font 0
@    legend char size 1.000000
@    legend color 1
@    legend length 4
@    legend vgap 1
@    legend hgap 1
@    legend invert false
@    frame type 0
@    frame linestyle 1
@    frame linewidth 1.0
@    frame color 1
@    frame pattern 1
@    frame background color 0
@    frame background pattern 0
@    s0 hidden false
@    s0 type xy
@    s0 symbol 0
@    s0 symbol size 1.000000
@    s0 symbol color 1
@    s0 symbol pattern 1
@    s0 symbol fill color 1
@    s0 symbol fill pattern 0
@    s0 symbol linewidth 1.0
@    s0 symbol linestyle 1
@    s0 symbol char 65
@    s0 symbol char font 0
@    s0 symbol skip 0
@    s0 line type 1
@    s0 line linestyle 1
@    s0 line linewidth 1.0
@    s0 line color 1
@    s0 line pattern 1
@    s0 baseline type 0
@    s0 baseline off
@    s0 dropline off
@    s0 fill type 0
@    s0 fill rule 0
@    s0 fill color 1
@    s0 fill pattern 1
@    s0 avalue off
@    s0 avalue type 2
@    s0 avalue char size 1.000000
@    s0 avalue font 0
@    s0 avalue color 1
@    s0 avalue rot 0
@    s0 avalue format general
@    s0 avalue prec 3
@    s0 avalue prepend ""
@    s0 avalue append ""
@    s0 avalue offset 0.000000 , 0.000000
@    s0 errorbar on
@    s0 errorbar place both
@    s0 errorbar color 1
@    s0 errorbar pattern 1
@    s0 errorbar size 1.000000
@    s0 errorbar linewidth 1.0
@    s0 errorbar linestyle 1
@    s0 errorbar riser linewidth 1.0
@    s0 errorbar riser linestyle 1
@    s0 errorbar riser clip off
@    s0 errorbar riser clip length 0.100000
@    s0 comment 
"/home2/avilaverde/playEspresso/Dihedral0.1.2.3.dat.4beads_dihedralNo"
@    s0 legend  ""
@g3 on
@g3 hidden false
@g3 type XY
@g3 stacked false
@g3 bar hgap 0.000000
@g3 fixedpoint off
@g3 fixedpoint type 0
@g3 fixedpoint xy 0.000000, 0.000000
@g3 fixedpoint format general general
@g3 fixedpoint prec 6, 6
@with g3
@    world -200, 0, 200, 0.008
@    stack world 0, 0, 0, 0
@    znorm 1
@    view 0.730495, 0.150000, 1.145134, 0.441667
@    title ""
@    title font 0
@    title size 1.500000
@    title color 1
@    subtitle ""
@    subtitle font 0
@    subtitle size 1.000000
@    subtitle color 1
@    xaxes scale Normal
@    yaxes scale Normal
@    xaxes invert off
@    yaxes invert off
@    xaxis  on
@    xaxis  type zero false
@    xaxis  offset 0.000000 , 0.000000
@    xaxis  bar on
@    xaxis  bar color 1
@    xaxis  bar linestyle 1
@    xaxis  bar linewidth 1.0
@    xaxis  label "dihedral angle"
@    xaxis  label layout para
@    xaxis  label place auto
@    xaxis  label char size 1.000000
@    xaxis  label font 0
@    xaxis  label color 1
@    xaxis  label place normal
@    xaxis  tick on
@    xaxis  tick major 100
@    xaxis  tick minor ticks 1
@    xaxis  tick default 6
@    xaxis  tick place rounded true
@    xaxis  tick in
@    xaxis  tick major size 1.000000
@    xaxis  tick major color 1
@    xaxis  tick major linewidth 1.0
@    xaxis  tick major linestyle 1
@    xaxis  tick major grid off
@    xaxis  tick minor color 1
@    xaxis  tick minor linewidth 1.0
@    xaxis  tick minor linestyle 1
@    xaxis  tick minor grid off
@    xaxis  tick minor size 0.500000
@    xaxis  ticklabel on
@    xaxis  ticklabel format general
@    xaxis  ticklabel prec 5
@    xaxis  ticklabel formula ""
@    xaxis  ticklabel append ""
@    xaxis  ticklabel prepend ""
@    xaxis  ticklabel angle 0
@    xaxis  ticklabel skip 0
@    xaxis  ticklabel stagger 0
@    xaxis  ticklabel place normal
@    xaxis  ticklabel offset auto
@    xaxis  ticklabel offset 0.000000 , 0.010000
@    xaxis  ticklabel start type auto
@    xaxis  ticklabel start 0.000000
@    xaxis  ticklabel stop type auto
@    xaxis  ticklabel stop 0.000000
@    xaxis  ticklabel char size 1.000000
@    xaxis  ticklabel font 0
@    xaxis  ticklabel color 1
@    xaxis  tick place both
@    xaxis  tick spec type none
@    yaxis  on
@    yaxis  type zero false
@    yaxis  offset 0.000000 , 0.000000
@    yaxis  bar on
@    yaxis  bar color 1
@    yaxis  bar linestyle 1
@    yaxis  bar linewidth 1.0
@    yaxis  label "PDF"
@    yaxis  label layout para
@    yaxis  label place auto
@    yaxis  label char size 1.000000
@    yaxis  label font 0
@    yaxis  label color 1
@    yaxis  label place normal
@    yaxis  tick on
@    yaxis  tick major 0.002
@    yaxis  tick minor ticks 1
@    yaxis  tick default 6
@    yaxis  tick place rounded true
@    yaxis  tick in
@    yaxis  tick major size 1.000000
@    yaxis  tick major color 1
@    yaxis  tick major linewidth 1.0
@    yaxis  tick major linestyle 1
@    yaxis  tick major grid off
@    yaxis  tick minor color 1
@    yaxis  tick minor linewidth 1.0
@    yaxis  tick minor linestyle 1
@    yaxis  tick minor grid off
@    yaxis  tick minor size 0.500000
@    yaxis  ticklabel on
@    yaxis  ticklabel format general
@    yaxis  ticklabel prec 5
@    yaxis  ticklabel formula ""
@    yaxis  ticklabel append ""
@    yaxis  ticklabel prepend ""
@    yaxis  ticklabel angle 0
@    yaxis  ticklabel skip 0
@    yaxis  ticklabel stagger 0
@    yaxis  ticklabel place normal
@    yaxis  ticklabel offset auto
@    yaxis  ticklabel offset 0.000000 , 0.010000
@    yaxis  ticklabel start type auto
@    yaxis  ticklabel start 0.000000
@    yaxis  ticklabel stop type auto
@    yaxis  ticklabel stop 0.000000
@    yaxis  ticklabel char size 1.000000
@    yaxis  ticklabel font 0
@    yaxis  ticklabel color 1
@    yaxis  tick place both
@    yaxis  tick spec type none
@    altxaxis  off
@    altyaxis  off
@    legend on
@    legend loctype view
@    legend 0.5, 0.8
@    legend box color 1
@    legend box pattern 1
@    legend box linewidth 1.0
@    legend box linestyle 1
@    legend box fill color 0
@    legend box fill pattern 1
@    legend font 0
@    legend char size 1.000000
@    legend color 1
@    legend length 4
@    legend vgap 1
@    legend hgap 1
@    legend invert false
@    frame type 0
@    frame linestyle 1
@    frame linewidth 1.0
@    frame color 1
@    frame pattern 1
@    frame background color 0
@    frame background pattern 0
@    s0 hidden false
@    s0 type xy
@    s0 symbol 0
@    s0 symbol size 1.000000
@    s0 symbol color 1
@    s0 symbol pattern 1
@    s0 symbol fill color 1
@    s0 symbol fill pattern 0
@    s0 symbol linewidth 1.0
@    s0 symbol linestyle 1
@    s0 symbol char 65
@    s0 symbol char font 0
@    s0 symbol skip 0
@    s0 line type 2
@    s0 line linestyle 1
@    s0 line linewidth 1.0
@    s0 line color 1
@    s0 line pattern 1
@    s0 baseline type 0
@    s0 baseline off
@    s0 dropline on
@    s0 fill type 0
@    s0 fill rule 0
@    s0 fill color 1
@    s0 fill pattern 1
@    s0 avalue off
@    s0 avalue type 2
@    s0 avalue char size 1.000000
@    s0 avalue font 0
@    s0 avalue color 1
@    s0 avalue rot 0
@    s0 avalue format general
@    s0 avalue prec 3
@    s0 avalue prepend ""
@    s0 avalue append ""
@    s0 avalue offset 0.000000 , 0.000000
@    s0 errorbar on
@    s0 errorbar place both
@    s0 errorbar color 1
@    s0 errorbar pattern 1
@    s0 errorbar size 1.000000
@    s0 errorbar linewidth 1.0
@    s0 errorbar linestyle 1
@    s0 errorbar riser linewidth 1.0
@    s0 errorbar riser linestyle 1
@    s0 errorbar riser clip off
@    s0 errorbar riser clip length 0.100000
@    s0 comment "Histogram from G2.S0"
@    s0 legend  ""
@target G0.S0
@type xy
0.2 0
0.4 -161.82053
0.6 28.17799
0.8 -173.45875
1 -122.67762
1.2 -113.06914
1.4 -112.46269
1.6 157.13748
1.8 154.81905
2 -174.30942
2.2 -179.77278
2.4 88.44183
2.6 -139.36821
2.8 -119.96394
3 67.40777
3.2 142.2444
3.4 -96.97463
3.6 -161.61166
3.8 161.31047
4 -157.87071
4.2 140.64719
4.4 -169.33006
4.6 -57.20511
4.8 -52.46927
5 -28.28116
5.2 36.25425
5.4 -11.19685
5.6 -40.29889
5.8 59.72464
6 -160.08406
6.2 -161.95509
6.4 97.55488
6.6 84.27744
6.8 -49.08017
7 -95.20835
7.2 -143.00114
7.4 171.36317
7.6 -169.00588
7.8 -170.28175
8 41.55421
8.2 -73.6787
8.4 -151.3806
8.6 82.0983
8.8 98.03808
9 -19.504
9.2 106.87544
9.4 64.25093
9.6 103.82916
9.8 143.85375
10 -68.01422
10.2 -157.67416
10.4 66.02926
10.6 -148.93202
10.8 -51.60372
11 166.9928
11.2 39.16305
11.4 51.2906
11.6 -52.54732
11.8 -130.0009
12 112.26681
12.2 106.53938
12.4 -6.76938
12.6 -65.14549
12.8 -129.93927
13 -115.00723
13.2 119.87685
13.4 97.33622
13.6 177.1046
13.8 153.94739
14 162.18384
14.2 71.06403
14.4 -109.61189
14.6 -15.11941
14.8 87.88782
15 -16.03899
15.2 -27.23493
15.4 -63.19161
15.6 -162.92664
15.8 159.89655
16 -7.25048
16.2 -24.35273
16.4 158.4787
16.6 -169.59701
16.8 -0.2088
17 23.90853
17.2 -78.60889
17.4 -168.89793
17.6 4.19124
17.8 119.84474
18 94.11944
18.2 -51.14563
18.4 150.42129
18.6 4.48796
18.8 -93.47898
19 -167.05041
19.2 -165.56198
19.4 -134.64339
19.6 -36.31921
19.8 -97.63635
20 159.47498
20.2 62.02155
20.4 34.50144
20.6 54.12387
20.8 136.35251
21 -128.00804
21.2 -122.20657
21.4 -107.56438
21.6 -111.05346
21.8 138.32896
22 -164.82928
22.2 61.93861
22.4 5.27923
22.6 53.73704
22.8 83.35394
23 100.44096
23.2 82.81074
23.4 14.39018
23.6 -18.3192
23.8 38.58361
24 32.99146
24.2 24.81247
24.4 79.61687
24.6 -55.64374
24.8 -90.90387
25 -5.02043
25.2 76.94756
25.4 168.42232
25.6 -148.31882
25.8 -150.48599
26 170.75609
26.2 -177.60724
26.4 -155.59952
26.6 -77.74765
26.8 -16.36264
27 -14.06669
27.2 -37.76382
27.4 -55.5816
27.6 -96.45041
27.8 46.89697
28 -33.75065
28.2 -74.78288
28.4 -30.02472
28.6 -50.11734
28.8 47.15578
29 -59.30843
29.2 -145.22159
29.4 -48.87224
29.6 -29.68642
29.8 95.14778
30 120.63135
30.2 134.34087
30.4 -45.11628
30.6 -10.76401
30.8 83.27862
31 105.36691
31.2 -21.26637
31.4 24.10019
31.6 30.92088
31.8 21.9865
32 -75.29565
32.2 -173.9901
32.4 155.38893
32.6 146.67535
32.8 148.70274
33 137.66586
33.2 -140.2032
33.4 -85.69827
33.6 -43.15615
33.8 -51.02918
34 -50.65252
34.2 -76.18243
34.4 51.21074
34.6 -55.55783
34.8 -50.72883
35 -5.99787
35.2 -74.01071
35.4 -100.04894
35.6 174.71147
35.8 26.73139
36 86.40995
36.2 -39.43397
36.4 -61.37841
36.6 -66.75725
36.8 -18.95061
37 -47.37955
37.2 -10.19661
37.4 -101.59163
37.6 107.9761
37.8 1.95959
38 42.78603
38.2 -28.34054
38.4 -29.16736
38.6 37.84092
38.8 -165.32684
39 -61.29037
39.2 -130.06839
39.4 -147.01099
39.6 -148.81082
39.8 -89.95258
40 -57.15571
40.2 -70.29652
40.4 -72.27439
40.6 111.17583
40.8 8.96653
41 76.1432
41.2 22.75795
41.4 50.28447
41.6 29.51497
41.8 -16.22956
42 -65.1777
42.2 160.3457
42.4 -51.23891
42.6 39.139
42.8 54.09246
43 112.85528
43.2 157.96239
43.4 -0.90525
43.6 21.02525
43.8 -42.9165
44 -7.86014
44.2 89.09595
44.4 91.7457
44.6 -1.11406
44.8 -129.53513
45 161.73883
45.2 17.24865
45.4 -38.89274
45.6 -3.49941
45.8 12.98943
46 70.03361
&
@target G1.S0
@type xy
-200 0
-196 0
-192 0
-188 0
-184 0
-180 0
-176 0.002173913
-172 0.0032608696
-168 0.0054347826
-164 0.0043478261
-160 0.0054347826
-156 0.002173913
-152 0.0010869565
-148 0.0054347826
-144 0.002173913
-140 0.002173913
-136 0.0010869565
-132 0.0010869565
-128 0.0054347826
-124 0
-120 0.002173913
-116 0.0010869565
-112 0.0032608696
-108 0.002173913
-104 0.0010869565
-100 0.002173913
-96 0.0032608696
-92 0.002173913
-88 0.002173913
-84 0.0010869565
-80 0
-76 0.0032608696
-72 0.0054347826
-68 0.002173913
-64 0.0032608696
-60 0.0032608696
-56 0.0032608696
-52 0.0054347826
-48 0.0097826087
-44 0.002173913
-40 0.0032608696
-36 0.0043478261
-32 0.0010869565
-28 0.0054347826
-24 0.002173913
-20 0.0010869565
-16 0.0065217391
-12 0.002173913
-8 0.0032608696
-4 0.0054347826
0 0.0054347826
4 0.0010869565
8 0.0032608696
12 0.0010869565
16 0.002173913
20 0.0010869565
24 0.0043478261
28 0.0032608696
32 0.0032608696
36 0.002173913
40 0.0054347826
44 0.002173913
48 0.002173913
52 0.0032608696
56 0.0032608696
60 0.0010869565
64 0.002173913
68 0.0032608696
72 0.002173913
76 0
80 0.0032608696
84 0.0043478261
88 0.0032608696
92 0.0032608696
96 0.002173913
100 0.0032608696
104 0.002173913
108 0.0043478261
112 0.0010869565
116 0.002173913
120 0.002173913
124 0.0010869565
128 0
132 0
136 0.0010869565
140 0.0032608696
144 0.0032608696
148 0.0010869565
152 0.002173913
156 0.0032608696
160 0.0054347826
164 0.0043478261
168 0.0010869565
172 0.0032608696
176 0.0010869565
180 0.0010869565
184 0
188 0
192 0
196 0
200 0
&
@target G2.S0
@type xy
0.2 0
0.4 -161.82053
0.6 28.17799
0.8 -173.45875
1 -122.67762
1.2 -113.06914
1.4 -112.46269
1.6 157.13748
1.8 154.81905
2 -174.30942
2.2 -179.77278
2.4 88.16501
2.6 30.67838
2.8 132.0088
3 -111.46227
3.2 -13.83454
3.4 84.01479
3.6 134.5004
3.8 128.17256
4 20.83307
4.2 30.01603
4.4 57.49622
4.6 114.02316
4.8 -166.1781
5 -137.57671
5.2 131.23399
5.4 -64.76044
5.6 9.26428
5.8 28.81619
6 97.23362
6.2 60.63866
6.4 132.54091
6.6 -77.6327
6.8 -63.20632
7 -32.47617
7.2 22.66391
7.4 -172.5887
7.6 -170.55586
7.8 161.06038
8 67.32498
8.2 60.1
8.4 -71.12736
8.6 160.37355
8.8 111.42183
9 114.41666
9.2 -19.55929
9.4 177.68573
9.6 91.26903
9.8 25.74846
10 -61.10346
10.2 152.17616
10.4 50.96676
10.6 -67.13396
10.8 -100.07272
11 112.4707
11.2 38.6807
11.4 -91.4004
11.6 94.63109
11.8 -4.74672
12 -172.58742
12.2 105.38715
12.4 -160.63271
12.6 -85.84159
12.8 -133.38709
13 -143.82068
13.2 -101.79534
13.4 -100.80141
13.6 -147.95912
13.8 127.78329
14 27.92364
14.2 11.36645
14.4 -83.89332
14.6 -99.63409
14.8 161.81821
15 -6.12252
15.2 -136.20352
15.4 154.92487
15.6 -142.55231
15.8 -67.30396
16 56.53143
16.2 138.22597
16.4 -29.50746
16.6 88.79388
16.8 98.67867
17 -56.44875
17.2 -145.05464
17.4 -20.85057
17.6 -95.54698
17.8 -67.05883
18 -145.85577
18.2 -109.53828
18.4 -149.89148
18.6 169.47659
18.8 151.62297
19 177.45895
19.2 -75.85874
19.4 -54.30778
19.6 -41.77362
19.8 19.21851
20 43.81224
20.2 73.43197
20.4 40.70335
20.6 5.20737
20.8 118.10353
21 110.22008
21.2 17.35381
21.4 106.30393
21.6 -95.52392
21.8 23.12499
22 -3.95052
22.2 -126.41965
22.4 -2.71398
22.6 -75.89912
22.8 24.78324
23 -35.79208
23.2 28.42941
23.4 -16.40945
23.6 -79.06016
23.8 41.98054
24 48.86515
24.2 127.00213
24.4 89.66378
24.6 -88.81902
24.8 -88.46411
25 -42.9424
25.2 32.54842
25.4 -60.96664
25.6 -29.51065
25.8 15.29402
26 69.16723
26.2 155.48225
26.4 -0.41243
26.6 -130.86133
26.8 175.02989
27 -167.95438
27.2 127.68604
27.4 170.43404
27.6 52.33615
27.8 63.76728
28 -51.09532
28.2 138.22714
28.4 71.26246
28.6 -82.96051
28.8 -170.38943
29 93.82733
29.2 -58.67445
29.4 -57.67389
29.6 -58.87841
29.8 -96.65064
30 -145.30927
30.2 110.10266
30.4 61.35147
30.6 113.31866
30.8 71.45824
31 -3.80476
31.2 -22.65516
31.4 -51.54435
31.6 -65.20237
31.8 -60.998
32 44.12432
32.2 -81.3269
32.4 104.27786
32.6 -18.64448
32.8 -172.55396
33 98.40453
33.2 89.10403
33.4 14.96307
33.6 153.01712
33.8 -65.37227
34 3.3845
34.2 97.17178
34.4 142.35446
34.6 95.04994
34.8 42.80038
35 6.56721
35.2 34.70452
35.4 -70.23562
35.6 -128.13538
35.8 143.06744
36 175.42574
36.2 -164.2039
36.4 -86.30988
36.6 8.25758
36.8 -7.20492
37 -8.2079
37.2 -41.35765
37.4 37.45653
37.6 15.97442
37.8 28.1035
38 -8.22813
38.2 -33.57625
38.4 -55.86136
38.6 -24.02115
38.8 -23.46506
39 131.71027
39.2 179.30499
39.4 172.0132
39.6 -15.67165
39.8 -85.68282
40 146.12172
40.2 -113.86192
40.4 -127.87345
40.6 -91.15718
40.8 -22.13043
41 175.47748
41.2 -142.07817
41.4 106.79443
41.6 117.58671
41.8 -141.84743
42 -141.08211
42.2 179.61133
42.4 155.96678
42.6 107.54967
42.8 139.513
43 -134.64551
43.2 -145.03387
43.4 92.82244
43.6 77.31965
43.8 -157.89638
44 -108.46748
44.2 -148.42796
44.4 110.93029
44.6 -34.00439
44.8 -146.59319
45 88.5034
45.2 -4.62955
45.4 -104.37569
45.6 -161.90183
45.8 148.74721
46 88.17984
&
@target G3.S0
@type xy
-200 0
-196 0
-192 0
-188 0
-184 0
-180 0
-176 0.0010869565
-172 0.0054347826
-168 0.002173913
-164 0.0032608696
-160 0.0032608696
-156 0.0010869565
-152 0
-148 0.002173913
-144 0.0065217391
-140 0.0054347826
-136 0.002173913
-132 0.002173913
-128 0.002173913
-124 0.002173913
-120 0.0010869565
-116 0
-112 0.0032608696
-108 0.0032608696
-104 0.0010869565
-100 0.0032608696
-96 0.002173913
-92 0.002173913
-88 0.0043478261
-84 0.0032608696
-80 0.0032608696
-76 0.002173913
-72 0.002173913
-68 0.002173913
-64 0.0065217391
-60 0.0043478261
-56 0.0043478261
-52 0.002173913
-48 0.002173913
-44 0
-40 0.0032608696
-36 0
-32 0.0043478261
-28 0.002173913
-24 0.0010869565
-20 0.0043478261
-16 0.0032608696
-12 0.002173913
-8 0.002173913
-4 0.0043478261
0 0.0054347826
4 0.0010869565
8 0.002173913
12 0.0032608696
16 0.0032608696
20 0.002173913
24 0.0032608696
28 0.0032608696
32 0.0065217391
36 0.002173913
40 0.002173913
44 0.0043478261
48 0.0010869565
52 0.002173913
56 0.0010869565
60 0.002173913
64 0.0043478261
68 0.0010869565
72 0.0032608696
76 0.0010869565
80 0.0010869565
84 0
88 0.0010869565
92 0.0076086957
96 0.0043478261
100 0.0043478261
104 0
108 0.0054347826
112 0.0043478261
116 0.0043478261
120 0.002173913
124 0
128 0.0032608696
132 0.0032608696
136 0.0032608696
140 0.0032608696
144 0.002173913
148 0.0010869565
152 0.002173913
156 0.0065217391
160 0.0010869565
164 0.0032608696
168 0
172 0.002173913
176 0.0043478261
180 0.0043478261
184 0
188 0
192 0
196 0
200 0
&
set outDir output1
set outName simpleDihedr
#exec mkdir $outDir
set noRunSteps 4000
set outputFreq 20
set n_part 4; set density 0.001
set box_l [expr pow($n_part/$density, 1./3.)]
puts $box_l
setmd box_l $box_l $box_l $box_l
setmd periodic 1 1 1
# defining particles for deoxycholate
set type0 0
set type1 1
set type2 2
puts "making particles"
  part 0 pos 0 0 0 type 0
  part 1 pos 1 0 0 type 0
  part 2 pos 1 1 0 type 0
  part 3 pos 0 1 0 type 0

setmd time_step 0.01; setmd skin 0.4
set temp 1; set gamma 1
thermostat langevin $temp $gamma
# defining particle volumes
set lj_eps 1.0
set lj_cutoff 1.12
set ljshift 0.25
set ljoffset 0.0
set lj_sigma 1.0
set lj_sigmah 0.95

#inter 0 0 lennard-jones $lj_eps $lj_sigmah [expr 1.1225*$lj_sigmah] [expr 
0.25*$lj_eps] $ljoffset 


# defining bonds for deoxycholate
inter 1 fene 30 1.5 ;# these parameters don't allow for bond crossing while 
simultaneously allowing for a relatively long time step (see Kremer1989) 
part 0 bond 1 1
part 1 bond 1 2
part 2 bond 1 3
#defining dihedrals; dihedrals don't seem to work!!!!

inter 2 dihedral 1 300. 0.
part 1 bond 2 0 2 3

inter 3 angle 30 [expr [PI]/2.]
part 1 bond 3 0 2
part 2 bond 3 1 3

if { [regexp "ROTATION" [code_info]] } {
  set deg_free 6
} else { set deg_free 3 }

#equilibration loop
writepsf $outName.psf
writepdb $outName.pdb
set integ_steps 20
puts "equilibrating system: forces are capped"
for {set cap 20} {$cap < 600} {incr cap 20} {
  puts "t=[setmd time] E=[analyze energy total]"
  inter ljforcecap $cap; integrate $integ_steps
  writepdb $outName.pdb -append
}
inter ljforcecap 0

# integration loop
puts "integration loop"
set noCycles [expr $noRunSteps/$outputFreq] 
for {set i 0} { $i < $noCycles } { incr i} {
  set temp [expr [analyze energy kinetic]/($deg_free/2.0)*$n_part]
  puts "t=[setmd time] E=[analyze energy total], T=$temp"
  integrate $outputFreq
  writepdb $outName.pdb -append
  set f [open "./$outDir/config_$i" "w"]
  blockfile $f write tclvariable {box_l density}
  blockfile $f write variable box_l
  blockfile $f write particles {id pos type}
  close $f
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]