[Pw_forum] GWW-band (P. Umari)

2009-09-04 Thread um...@democritos.it
Dear Ali, First of all, note that the GWW is implemented only at the gamma point, so it requires large supercells, (or better it is appropriate for non-crystalline systems). However the long-range parts of the symmetric dielectric matrix and of the screened-interaction can be calculated using k-po

[Pw_forum] maybe a bug in the QE 4.0.4 (Paolo Umari)

2009-04-01 Thread um...@democritos.it
Dear Hanghui, > I did the test to check the forces and stress in the Berry phase > method with the ultrasoft pseudopotential. The forces are correct but the > stress is around 50% smaller. I am not sure whether it is due to the > ultrasoft pseudopotential or not. At this moment, With a finite ele

[Pw_forum] stress and electric field (paolo umari)

2009-03-30 Thread um...@democritos.it
Dear Hanghui, the present version of pw.x does not support yet the calculation of stress in the presence of an electric field with ultrasoft pseudopotentials, but only with normconserving pseudopotentials > If I turn on a 'sawtooth' potential, the code explicitly warns that > "Presently stress n

[Pw_forum] dipole moment calculation

2009-03-10 Thread um...@democritos.it
Dear Zhang, > I tried a test calculation of the dipole moment of water. The water molecule > is put into a 20 a.u. ^3 box. The relevant setting are > > lelfield = .true. > efield = 0.01 > > In the output file, it reports > > Electronic Dipole per cell (a.u.) -1.921145549061207 > Ionic D

[Pw_forum] unit of the polarization (Paolo Umari)

2008-10-10 Thread um...@democritos.it
Dear Chen, The electric field is treated in Rydberg atomic units in pw.x in this way: 1)The polarization P(\Psi) is calculated as sqrt(2.)*<\Psi|r|\Psi>/Omega where \Psi is the slater determinant of the KS wavefunctions, Omega is the valume of the simulation cell, and the expectation value of th

[Pw_forum] lelfield and lberry (P Umari)

2008-08-26 Thread um...@democritos.it
Dear Chen, > I am now running a calculation of strained STO and try to calculate > its spontaneous polarization based on Berry phase method. I try two > different ways: > 1) run a self-consistent calculation turning on lelfield=.true. and set > efield=0.0 > 2) first run a self-consistent calculat

[Pw_forum] finite electric field calculation (Paolo Umari)

2008-08-04 Thread um...@democritos.it
Dear Alan, >I have two questions about finite electric field calculation based on > Berry phase. > First, I have found in the source code that the formula to calcuate the > polarization in the presence of finite electric field is different in > Version 4.0 from in Version 3.2. A couple of

[Pw_forum] cg (Paolo Umari)

2008-07-26 Thread um...@democritos.it
Dear Mansoureh this messages reports the fact that during a single cg minimizationstep, the lowest energy which is found is that which corresponds to the trial step. If this happens close to convergence it can be ignored. Regards, Paolo Umari > > Dear all > I am running

[Pw_forum] Berry Phase calculation for gdir=1,2 ; cvs version

2008-01-17 Thread um...@democritos.it
Dear Jess, It could be that k points where not string along the same direction defined by gdir, In the sense, let's suppose nppstr=3 if gdir=3, you should have something as K_POINTS (crystal) N number of total k_points 0. 0. 0. 1. 0. 0. 0.33 1. 0. 0. 0.66 1. 0.5 0. 0.

[Pw_forum] Forces and finite electric fields (via Berry phase)

2007-12-16 Thread um...@democritos.it
Dear Ismail, You are right the ionic term on the atomic forces was missing. At the moment the Berry's phase electric field is supposed to work without using the symmetry of the k-points (option: nosym=.true. ). With the CVS version the options gdir=1 and gdir=2 should work also on parallel machin

[Pw_forum] Re: a question about a calculation on a relatively large system

2007-02-01 Thread um...@democritos.it
Dear Peter, I would suggest for checking pw.x the option diagonalization='cg', in this way a conjugate-gradient algorithm is used for finding the ground-state of the KS-Hamiltonian, instead of the 'davidson' algorithm. It will be slower but maybe more stable. The main difference between the cp.x

[Pw_forum] Re: a question about a calculation on a relatively large system

2007-01-16 Thread um...@democritos.it
Dear Peter, If you have to deal with large systems in a supercell sampled only at the gamma point, you could perform ionic relaxation using the CPV code cp.x. For this task you should peform a damped molecular dynamics, using either a Car-Parrinello or a Born-Oppenheimer scheme, (the latter should