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

GAMESS input #23

Open
k95g opened this issue Jul 28, 2022 · 16 comments
Open

GAMESS input #23

k95g opened this issue Jul 28, 2022 · 16 comments

Comments

@k95g
Copy link

k95g commented Jul 28, 2022

Hello,
I'm working on generating a GAMESS output file using the Avogadro input generator. I am looking to find area, charge, and charge density (similar to that found here https://github.com/usnistgov/COSMOSAC/blob/master/profiles/GAMESS_TEST/ETHANOL.gout), but after running GAMESS using those input cards I get the .log file attached here. I've also included the "basic setup" used in Avogadro.
Avogadro Setup
ethanol.log

@ianhbell
Copy link
Collaborator

@y-kusaka any idea?

@kwoo
Copy link

kwoo commented Jul 28, 2022 via email

@k95g
Copy link
Author

k95g commented Jul 29, 2022

I did not include it. I put in a request for access to the source file and will update if I experience any issues. Thanks for the help!

@k95g
Copy link
Author

k95g commented Aug 1, 2022

Hello,
After submitting a request for the GAMESS source files, I was informed that the connection to COSPRT in GAMESS is broken. Do you know of any other way to generate .cosmo files without the COSMO routine using GAMESS?

@k95g
Copy link
Author

k95g commented Aug 2, 2022

Hi @ianhbell @kwoo,
I managed to get area, charge, and charge density out of GAMESS, but I am not getting a .sigma file after running output through to_sigma.py. I saw that this file was recently updated so I thought I would check with you
ethanol.log
to_sigma py
.

@ianhbell
Copy link
Collaborator

ianhbell commented Aug 2, 2022

Not sure, I don't use GAMESS. @y-kusaka ?

@y-kusaka
Copy link
Contributor

y-kusaka commented Aug 2, 2022

I think ethanol.log contains COSab data correctly. The regex matching of r"EQUILIBRIUM GEOMETRY[\sa-zA-Z0-9\(\)\./\*\n]+\-+\n(\s[\s\S]+)\n\n\n in the to_sigma.py should extract the coordinates of the atoms (lines 4152-5160 of ethanol.log) as group(1) but something wrong is happening here. Need to figure out a correct regex expression working also for your log file.

@k95g
Copy link
Author

k95g commented Aug 4, 2022

@y-kusaka so I suspect there is something in the ethanol.log file that is the source of the issue. After simply copying all the same info (equilibrium geometry, internal coordinates, etc) from the ETHANOL.gout file found here COSMOSAC/profiles/GAMESS_TEST/ETHANOL.gout I was able to get the .sigma file. Any idea how to get a .log file that excludes all of the excess data/info?

@k95g
Copy link
Author

k95g commented Aug 9, 2022

Hi @ianhbell,
I've been trying to work through the plot_profiles.py script, but cant seem to figure out where to add the path to my .sigma file. I've been looking through some tutorials on matplotlib, but still run into issues working through the code correctly (iterate over the databases, iterate over the names, etc). Any help would be appreciated.

@ianhbell
Copy link
Collaborator

Did you succeed at generating the sigma profile?

@k95g
Copy link
Author

k95g commented Aug 10, 2022

If you're referring to generating a methanol/ethanol profile then yes. I'm still trying to figure out how to integrate my .sigma file into the code. I'm sure its straightforward, but my experience with coding/python is limited.

@ianhbell
Copy link
Collaborator

@y-kusaka Can you assist?

@k95g
Copy link
Author

k95g commented Sep 7, 2022

@y-kusaka @ianhbell I've continued my attempts at generating a sigma profile plot using plot_profiles.py, but am still unsuccessful. I have generated my own "database" and tried iterating over the information in the file, but I cant pass line 38 due to errors like "'str' object has no attribute 'get_profile'" or "'tuple' object has no attribute 'get_profile'". The attached files show where I've made the edits and the .sigma file I am trying to use. If I am going about this completely wrong please let me know.
plot_profiles_edited.txt
ACETIC_ACID.txt

@ianhbell
Copy link
Collaborator

ianhbell commented Sep 9, 2022

You need to create an empty UD-format database (mirror the structure of the existing one), pass that path to cCOSMO.DelawareProfileDatabase, and update the metadata file in complist.txt within the db.

You could drop your file in the UD database folder and update the compslist.txt file, but I would recommend instead to not touch that and instead add your changes to your own db. What are you going to mix acetic acid with?

You are very close!

@k95g
Copy link
Author

k95g commented Sep 27, 2022

@ianhbell Thank you very much for your previous response. I was finally able to start generating some sigma profiles. I really appreciate all the help! I'm now looking into activity coefficients using my sigma data. I began working through the COSMO-PurePython.ipynb file using a similar method as the one presented in your previous response (but this time mirroring the VT db), but have run into a problem. The attached files include the python file and error. I've attempted working through the issue by changing some of the syntax, but had no success.
activity_co_edited.txt
error

@ianhbell
Copy link
Collaborator

Seems like you are mixing single-profile and three-profile sigma profiles, because there are 51 for each, and you have 153 in one case, and 51 in the other.

I think you should use the C++ code.

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

4 participants