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

How to input Hessian #175

Open
7cube opened this issue Oct 23, 2023 · 4 comments
Open

How to input Hessian #175

7cube opened this issue Oct 23, 2023 · 4 comments

Comments

@7cube
Copy link

7cube commented Oct 23, 2023

I want to use Gaussian to calculate hessian matrix for the first step, and I notice geomeTRIC can read hessian.txt from disk. But what should I do to change the hessian from “Gaussian format” to “Numpy format”? Do I only need to convert the triangular matrix got from Gaussian to a symmetric matrix? Should I change the units?

@leeping
Copy link
Owner

leeping commented Oct 23, 2023

You only need to convert it to a square matrix format. I am 99% sure that the Hessian output from Gaussian is in atomic units (Hartree/bohr^2), and that is also what geomeTRIC uses.

@7cube
Copy link
Author

7cube commented Oct 23, 2023

Thank you!

@leehiufung911
Copy link

Thank you!

Hello, did you eventually figure out how to do this? I'm trying to do the same thing, trying to get the hessian from a gaussian freq calculation
I can't actually find the triangular matrix in gaussian's output either

@leeping
Copy link
Owner

leeping commented Oct 25, 2023

I currently don't have a Gaussian frequency calculation handy to provide a detailed response. However, if a Gaussian frequency calculation does not print the Hessian (aka force constant matrix) in the output, then it will be in the .chk file which you can convert to a human-readable format with formchk. Then it is just a matter of extracting the matrix into a separate file.

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

3 participants