Dear all:
Maybe trivial questions for you, but i could not find explanations about second (third) moments.
1. Could someone explain the difference between the second moments (third moments) and polarizability (hyperpolarizability), whether they are the same quantity?
2. If not the same, what are the second moments (third moments) then?
I thought the second moments (third moments) and polarizability (hyperpolarizability) were the same quantities, but either I
misunderstand and they are different or I do something wrong during the
following calculations.
I tried to do example calculations (slight modifications to the input files were done) with `expec, dm, sm', as in
examples/h2o_gexpec2.inp and finite field calculations `dip,,,field(i)' with numerical differentiation of energy to get dipole moment along with polarizability, as in
examples/h2o_field.inp.
I have got dipole moments from both methods being the same, but the second moments and polarizabilities do not coincide.
My inout for `expec, dm, sm':
***,oprimized geom, mulliken pop
print,orbitals ! this is optional: print the basis set an
! the occupied orbitals
angstrom ! units for xyz corrds
geometry={ ! define the nuclear coordinates
3
h2o
O 0.0000000000 0.0000000000 -0.0662176529
H -0.7573301264 0.0000000000 0.
5218377685 H 0.7573301264 0.0000000000 0.
5218377685 }
basis=avdz
$methods=[hf,mp2]
do i=1,#methods !loop over methods
{$methods(i);expec,dm,qm,sm;} !run energy calculation
e(i)=energy
dipx(i)=dmx !save dipole moment in variable dip
dipy(i)=dmy !save dipole moment in variable dip
dipz(i)=dmz !save dipole moment in variable dip
smxx(i)=xx !save second momemts
smyy(i)=yy
smzz(i)=zz
smxy(i)=xy
smxz(i)=xz
smyz(i)=yz
enddo
table,methods,dipx,dipy,dipz,smxx,smyy,smzz,smxy,smxz,smyz !print table of first and second moments
My input for `dip,,,field(i)':
***water, oprimized geom, polarizability
print,orbitals ! this is optional: print the basis set and
! the occupied orbitals
angstrom ! units for xyz corrds
geometry={ ! define the nuclear coordinates
3
h2o
O 0.0000000000 0.0000000000 -0.0662176529
H -0.7573301264 0.0000000000 0.
5218377685 H 0.7573301264 0.0000000000 0.
5218377685}
basis=avdz
field=[0,0.005,-0.005] !define finite field strengths
$method=[hf,mp2]
k=0
do i=1,#field !loop over fields
dip,,,field(i) !add finite field to H
do m=1,#method !loop over methods
k=k+1
$method(m) !calculate energy
e(k)=energy !save energy
enddo
enddo
k=0
n=#method
do m=1,#method
k=k+1
energ(m)=e(k)
dipz(m)=(e(k+n)-e(k+2*n))/(field(2)-field(3)) !dipole moment as first energy derivative
smzz(m)=(e(k+n)+e(k+2*n)-2*e(k))/((field(2)-field(1))*(field(3)-field(1))) !polarizability as second der.
enddo
table,method,energ,dipz,smzz
title,results for H2O optimized monomer
The output for `expec`
METHODS DIPX DIPY DIPZ SMXX SMYY SMZZ SMXY SMXZ SMYZ
HF 0.0 0.0 0.78791914 -3.18400627 -5.64499186 -4.50100459 0.0 0.0 0.0
MP2 0.0 0.0 0.73552217 -3.37714904 -5.88588854 -4.71975447 0.0 0.0 0.0
MP2 HF
-76.26081469 -76.04132336
The output for `dip,,,field'
METHOD ENERG DIPZ SMZZ
HF -76.04132336 0.78791551 8.07213993
MP2 -76.26081469 0.73551580 9.06487939
As you see, DIPZ are the same from both methods, but SMZZ are not.
Would appreciate any explanation for this.
Best regards,
Yevhen