usnistgov / COSMOSAC

A Benchmark Implementation of COSMO-SAC
MIT License
51 stars 29 forks source link

New Sigma Files (averaging = Mullins) #18

Closed dinisAbranches closed 2 years ago

dinisAbranches commented 2 years ago

Sigma files (stored in UD/sigma1) obtained using the generate_all_profiles.py script with the options num_profiles = 1 and averaging='Mullins' (line 40, f = functools.partial(write_one, num_profiles = 1, averaging='Mullins')). These sigma files are different from the files inside UD/sigma for unknown reasons. They are needed for the validation of code that uses the Mullins averaging procedure to obtain sigma profiles, so perhaps it would be useful to include them in the repo?

ianhbell commented 2 years ago

I forwarded to my my colleagues for review. Hopefully they respond quickly. In the meantime, can I please ask you to add names to the header for the sigma files?

erikmickoleit commented 2 years ago

Hey there, I just checked the sigma profiles and the to_sigma.py script. The profiles in the UD/sigma folder seem to be very off. I do not know why. I use another sigma profile generator and it gives the exact same sigma profiles as with the generate_all_profiles.py and to_sigma.py scripts. I also compared the results to the original VT database by Mullins et al. The sigma profiles there deviate slightly from the sigma profiles here. The deviations are due to the following modifications:

The sigma profiles in UD/sigma should be replaced by the profiles generated with the generate_all_profiles.py script. Does that answer the question?

dinisAbranches commented 2 years ago

Dear Erik,

Thank you for your reply. Yes, that answers my question. Would you mind replacing the current UD/sigma folder with the sigma profiles calculated using the generate_all_profiles.py and to_sigma.py scripts? I believe you can simply accept this pull request, as the changes proposed are just a new sigma profile folder calculated with those scripts. Of course, you may want to double check these files or regenerate them... Thanks for the help!

ianhbell commented 2 years ago

I think it might be better to close this PR rather than to have two folders of one-sigma profiles. Then we could regenerate, and add a README file.

@erikmickoleit want me to help you do this?

ianhbell commented 2 years ago

@dinisAbranches We have updated all the UD/sigma profiles with Mullins averaging with https://github.com/usnistgov/COSMOSAC/commit/32d03ebae2dce4e8863e5a73b10f7bcc88954b1f