Relaxation with Symmetry Preserved

Hi,

I am looking for suggestion where I want to relax a structure by preserving the symmetry group of the crystal structure of it. The structure I am doing is somewhat a modified crystal, which might not be the ground state structure of it. My goal is to relax the volume of the crystal by keeping the symmetry preserved and let the atoms to move in ab-plane but not in c-direction.

Thanks

several questions here.

  1. abinit always preserves the initial space group it finds, unless you set nsym 1. The positions, then the forces and stress are symmetrized before being applied to step through the relaxation

  2. If you want to impose a constraint on the atoms and directions which can be relaxed, it’s easy with the variables natfix, iatfixx etc. See their definitions

  3. if you want to impose constraints on the cell relaxation (const volume, only change c parameter etc) you can choose different values of optcell.