Menu

#5 << creating input for MOPAC >>

closed
None
1
2015-05-18
2015-04-24
Anonymous
No

Hello Torbjörn,

I was wondering if could be possible to add the feature to create MOPAC input files for Solid State calculations to CIF2Cell.

Attached is a sample for TiO2 rutile.

Regards,

Hatuey

1 Attachments

Discussion

  • Torbjörn Björkman

    Absolutely! I will knock up an interface and send it to you for testing. Expect it within a week or two.

    Cheers,
    Torbjörn

     
  • Torbjörn Björkman

    Try this version.

    Just specifying -p mopac will give you an output file that does not contain the lines 1-3 from the manual, but just the geometry. Since the code does not yet support mind reading, you have to somehow supply those yourselves.

    I would recommend that you first make a some file with suitable name that contains your first three lines (with your favourite options) and then use cif2cell to append (-a flag) the geometry to that file (-o flag):
    cif2cell theciffile.cif -a -o somefile.mop

    There are also three program specific options, --mopac-first-line, --mopac-second-line and (surprise) --mopac-third-line that allows you to do it from the command line. The --setup-all flag will produce a "complete" file, which has empty second and third lines and only says "BZ" on the first line (that's the only option that I am reasonably sure that you'll always want to use for a crystal, the 'MER' keyword that also has to do with crystals seems hard to support for general cases).

    Tell me if it seems to work and I'll make a new release.

     
    • Anonymous

      Anonymous - 2015-05-06

      That was too fast :)

      Thank you very much.

      Looks that it is working. I will go through the full steps (calculations of bands, DOS, etc.) for the crystal and will update you.

       
    • Anonymous

      Anonymous - 2015-05-07

      Hello Torbjorn,

      I began to play with the MOPAC files.

      The Tv vectors are ok.

      It could be possible to add the optimization flag after each coordinate? It is 1 to indicate the coordinate could be optimized and 0 to not optimize.

      Playing with the files, I had to added manually.

      Regards,

       
      • Torbjörn Björkman

        No problems at all, but there still isn't support for mind reading, so you have to tell me what to put there. The canonical guess would be to just add " 1" to each line, to default to full relaxation of the structure. Is that what you want? You can have an additional --mopac-freeze-structure (or whatever) flag to put zeroes instead of ones if you want.

        Torbjörn

         
        • Anonymous

          Anonymous - 2015-05-08

          Your idea about a flag is very good:

          --mopac-freeze-structure=true ==> add a zero after each coordinate
          --mopac-freeze-structure=false ==> add a one after each coordinate

          should be enough.

          Hatuey

           
  • Torbjörn Björkman

    • assigned_to: Torbjörn Björkman
     
  • Torbjörn Björkman

    With the release 1.2.7 everything should work the way you wanted, including the freeze structure flag. I will close this ticket now.

     
  • Torbjörn Björkman

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB