Author Topic: 1_2_ethanediol TraPPE modell  (Read 97 times)

Christopher

  • Newbie
  • *
  • Posts: 7
    • View Profile
1_2_ethanediol TraPPE modell
« on: July 05, 2020, 02:38:04 PM »
Dear Dr Dubbeldam,

I tried to do a GibbsEnsemble simulation of ethanediol with the TraPPE modell. First I had some problems reading in the IntraCoulomb interactions. In the Outputfile Raspa set a scaling value of e-314 for some of them. After setting some extra IntraVDW interactions that I just scaled to zero it now seems that raspa is reading them in properly. But the Simulation gets somehow stuck. There is no exchange between the boxes and also the gibbsvolumechangemove is not working anymore (is not accepted).  Here is my molecule.def file:

# critical constants: Temperature [T], Pressure [Pa], and Acentric factor [-]
0.0
0.0
0.0
# Number Of Atoms
6
# Number Of Groups
1
# Alkane-group
flexible
# number of atoms
6
# atomic positions
0 H_alc
1 O_alc
2 CH2_alc
3 CH2_alc
4 O_alc
5 H_alc
# Chiral centers Bond  BondDipoles Bend  UrayBradley InvBend  Torsion Imp. Torsion Bond/Bond Stretch/Bend Bend/Bend Stretch/Torsion Bend/Torsion IntraVDW IntraCoulomb
               0    7            0    4            0       0        3            0         0            0         0               0            0        6           6
# Bond stretch: atom n1-n2, type, parameters
0 1 FIXED_BOND 0.945
1 2 FIXED_BOND 1.43
2 3 FIXED_BOND 1.54
3 4 FIXED_BOND 1.43
4 5 FIXED_BOND 0.945
0 4 LJ_12_6_BOND 75000000 0
1 5 LJ_12_6_BOND 75000000 0
# Bond bending: atom n1-n2-n3, type, parameters
0 1 2 HARMONIC_BEND 55400 108.5
1 2 3 HARMONIC_BEND 50400 109.47
2 3 4 HARMONIC_BEND 50400 109.47
3 4 5 HARMONIC_BEND 55400 108.5
# Torsion n1-n2-n3-n4 type
0 1 2 3 TRAPPE_DIHEDRAL    0.0   209.82   -29.17    187.93
1 2 3 4 TRAPPE_DIHEDRAL  503.24    0.0   -251.62   1006.47
2 3 4 5 TRAPPE_DIHEDRAL    0.0   209.82   -29.17    187.93
# intra vdw
0 3
0 3
0 3
0 3
0 3
0 3
# intra C
0 3
0 4
0 5
1 4
1 5
2 5
# Number of config moves
0

I did exactly the same simulation for 1-5 pentanediol and everything is working fine (Same simulation.input, pseudo_atoms and forcefield files). This one does not have the LJ_12_6_BOND repulsive term. Can you point out anything that I missed?

Thanks in advance!
Best
Christopher
« Last Edit: July 05, 2020, 02:40:38 PM by Christopher »

Christopher

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1_2_ethanediol TraPPE modell
« Reply #1 on: July 06, 2020, 01:39:46 PM »
I forgot to mention, that I added

Intra14VDWScalingValue 0.0
Intra14ChargeChargeScalingValue 0.5

to the simulation.input file.

Best Christopher

David Dubbeldam

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: 1_2_ethanediol TraPPE modell
« Reply #2 on: July 14, 2020, 11:43:18 AM »
Are you using the latest version? (2.0.37).
I see no immediate issues with it.

        number of intra VDW interactions: 6
        --------------------------------------------
        interaction 0: A=0 B=3  scaling factor: 0
        interaction 1: A=0 B=3  scaling factor: 0
        interaction 2: A=0 B=3  scaling factor: 0
        interaction 3: A=0 B=3  scaling factor: 0
        interaction 4: A=0 B=3  scaling factor: 0
        interaction 5: A=0 B=3  scaling factor: 0

        number of intra charge-charge Coulomb interactions: 6
        -----------------------------------------------------------
        interaction 0: A=0 B=3  scaling factor: 0.5
        interaction 1: A=0 B=4  scaling factor: 1
        interaction 2: A=0 B=5  scaling factor: 1
        interaction 3: A=1 B=4  scaling factor: 0.5
        interaction 4: A=1 B=5  scaling factor: 1
        interaction 5: A=2 B=5  scaling factor: 0.5

Are you getting this?

Christopher

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1_2_ethanediol TraPPE modell
« Reply #3 on: July 16, 2020, 04:49:28 PM »
Dear Dr. Dubbeldam:
thanks for taking the time to help me!
I'm getting the same output. And also the forcefield in the output file looks fine. The version in the outputfile is
RASPA 2.0.38
Compiled as a 64-bits application
Compiler: gcc 7.4.1 20190905 [gcc-7-branch revision 275407]
Compile Date = Jul  1 2020, Compile Time = 13:22:41

I use this version of force_field_mixing_rules.def:
# general rule for shifted vs truncated
truncated
# general rule tailcorrections
yes
# number of defined interactions
13
# type interaction
He             LENNARD_JONES    10.9     2.64
CH4_sp3        LENNARD_JONES   148.0     3.73
CH3_sp3        LENNARD_JONES    98.0     3.75
CH2_sp3        LENNARD_JONES    46.0     3.95
CH_sp3         LENNARD_JONES    10.0     4.68
C_sp3          LENNARD_JONES     0.5     6.4
O_co2          LENNARD_JONES    79.0     3.05
C_co2          LENNARD_JONES    27.0     2.80
N_n2           LENNARD_JONES    36.0     3.31
O_alc          LENNARD_JONES    93.0     3.02
H_alc          LENNARD_JONES     0.0     0.0
CH2_alc        LENNARD_JONES    46.0     3.95
dummy          LENNARD_JONES     0.0     0.0
# general mixing rule for Lennard-Jones
Lorentz-Berthelot


And pseudo_atoms.def
#number of pseudo atoms
13
#type      print   as    chem  oxidation   mass        charge   polarization B-factor radii  connectivity anisotropic anisotropic-type   tinker-type
CH4_sp3    yes     C     C     0           16.04246    0.0      0.0          1.0      1.00   0            0           absolute           0
CH3_sp3    yes     C     C     0           15.03452    0.0      0.0          1.0      1.00   0            0           absolute           0
CH2_sp3    yes     C     C     0           14.02658    0.0      0.0          1.0      1.00   0            0           absolute           0
CH_sp3     yes     C     C     0           13.01864    0.0      0.0          1.0      1.00   0            0           absolute           0
C_sp3      yes     C     C     0           12.0        0.0      0.0          1.0      1.00   0            0           absolute           0
O_alc      yes     O     O     0           15.9994    -0.7      0.0          1.0      1.00   0            0           relative           0
H_alc      yes     H     H     0            1.00794    0.435    0.0          1.0      1.00   0            0           relative           0
CH2_alc    yes     C     C     0           14.02658    0.265    0.0          1.0      1.00   0            0           relative           0
C_co2      yes     C     C     0           12.0107     0.7      1.508        1.0      0.720  0            0           relative           0
O_co2      yes     O     O     0           15.9994    -0.35     0.9475       1.0      0.68   0            0           relative           0
N_n2       yes     N     N     0           14.00674   -0.482    0.0          1.0      0.7    0            0           relative           0
N_com      no      N     N     0           0.0         0.964    0.0          1.0      0.7    0            0           relative           0
dummy      no      N     N     0           0.0         0.0      0.0          1.0      1.00   0            0           relative           0

Have you ever tried TraPPE models of diols? I still can't figure out any reason, why it is not working.
If you have any hint, I would really appreciate!

Best
Christopher

Christopher

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1_2_ethanediol TraPPE modell
« Reply #4 on: July 16, 2020, 04:51:46 PM »
Maybe simulation.input would be interessting:

SimulationType                    MonteCarlo
NumberOfCycles                    50000
NumberOfInitializationCycles      50000
PrintEvery                        10
RestartFile                       no

CutOff                            14.0
CutOffVDW                         14.0
CutOffCoulomb                     14.0
EwaldPrecision                    1e-12
Forcefield                        local
WriteBinaryRestartFileEvery       1000
ContinueAfterCrash                no

Box 0
BoxLengths 40 40 40
BoxAngles 90 90 90
ExternalTemperature 600
ComputeMolecularPressure yes

Box 1
BoxLengths 40 40 40
BoxAngles 90 90 90
ExternalTemperature 600
ComputeMolecularPressure yes

GibbsVolumeChangeProbability 0.1

Component 0 MoleculeName                      1_2_ethanediol
            StartingBead                      0
            MoleculeDefinition                local
            Intra14ChargeChargeScalingValue   0.5
            Intra14VDWScalingValue            0
            TranslationProbability            1.0
            RandomTranslationProbability      1.0
            RotationProbability               1.0
            GibbsSwapProbability              1.0
            ReinsertionProbability            1.0
            CBMCProbability                   1.0
            CreateNumberOfMolecules           100 100


I varied EwaldPrecision from 1e-6 to 1e-12 and also other starting conditions like box lenghts or the number of molecules in a box. But everytime the simulation get's stuck.

Best Christopher