Here is an example to get you started. CaWO4 is in space group 88 (tetragonal). If you know rprim and xred, the input can be something like
Code: Select all
scalecart 2*5.2429 11.3737 angstrom
rprim
-0.5 0.5 0.5
0.5 -0.5 0.5
0.5 0.5 -0.5
ntypat 3
znucl 20 74 8
natom 12
typat 1 2 3 3 1 2 3 3 3 3 3 3
xred
5.0000000000E-01 5.0000000000E-01 0.0000000000E+00
0.0000000000E+00 0.0000000000E+00 0.0000000000E+00
2.3630000000E-01 3.2700000000E-01 3.9210000000E-01
9.3490000000E-01 8.4420000000E-01 6.0790000000E-01
2.5000000000E-01 7.5000000000E-01 5.0000000000E-01
7.5000000000E-01 2.5000000000E-01 5.0000000000E-01
7.7000000000E-02 1.8490000000E-01 5.9070000000E-01
5.9420000000E-01 4.8630000000E-01 4.0930000000E-01
5.1370000000E-01 9.2300000000E-01 1.0790000000E-01
8.1510000000E-01 4.0580000000E-01 8.9210000000E-01
6.7300000000E-01 6.5100000000E-02 9.0930000000E-01
1.5580000000E-01 7.6370000000E-01 9.0700000000E-02
If you wanted to use space group information, the input can be
Code: Select all
spgroup 88
brvltt -1
scalecart 2*5.2429 11.3737 angstrom
ntypat 3
znucl 20 74 8
natom 12
natrd 3
typat 1 2 3
xred
0 0 0.5
0 0 0
0.2414 0.1507 0.0856
Note that you need to know the reduced coordinates of at least some atoms, i.e., typat and xred must always be present. Spacegroup alone is not enough to uniquely identify the material.
Also, If you used the second option, I suggest to copy rprim from the log file into the input file and use that instead. I've found spgroup and brvltt not to work in some circumstances, such as when using spinors.