gibbs

Implementation level
Type Status
CML extraction template image1
HTML5 representation image2
Template attributes
Attribute Value
source Orca log
id gibbs
name Gibbs free enthalpy
pattern \s*-{10,}\s*$\s*GIBBS\sFREE\s(ENTHALPY|ENERGY)\s*
endPattern \s*G-E\(el\).*
endOffset 1
repeat 1
keep last
xml:base job/gibbs.xml
Input
-------------------
GIBBS FREE ENTHALPY
-------------------

The Gibbs free enthalpy is G = H - T*S

Total enthalpy                    ...   -228.85953707 Eh
Total entropy correction          ...     -0.03181461 Eh    -19.96 kcal/mol
-----------------------------------------------------------------------
Final Gibbs free enthalpy         ...   -228.89135168 Eh

For completeness - the Gibbs free enthalpy minus the electronic energy
G-E(el)                           ...      0.03360703 Eh     21.09 kcal/mol
Input
-------------------
GIBBS FREE ENERGY
-------------------

The Gibbs free energy is G = H - T*S

Total enthalpy                    ...  -1339.44553764 Eh
Total entropy correction          ...     -0.02967375 Eh    -18.62 kcal/mol
-----------------------------------------------------------------------
Final Gibbs free energy         ...  -1339.47521139 Eh

For completeness - the Gibbs free energy minus the electronic energy
G-E(el)                           ...     -0.01102705 Eh     -6.92 kcal/mol
Output text
<comment class="example.output" id="gibbs">
         <module cmlx:templateRef="gibbs">
           <scalar dataType="xsd:double" dictRef="o:totalenthalpy" units="nonsi:hartree">-228.85953707</scalar>
           <scalar dataType="xsd:double" dictRef="o:totalentropycorr" units="nonsi:hartree">-0.03181461</scalar>
           <scalar dataType="xsd:double" dictRef="o:gibbsenthalpy" units="nonsi:hartree">-228.89135168</scalar>
           <scalar dataType="xsd:double" dictRef="o:gibbsminuselec" units="nonsi:hartree">0.03360703</scalar>
        </module>
    </comment>
Output text
<comment class="example.output" id="gibbs2">
        <module cmlx:templateRef="gibbs" dictRef="cc:userDefinedModule">
           <scalar dataType="xsd:double" dictRef="o:totalenthalpy" units="nonsi:hartree">-1339.44553764</scalar>
           <scalar dataType="xsd:double" dictRef="o:totalentropycorr" units="nonsi:hartree">-0.02967375</scalar>
           <scalar dataType="xsd:double" dictRef="o:gibbsenthalpy" units="nonsi:hartree">-1339.47521139</scalar>
           <scalar dataType="xsd:double" dictRef="o:gibbsminuselec" units="nonsi:hartree">-0.01102705</scalar>
        </module>
    </comment>
Template definition
<record repeat="6" />
<record>\s*Total\senthalpy\s*\.\.\.{F,o:totalenthalpy}.*</record>
<record>\s*Total\sentropy\scorrection\s*\.\.\.{F,o:totalentropycorr}.*</record>
<record />
<record>\s*Final\sGibbs\sfree\s(enthalpy|energy)\s*\.\.\.{F,o:gibbsenthalpy}.*</record>
<record repeat="2" />
<record>\s*G-E\(el\)\s*\.\.\.{F,o:gibbsminuselec}.*</record>
<transform process="pullup" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list" />
<transform process="addUnits" xpath=".//cml:scalar" value="nonsi:hartree" />