Replies: 3 comments 5 replies
-
Thank you for the suggestion. I am aware that the format of FCS XML is too complicated, so I will introduce a new format (HDF5) in the future major release of ALAMODE. For the moment, please use the python module at https://github.com/ttadano/ALM.
After installing the module, please have a look at
This is a minimal example showing how to save the force constants (obtained by other method) as the FCS XML format readable by ANPHON. The usage is simple. You just need to give the structural parameters, force constant values and corresponding indices as follows:
For more details about the |
Beta Was this translation helpful? Give feedback.
-
I was digging into the example, but some of the intermediate output is not what I expected. From my understanding, the
which don't look like the atoms in the conventional or primitive cell to me. I guess I'm just confused about which force constants are included in the output of |
Beta Was this translation helpful? Give feedback.
-
I got things working, but just a heads up I think the units are outdated for that example. The default units for Fcxsml are 'angstrom' (see here) but everything in that example is Bohr as far as I can tell. It's not a big deal, but if you are just copying that example code it gives weird results. |
Beta Was this translation helpful? Give feedback.
-
I would like to use the ANPHON part of ALAMODE to calculate thermal conductivity, DOS etc. for various approaches of calculating IFCs. One of these approaches is of course the optimization approach included in ALMODE but I would also like to plug in the 0K force constants (from finite displacement) and just in general force constants from other packages (e.g. TDEP).
Reading through the documentation the IFC format (.fcs) does not look too complex, but the XML format that is needed by ANPHON is not something I feel comfortable generating. My general question is are there ways for me to convert the .fcs to the .xml format needed by ANPHON or is there a way I could just give a big list of force constants for a supercell (not symmetry reduced) and have ANPHON understand that input.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions