MSI2LMP(1)
Hey bestie π welcome to MSI2LMP(1) from the General Commands Manual β this is the whole converter-for-Materials-Studio-files-to-LAMMPS situation, and yes, weβre gonna get through every single flag together. π«Ά
β¨ NAME β¨
MSI2LMP β converter for Materials Studio files to LAMMPS.
Thatβs the whole name vibe: it takes Materials Studio stuff and makes it LAMMPS-ready. π
π SYNOPSIS π
The call shape is literally this, bestie β donβt improvise the spelling:
msi2lmp [-help] <ROOTNAME> [-class <I|1|II|2|O|0>] [-frc <path to frc
file>] [-print #] [-ignore] [-nocenter] [-oldstyle] [-shift <x> <y> <z>]
π¦ DESCRIPTION π¦
Okay so MSI2LMP is a tool bundled with LAMMPS to aide in the conversion of simulation inputs from Bioviaβs Materials Studio software for use with LAMMPS. Itβs a standalone program that generates a LAMMPS data file based on the information in an MS .car file (atom coordinates), an .mdf file (molecular topology and atom types), and an .frc file (forcefield parameters).
The .car and .mdf files are specific to a molecular system, while the .frc file is specific to a forcefield (variant). The only coherency needed between the .frc and .car/.mdf files is the atom types. Thatβs the whole compatibility bridge, bestie. π
π OPTIONS π
-h,-helpβ Print a detailed help message to the screen and stop. Like a little βhelp me help youβ moment. π<ROOTNAME>β This has to be the first argument and it is mandatory. It defines the root of the file names; i.e. for a<ROOTNAME>ofbenzene, you have to provide the files'benzene.car'and'benzene.mdf'in the current working directory.msi2lmpwill then read and process those files according to its remaining settings. All other settings are optional and have defaults as listed. So yes: root name first, always. π-c <I,1,II,2,O,0>,-class <I,1,II,2,O,0>β The-cor-classoption selects the force field class, i.e which pair styles and bond styles and so on are required in the LAMMPS input file. Class I or class 1 uses a similar combination of functional forms as the Amber and Charmm force field and supports the force fieldscvffandclayff. Class II or class 2 corresponds to the more complex force fieldsCOMPASSandpcff. Class O or class 0 is finally an experimental and incomplete extension and supports generating output forOPLS-AA. So: not all classes are equally complete, and O/0 is explicitly labeled experimental. π§ͺ-f <ffname>,-frc <ffname>β The original page says βThe-cor-frcoptionβ right here (yes, really), and this is the option that lets you select the force field parameter file. Valid names for<ffname>with this distribution are:cvff,clayff,cvff_aug,pcff,compass_published,cff91, andoplsaa. If the argument is a pathname, i.e. it starts with a.or a/, then this absolute path is used to read the force field; otherwisemsi2lmpwill look in the folder pointed to by the environment variable$MSI2LMP_LIBRARY. If the variable is not set, then it will look in the current directory. The extension.frcis appended, if missing. Default is to look for thecvff.frcforce field file. Cute path drama, but itβs all specified. ποΈ-p <loglevel>,-print <loglevel>β Selects the amount of information messages about the progress of the conversion printed to the screen.<loglevel>can be a number from0(silent except for errors) to3(very detailed). So0= quiet queen,3= tell me everything. π£οΈ-i,-ignoreβ Ignore errors about missing parameters and use0.0for the respective force constants, making these no-ops. Itβs correct to be used for a few molecules and settings, but often an indication that either the atom type assignment has errors, or the force field file is missing entries. So use it sometimes, but side-eye it when itβs doing too much. π-n,-nocenterβ Do not center the box around the (geometrical) center of the atoms, but around the origin. Default is to recenter. So default = recenter; this flag = origin time. π―-o,-oldstyleβ Write out a data file without style hint comments to be compatible with old LAMMPS versions. Default is to write out those comments. Retro-compatible era, but only when you ask. π°οΈ-s <x> <y> <z>,-shift <x> <y> <z>β Shift the entire system (box and coordinates) by a vector (default:0.0 0.0 0.0). Move the whole vibe, box and all. π
πΈ EXAMPLES πΈ
Copy-paste these bad boys exactly:
msi2lmp benzene -c 2 -p 1 -f ../frc_files/pcff.frc
msi2lmp benzene-class1 -c I
msi2lmp decane -c 0 -f oplsaa
π COPYRIGHT π
Β© 2003--2022 Sandia Corporation
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Thatβs the whole page, bestie π β MSI2LMP(1), source/version v3.9.10, dated 2023-03-10, signing off with all the sparkle. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lammps 20240829.02-bp160.1.5 Β· GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: lammps 20240829.02-bp160.1.5 Β· GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: lammps 20240829.02-bp160.1.5 Β· GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: lammps 20240829.02-bp160.1.5 Β· GPL-2.0-only AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms