-
Notifications
You must be signed in to change notification settings - Fork 35
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
Implemented box specific enthalpy and compressibility calculations and printing to block averages, as well as compressibility to log files. #362
Implemented box specific enthalpy and compressibility calculations and printing to block averages, as well as compressibility to log files. #362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/OutConst.h : 48
TOTAL_SINGLE should stay 13, since pressure doesn't change in NVT. If you have compiler errors by leaving this a 13, then you aren't initializing the blocks correctly.
You need to move your new outputs into the NPT and the else, which is GEMC, compiler pragmas (#elif ENSEMBLE == NPT). Nothing should change in the NVT and GCMC areas.
You are correct that the NVT ensemble is relevant ensemble. Please test support for GEMC NVT also. |
I did test out on GEMC NVT. I need to test on GEMC NPT as well? |
No, just post some screenshots of the Block output files. |
I was mistaken when I told you PressureCalc turns off pressure output. You use ################################# ENABLE: BLK, FLUC.################################# |
Add or modify the bolded line to your config file. |
Currently Enthalpy needs to be hand calculated from TOT_EN, pressure and volume of the system. This small cosmetic change prints enthalpy as calculated by formula H = U + PV (in units of kJ/mol), and compressibility as calculated by formula Z = PV/nRT.