Skip to content

Using different supercell size for FC2 and FC3 #181

Description

@m-a-saleh

I want to use different supercell sizes for FC2 and FC3. For FC2 I want to use 2x4x1 supercell, while for FC3 I want to use 1x2x1 supercell.

I have followed these steps:

  1. Calculate FC2 using finite displacements of 2x4x1 supercell and save the force constants to super2x4x1_0.03.xml file.
  2. To calculate FC3, I use FC2 to generate 250 random displacements but for 1x2x1 supercell.
  3. Perform DFT on the random supercells, and generate DFSET_randomQ file.
  4. Perform optimization to get FC3 using the following &optimize block with FC2 fixed to the previously calculated values:
&optimize
 LMODEL = ols
 NDATA = 250
 DFSET = DFSET_randomQ
 FC2XML = super2x4x1_0.03.xml

 STANDARDIZE = 1
 CONV_TOL = 1.0e-8
/

The last step results in the following error:

ERROR in fix_forceconstants_to_file  MESSAGE: The number of harmonic force constants is not consistent.

How to make sure that the number of harmonic terms in the new computational condition is the same as that in the FC2XML file generated using larger supercell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions