Skip to content
  • Home
  • Recent
Collapse
Brand Logo
CRYSTAL23
Latest v1.0.1
Tutorials Try the Demo Get a License
Tutorials Try the Demo Get a License Instagram
  1. Home
  2. CRYSTAL
  3. Response Properties (CPHF/KS)
  4. Error with external electric field

Error with external electric field

Scheduled Pinned Locked Moved Response Properties (CPHF/KS)
3 Posts 2 Posters 72 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • masoud37undefined Offline
    masoud37undefined Offline
    masoud37
    wrote on last edited by aerba
    #1

    Dear Colleagues,
    I hope you're doing well.
    I have a question regarding an error I encountered in my calculations using CRYSTAL17 and would appreciate your help.

    I attempted to apply an external electric field in the 0-0-1 direction to a bulk structure using the following keywords in my input file:

    FIELD
    0.00194467
    0 0 1

    However, I received a syntax error. Please see the attached input input and output files.

    Previously, I successfully applied an external electric field to 2D nanostructures using the "FIELDCON" keyword without any issues. However, I encountered this error when working with bulk structures.
    I would be grateful for any guidance you can provide.

    Best regard,
    Masoud

    1 Reply Last reply
    0
    • aerbaundefined Offline
      aerbaundefined Offline
      aerba Developer
      wrote on last edited by aerba
      #2

      Hi,

      The two options you are using, FIELDCON and FIELD, apply a finite electric field along non-periodic and periodic directions, respectively. Thus, FIELDCON can be used for low-dimensional systems (1D, 2D) only.

      When the finite electric field is applied along a periodic direction (FIELD option), a supercell must be built along that direction, which requires additional input parameters with respect to the FIELDCON option. A complete input in your case would look something like:

      FIELD
      0.00194467
      0 0 1
      4 1
      40 1
      

      where 4 is the supercell expansion factor along the periodic direction of the field and 40 is the number of Fourier terms for the triangular potential expansion.

      For a detailed description of the use of FIELD and FIELDCON, please refer to this tutorial page.

      Note

      Please, be aware that a more analytical approach is available in CRYSTAL to compute the optical dielectric tensor of a system - that does not require any supercell to be built - through the coupled-perturbed Kohn-Sham (CPKS) method. The input for this option is simply:

      CPKS
      END
      

      to be inserted before the END of the geometry input block.

      You can find a tutorial page on CPKS here.

      We do strongly encourage to use CPKS rather than FIELD unless strictly needed.

      Alessandro Erba
      Professor of Physical Chemistry
      Department of Chemistry, University of Torino
      [email protected]

      1 Reply Last reply
      2
      • masoud37undefined Offline
        masoud37undefined Offline
        masoud37
        wrote on last edited by
        #3

        Hi,
        Thank you very much for your reply!

        Best regards,
        Masoud

        1 Reply Last reply
        0

        Powered by Crystal Solutions
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent