Impact of Nanoscopic Impurity Aggregates on Cavitation in Water - Software and Simulation inputs

Fuente: Zenodo
Guardado en:
Detalles Bibliográficos
Autores principales: Šako, Marin, Netz, Roland, Kanduc, Matej
Formato: Recurso digital
Publicado: Zenodo 2024
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866902168884215808
author Šako, Marin
Netz, Roland
Kanduc, Matej
author_facet Šako, Marin
Netz, Roland
Kanduc, Matej
contents <p>This repository contains Gromacs input files and a Python script to perform pressure ramp molecular dynamics simulation of a decane droplet.</p> <p><strong>Requirements</strong><br>- Gromacs must be installed and loaded/sourced into the shell, or shell script.<br>  Any fairly up-to-date version of Gromacs should work. We used Gromacs 2022.1.<br>- Python 3.11, or newer, is recommended.<br>  It will probably work with slightly older Python versions (e.g., 3.10), but this has not been tested.<br>  Most likely will not work with very old Python versions.<br>- Required Python packages are listed in requirements.txt</p> <p><br><strong>Running the pressure ramp MD simulations</strong><br>The simulations are performed using the 'variable_pressure_sim.py' script. The script expects a template folder with necessary files for running the simulations <br>(such as Gromacs input configuration, force field files, water model, etc.), copies all the files from the template folder into a new folder named 'run_#' <br>(for example run_12, if folders run_1 to run_10 exist). The script will then perform a series of sequential molecular dynamics simulations until a cavitation event occurs, <br>after which the script analyses the output trajectories to pinpoint the cavitation event and determine the cavitation pressure at which the event occurred. </p> <p>Example of how to start the pressure ramp simulation:<br>**python variable_pressure_sim.py -wd decane_water/10nm -config decane_water/10nm/conf_-1.ini -mdrun_args "-nt 8 -ntmpi 1 -ntomp 8"**</p> <p><strong>Arguments</strong><br>- -wd/--workdir [str]: Path to the directory where the simulation will run.<br>   The path must contain a subdir named 'templates' which contains the force field, water model, input configuration, etc.<br>   See folder structure under 'gromacs_input_files' for an example of the 'templates' folder.<br>- -mdrun_args/--mdrun_arguments [str]: Any additional arguments that you want to forward to 'gmx mdrun' command, such as number of threads/cores, mpi configurations, gpu id, etc.<br>- -config/--config [str]: Path to the config file that contains input parameters for the pressure ramp.<br>   See 'conf_-1.ini' for an example of how this file should look like.<br>- -r/--restraint [str]: Must be 'None', 'Fixed' or 'Moving', any other value will raise an error. Whether to use positional restraints or not: <br>   * 'None' == Do not use positional restraints<br>   * 'Fixed' == Use positional restraints with positional restraints reference points that are fixed to the initial points before pressure ramp simulation started.<br>   * 'Moving' == Use positional restraints with positional restraints reference points that are changed after each short simulation and are set to input of the current short simulation.<br>- -an/--analysis [None]: A flag/switch to concatenate trajectory fragments into one trajectory and analyse it to pinpoint cavitation event and determine the cavitation pressure at which it occurred. This part of the code is normally automatically executed after all the simulations are done.<br>- -log/--log [None]: A flag/switch to redirect stdout and stderr into a log file. The log file will be named 'VARIABLE_PRESSURE_SIM_{current_datetime}.log'<br>- -cr/--continue_run [int]: **[Deprecated functionality, not guaranteed to work]** Must be 0 or 1. Used to continue the pressure ramp from the last simulation fragment, instead of from initial starting point, in the case that the simulation was prematurely interrupted.</p> <p><br><strong>Config file</strong></p> <p>The config file is required and used to control how the pressure ramping behaves.<br>- P_RATE: Pressure rate in units of bar / ns<br>- DELTA_P: Amount by which the pressure is changed (in units of bar) in between each sequential short MD simulation.<br>- P_MAX: Maximum pressure (in units of bar) that a simulation is allowed to reach. If the cavitation event still has not occurred by that point the simulation will be terminated.<br>  Used to implement the pressure steps. The exact value is not critical, as long as it is set much higher than the expected cavitation pressure.<br>- P_START: The pressure (in units of bar) at which the pressure ramp simulations starts.<br>  Starting from p = 0 is typically a waste of computational resources, as nothing interesting happens before the pressure reaches values close to the cavitation pressure.<br>  Recommended to set this parameter 50 to 100 bar less than the expected cavitation pressure.<br>- dt: MD time step in units of ns. Typical value is 2 fs, i.e. dt = 2 * 10**(-6)</p> <p><br><strong>Gromacs input files</strong></p> <p>Input files: initial configurations for decane droplet in water, gromacs md input parameters, force field and water model are located under 'gromacs_input_files'.<br>Folder names 5nm, 7nm, 10nm and 12nm refer to the diameter of the decane droplet.</p>
format Recurso digital
id zenodo_https___doi_org_10_5281_zenodo_14678800
institution Zenodo
language
publishDate 2024
publisher Zenodo
record_format zenodo
spellingShingle Impact of Nanoscopic Impurity Aggregates on Cavitation in Water - Software and Simulation inputs
Šako, Marin
Netz, Roland
Kanduc, Matej
<p>This repository contains Gromacs input files and a Python script to perform pressure ramp molecular dynamics simulation of a decane droplet.</p> <p><strong>Requirements</strong><br>- Gromacs must be installed and loaded/sourced into the shell, or shell script.<br>  Any fairly up-to-date version of Gromacs should work. We used Gromacs 2022.1.<br>- Python 3.11, or newer, is recommended.<br>  It will probably work with slightly older Python versions (e.g., 3.10), but this has not been tested.<br>  Most likely will not work with very old Python versions.<br>- Required Python packages are listed in requirements.txt</p> <p><br><strong>Running the pressure ramp MD simulations</strong><br>The simulations are performed using the 'variable_pressure_sim.py' script. The script expects a template folder with necessary files for running the simulations <br>(such as Gromacs input configuration, force field files, water model, etc.), copies all the files from the template folder into a new folder named 'run_#' <br>(for example run_12, if folders run_1 to run_10 exist). The script will then perform a series of sequential molecular dynamics simulations until a cavitation event occurs, <br>after which the script analyses the output trajectories to pinpoint the cavitation event and determine the cavitation pressure at which the event occurred. </p> <p>Example of how to start the pressure ramp simulation:<br>**python variable_pressure_sim.py -wd decane_water/10nm -config decane_water/10nm/conf_-1.ini -mdrun_args "-nt 8 -ntmpi 1 -ntomp 8"**</p> <p><strong>Arguments</strong><br>- -wd/--workdir [str]: Path to the directory where the simulation will run.<br>   The path must contain a subdir named 'templates' which contains the force field, water model, input configuration, etc.<br>   See folder structure under 'gromacs_input_files' for an example of the 'templates' folder.<br>- -mdrun_args/--mdrun_arguments [str]: Any additional arguments that you want to forward to 'gmx mdrun' command, such as number of threads/cores, mpi configurations, gpu id, etc.<br>- -config/--config [str]: Path to the config file that contains input parameters for the pressure ramp.<br>   See 'conf_-1.ini' for an example of how this file should look like.<br>- -r/--restraint [str]: Must be 'None', 'Fixed' or 'Moving', any other value will raise an error. Whether to use positional restraints or not: <br>   * 'None' == Do not use positional restraints<br>   * 'Fixed' == Use positional restraints with positional restraints reference points that are fixed to the initial points before pressure ramp simulation started.<br>   * 'Moving' == Use positional restraints with positional restraints reference points that are changed after each short simulation and are set to input of the current short simulation.<br>- -an/--analysis [None]: A flag/switch to concatenate trajectory fragments into one trajectory and analyse it to pinpoint cavitation event and determine the cavitation pressure at which it occurred. This part of the code is normally automatically executed after all the simulations are done.<br>- -log/--log [None]: A flag/switch to redirect stdout and stderr into a log file. The log file will be named 'VARIABLE_PRESSURE_SIM_{current_datetime}.log'<br>- -cr/--continue_run [int]: **[Deprecated functionality, not guaranteed to work]** Must be 0 or 1. Used to continue the pressure ramp from the last simulation fragment, instead of from initial starting point, in the case that the simulation was prematurely interrupted.</p> <p><br><strong>Config file</strong></p> <p>The config file is required and used to control how the pressure ramping behaves.<br>- P_RATE: Pressure rate in units of bar / ns<br>- DELTA_P: Amount by which the pressure is changed (in units of bar) in between each sequential short MD simulation.<br>- P_MAX: Maximum pressure (in units of bar) that a simulation is allowed to reach. If the cavitation event still has not occurred by that point the simulation will be terminated.<br>  Used to implement the pressure steps. The exact value is not critical, as long as it is set much higher than the expected cavitation pressure.<br>- P_START: The pressure (in units of bar) at which the pressure ramp simulations starts.<br>  Starting from p = 0 is typically a waste of computational resources, as nothing interesting happens before the pressure reaches values close to the cavitation pressure.<br>  Recommended to set this parameter 50 to 100 bar less than the expected cavitation pressure.<br>- dt: MD time step in units of ns. Typical value is 2 fs, i.e. dt = 2 * 10**(-6)</p> <p><br><strong>Gromacs input files</strong></p> <p>Input files: initial configurations for decane droplet in water, gromacs md input parameters, force field and water model are located under 'gromacs_input_files'.<br>Folder names 5nm, 7nm, 10nm and 12nm refer to the diameter of the decane droplet.</p>
title Impact of Nanoscopic Impurity Aggregates on Cavitation in Water - Software and Simulation inputs
url https://doi.org/10.5281/zenodo.14678800