Code Monkey home page Code Monkey logo

Comments (7)

agiliopadua avatar agiliopadua commented on June 30, 2024

Normally the improper are found automatically based on the connectivity and added to the list of dihedrals.
From the standpoint of the simulation code, impropers are no different: in both cases it is a torsion angle between planes 1-2-3 and 2-3-4, only in "impropers" atom 3 is connected to all the others, not 1-2-3-4. In the input files for lammps everything should be in the list of dihedrals.
Does this make sense? I am not sure it this was your question.
For a specific case, in benzene you should end up with 30 dihedrals, 24 "proper" X-C-C-X and 6 improper C-(C-)C-H

from fftool.

KevinKoets avatar KevinKoets commented on June 30, 2024

Thank you for your response. In the case that both the dihedral and the improper are calculated with the opls potential, I can see why it wouldn't matter which list they are in.
We want to use a diffferent potential for dihedral style and improper style in LAMMPS. So we are using the basic set up provided by the tool and manually changing some things here and there. My question arose due to the examples of fftool and the LAMMPS documentation, where they seem to have a different list for the dihedrals and the impropers. This gave me the idea that the keyword might not be read, since the are added to the dihedral list and the README file doesn't specifiy that.

from fftool.

agiliopadua avatar agiliopadua commented on June 30, 2024

This is a good suggestion for an improvement, thanks. It should be easy to at least add an option to allow for a separate listing of the improper dihedrals. Maybe then also allow for specific potential energy functions. I’ll try to implement this but can't promise for the next few days.

from fftool.

ancalome16 avatar ancalome16 commented on June 30, 2024

Hello
I have been having the same error, since I am using the OPLS-AA force field, it is necessary to list the dihedrals and the improper ones separately. I would like to know if you were able to add this feature or any tips to fix them?

Thank you for your time.

from fftool.

agiliopadua avatar agiliopadua commented on June 30, 2024

@ancalome16 could you be more specific? Are these improper dihedrals used to keep chirality or to improve in-plane rigidity? I also use OPLS-AA and don't have problems for in-plane rigidities: the improper dihedrals are specified as I-j-k-l with k being the central atom.
LAMMPS does not have opls style for improper torsions, that's why fftool creates only one list.

from fftool.

ancalome16 avatar ancalome16 commented on June 30, 2024

@agiliopadua Thanks for your answer, what happens is that for the case of molecules that have dihedral angles and improper angles (Toluene) it is necessary to describe each of these separately. What I mean, in LAMMPS I use an OPLS potential with the dihedral and a harmonic potential with the improper ones:
dihedral_style opls
improper_style harmonic
So it is necessary to obtain separately the list of improper and dihedral in the data.lmp file.

from fftool.

agiliopadua avatar agiliopadua commented on June 30, 2024

Actually, OPLS-AA uses the V2 term (V2/2 [1 - cos 2\phi]) for improper torsions (same as lammps cvff), not harmonic.

from fftool.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.