Wei-Tse Hsu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Preparation of the input files ###### tags: `MetaD-EXE-TestSys` `TestSystem1` To prepare the simulation input files of Test system 1 for all tests, follow the following steps: - Initial configuration:`sys1_init.gro` - The content of the file ``` An argon in a water box 1 1Ar Ar 1 0.500 0.500 0.500 ``` - The coordinates were decided arbitrarily. - Construction of the box: `sys1_box.gro` - Command `gmx editconf -f sys1.gro -o test.gro -bt cubic -d 1 -c` - The content of the file ``` An argon in a water box 1 1Ar Ar 1 1.000 1.000 1.000 2.00000 2.00000 2.00000 ``` - Topology preparation: `sys1.top` - Adopted forcefield: GROMOS54a7 - Adopted water model: SPC model - Changed the name of the `[ moleculetype ]` of the argon from `Other` to `Ar`. (Also change the name shown in `[ system ]` accordingly.) - Command: `gmx pdb2gmx -f sys1_box.gro -o sys1_top.gro -p sys1.top` - Note that the output `.gro` file, `sys1_top.gro` is actually exactly the same as `sys1_box.gro`. - Content of `sys1.top`: ```=1 ; ; File 'sys1.top' was generated ; By user: wei-tse (1000) ; On host: castlepeak ; At date: Mon Mar 9 12:47:08 2020 ; ; This is a standalone topology file ; ; Created by: ; :-) GROMACS - gmx pdb2gmx, 2018.1 (-: ; ; Executable: /usr/bin/gmx ; Data prefix: /usr ; Working dir: /home/wei-tse/Documents/MetaD_EXE/test_systems/sys1 ; Command line: ; gmx pdb2gmx -f sys1_box.gro -o sys1_top.gro -p sys1.top ; Force field was read from the standard GROMACS share directory. ; ; Include forcefield parameters #include "gromos54a7.ff/forcefield.itp" [ moleculetype ] ; Name nrexcl Ar 3 [ atoms ] ; nr type resnr residue atom cgnr charge mass typeB chargeB massB ; residue 1 Ar rtp AR q 0.0 1 AR 1 Ar Ar 1 0 39.948 ; qtot 0 ; Include Position restraint file #ifdef POSRES #include "posre.itp" #endif ; Include water topology #include "gromos54a7.ff/spc.itp" #ifdef POSRES_WATER ; Position restraint for each water oxygen [ position_restraints ] ; i funct fcx fcy fcz 1 1 1000 1000 1000 #endif ; Include topology for ions #include "gromos54a7.ff/ions.itp" [ system ] ; Name An argon in a water box [ molecules ] ; Compound #mols Ar 1 ``` - Solvation of the system: `sys1_sol.gro` - Command: `gmx solvate -cp sys1_top.gro -p sys1.top -o sys1_sol.gro -cs` - Used VMD to check the structure. - Energy minimization - Commands - `gmx grompp -f em.mdp -c ../sys1_sol.gro -p ../sys1.top -o sys1_em.tpr` - `gmx mdrun -s sys1_em.tpr -o sys1_em.trr -c sys1_em.gro -g em.log -e em.edr` - STDOUT of `mdrun`: ``` Steepest Descents converged to Fmax < 100 in 43 steps Potential Energy = -9.7695146e+03 Maximum force = 9.9665489e+01 on atom 375 Norm of force = 2.9507223e+01 ``` - Content of `em.mdp` ``` ; em.mdp - used as input into grompp to generate em.tpr ; All unspecified parameters adopt their own default values. ; Run Control integrator = steep ; Algorithm (steep = steepest descent minimization) nsteps = 500000 ; (0) maximum number of steps to integrate or minimize ; Energy minnimization emtol = 100.0 ; (10.0) Stop minimization when the maximum force < 100.0 kJ/mol/nm emstep = 0.01 ; (0.01) [nm] Minimization step size ; Neighbor searching/Electrostatics/Van der Waals cutoff-scheme = Verlet ; Buffered neighbor searching nstlist = 10 ; (10) Frequency to update the neighbor list and long range forces ns_type = grid ; Method to determine neighbor list (simple, grid) pbc = xyz ; Periodic Boundary Conditions in all 3 dimensions coulombtype = PME ; Treatment of long range electrostatic interactions rcoulomb = 0.9 ; Short-range electrostatic cut-off rvdw = 0.9 ; Short-range Van der Waals cut-off rlist = 0.9 ``` - Note that the cut-off length (`rlist`) should be smaller than half of the shortest box vector. Instead of increase the box size, we changed `rlist` from the default (1.0 nm) to 0.9 nm. - NVT Equilibration - Temperature: 298 K - Commands - `gmx grompp -f nvt_equil.mdp -c ../../EM/sys1_em.gro -p ../../sys1.top -o sys1_equil.tpr` - `gmx mdrun -s sys1_equil.tpr -o sys1_equil.trr -c sys1_equil.gro -g equil.log -e equil.edr` - It took about 41 seconds to finish this 200 ps of equilibration. - Content of `nvt_equil.mdp` ``` ; Run control integrator = md tinit = 0 dt = 0.002 nsteps = 100000 ; 200 ps comm-mode = Linear nstcomm = 1 ; Output control nstlog = 1000 nstcalcenergy = 1 nstenergy = 1000 nstxout-compressed = 1000 ; Neighborsearching and short-range nonbonded interactions nstlist = 10 ns_type = grid pbc = xyz rlist = 1.0 ; Electrostatics cutoff-scheme = verlet coulombtype = PME coulomb-modifier = Potential-shift-Verlet rcoulomb-switch = 0.89 rcoulomb = 0.9 ; van der Waals vdw-type = Cut-off vdw-modifier = Potential-switch rvdw-switch = 0.85 rvdw = 0.9 ; Apply long-range dispersion corrections for Energy and Pressure DispCorr = AllEnerPres ; Spacing for the PME/PPPM FFT grid fourierspacing = 0.10 ; EWALD/PME/PPPM parameters fourier_nx = 0 fourier_ny = 0 fourier_nz = 0 pme_order = 4 ewald_rtol = 1e-05 ewald_geometry = 3d epsilon_surface = 0 ; Temperature coupling tcoupl = v-rescale nsttcouple = 1 tc_grps = System tau_t = 0.5 ref_t = 298 ; Pressure coupling is on for NPT pcoupl = no ; no pressure for NVT equilibration gen_vel = yes gen-temp = 298 gen-seed = 6722267; need to randomize the seed each time. ; options for bonds constraints = h-bonds ; we only have C-H bonds here ; Type of constraint algorithm constraint-algorithm = lincs ; Highest order in the expansion of the constraint coupling matrix lincs-order = 12 lincs-iter = 2 ``` - NPT equilibration - Temperature: 298 K - Commands - `gmx grompp -f npt_equil.mdp -c ../NVT/sys1_equil.gro -t ../NVT/state.cpt -p ../../sys1.top -o sys1_equil.tpr` - `gmx mdrun -s sys1_equil.tpr -o sys1_equil.trr -c sys1_equil.gro -g equil.log -e equil.edr` - Berendsen coupling was used. - It took about 48 seconds to finish this 200 ps of equilibration. - A short MD simulation in an NPT ensemble - Temperature: 298 K - Commands - `gmx grompp -f md.mdp -c ../Equil/NPT/sys1_equil.gro -p ../sys1.top -o sys1_md.tpr -t ../Equil/NPT/state.cpt` - `gmx mdrun -s sys1_md.tpr -o sys1_md.trr -c sys1_md.gro -g md.log -e md.edr` - Parrinello-Rahman coupling was used. - It took about 15 minutes 18 seconds to finish this 5 ns of production run. (So about 3 minutes per ns.) - Extraction the configuration suitable for advanced sampling in an NVT ensemble - Commands - `gmx energy -f md.edr -s sys1_md.tpr -o volume.xvg` (Choose `15`: volume.) - `python gmx_plot2d.py -f MD/volume.xvg -x "Time (ps)" -y "Volume ($ nm^{3} $)" -t "Volume as a function of time" -n sys1_volume` - `gmx trjconv -s sys1_md.tpr -f traj_comp.xtc -o sys1.gro -dump 3236` (Choose `0`: system) - Volume as a function of time <center><img src=https://i.imgur.com/WgK4YzM.png width=500></center> - As a result, the average volume over the whole simulation is about 6.785776 $nm^{3}$. The time frame at which the volume is closest to this value is 3.236 ns (volume: 6.785793 $nm^{3}$), so we dumped the configuration at this time frame from the MD trajectory to make it the input to advanced sampling simulations in an NVT ensemble.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully