Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the rotation of the methyl group #18

Closed
xiki-tempula opened this issue Nov 11, 2021 · 5 comments
Closed

About the rotation of the methyl group #18

xiki-tempula opened this issue Nov 11, 2021 · 5 comments

Comments

@xiki-tempula
Copy link
Contributor

xiki-tempula commented Nov 11, 2021

I'm testing a sample molecule.
image
It seems that the potential of rotating the methyl group (stick) is giving a large energy deviation.
scan_data_CC_H12C9O1_c08240069d2302aefe34ef147e3de1a7~1

I first suspect that it is a charge issue, but it seems that the charge of the three hydrogens in the methyl group are 0.135416, 0.109544, 0.107681 so this probably won't give such a large energy fluctuation.

I wonder if you mind having a check? Thank you.
Is it possible to have the topology file for the fragment as well? So I could see what is going wrong here.

Please find the example attached.
Archive.zip

The dihedral is scan_data_CC_H12C9O1_c08240069d2302aefe34ef147e3de1a7

@selimsami
Copy link
Owner

That does not look good. I'll have a look when I can.

Is it possible to have the topology file for the fragment as well? So I could see what is going wrong here.

I suggest adding:

[scan]
method = gromacs

Then the dihedral scan is done by GROMACS (much faster), and you will also get all the fragment topologies and optimized geometries. Then you can investigate your issue further to narrow down the cause.

@xiki-tempula
Copy link
Contributor Author

@selimsami Thanks for the advice, I wonder how do I use Gromacs to do the scan?
I have the setting files as

[ff]
charge_scaling = 1.0
[qm]
memory = 30000
n_proc = 12
[qm::software(gaussian)]
charge_method = esp
[scan]
method = gromacs
frag_threshold = 2
gromacs_exec = gmx_mpi

Then I run
qforce start -o settings
However, the result that I got is still the input file for Gaussian.

          ____         ______
         / __ \       |  ____|
        | |  | |______| |__ ___  _ __ ___ ___
        | |  | |______|  __/ _ \| '__/ __/ _ \
        | |__| |      | | | (_) | | | (_|  __/
         \___\_\      |_|  \___/|_|  \___\___|

                     Selim Sami
            University of Groningen - 2020
            ==============================

Selected QM Software: "gaussian"
Necessary Hessian output files and the corresponding extensions are:
- out_file: ['out', 'log']
- fchk_file: ['fchk', 'fck']

NOTE: Automatic atom-type determination (used only for LJ interactions) is new. 
      Double check your atom types or enter them manually.

Calculating the MD hessian matrix elements...
Fitting the MD hessian parameters to QM hessian values
Done!

There are 3 unique flexible dihedrals.
3 of them are missing the scan data.
QM input files for them are created in: start_qforce/fragments
Exiting...

Please find the files attached
Archive.zip
.

@selimsami
Copy link
Owner

selimsami commented Nov 11, 2021

It seems you're simply missing the QM dihedral scan output?

Gaussian is still used for the QM part.

GROMACS will be used for the MD scan (assuming that you already have the QM data)

@xiki-tempula
Copy link
Contributor Author

@selimsami
Sorry, I thought that given that most of the time spend on the dihedral scan is in the geometry optimisation, this option is to use GMX to generate the geometry optimised dihdedral coordinate.

Well, it seems that using the gmx MD engine solves the problem
scan_data_CC_H12C9O1_c08240069d2302aefe34ef147e3de1a7~1
.
If you are interested, here is the whole file.
Archive.zip

@selimsami
Copy link
Owner

Great. Then probably it is an issue with the MD geometry optimization. GROMACS optimizer seems to be better than the scipy one.

I normally use GROMACS for the MD engine, I suggest you to do the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants