0
0

多原子イオンを点置換した新しい結晶構造作成例(四面体形・三角錐形・平面三角形)

Last updated at Posted at 2024-01-29

現在地

pwd

/mnt/ssd_elecom_c2c_960gb/scripts/mk_polyatomic_ion_replaced_point_poscar

使い方の確認(四面体形)

python3 do_mk_polyatomic_ion_replaced_point_poscar_for_tetrahedral_shape.py -h

usage: do_mk_polyatomic_ion_replaced_point_poscar_for_tetrahedral_shape.py
example: python3 do_mk_polyatomic_ion_replaced_point_poscar_for_tetrahedral_shape.py NH4 N H 0.82 1.24 ../get_some_ion_contained_pos_folder_p_list/NH4_contained_poscar_folder_path_list_ver2.npy

This script takes five arguments: arg1, arg2, arg3, arg4, arg5 and arg6.

positional arguments:
arg1 target_ion_name: NH4
arg2 central_atom_symbol: N
arg3 neighboring_atom_symbol: H
arg4 bond_length_lower_end: 0.82
arg5 bond_length_upper_end: 1.24
arg6 npy_file_path: ../get_some_ion_contained_pos_folder_p_list/NH4_contained_poscar_folder_path_list_ver2.npy

options:
-h, --help show this help message and exit

実行(四面体形:ここでは,アンモニウムイオン)

time python3 do_mk_polyatomic_ion_replaced_point_poscar_for_tetrahedra
l_shape.py NH4 N H 0.82 1.24 ../get_some_ion_contained_pos_folder_p_list/NH4_contained_poscar_folder_path_list_ver2.npy

target_ion_name: NH4
central_atom_symbol: N
neighboring_atom_symbol: H
bond_length_lower_end: 0.82
bond_length_upper_end: 1.24
target_npy_p: ../get_some_ion_contained_pos_folder_p_list/NH4_contained_poscar_folder_path_list_ver2.npy
os.path.exists(target_npy_p): True
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 647/647 [00:17<00:00, 37.57it/s]

real 0m17.812s
user 1m33.671s
sys 0m6.334s

オリジナルのPOSCARファイルとアンモニウムイオンを点で置換したPOSCARファイルを比較

  • 1000183
    image.png

  • 1000235
    image.png
    image.png

使い方の確認(三角錐形・平面三角形)

python3 do_mk_polyatomic_ion_replaced_point_poscar_for_trigonal_pyramidal_planar_shape.py -h

usage: do_mk_polyatomic_ion_replaced_point_poscar_for_trigonal_pyramidal_planar_shape.py
example: python3 do_mk_polyatomic_ion_replaced_point_poscar_for_trigonal_pyramidal_planar_shape.py CO3 C O 0.99 1.66 ../get_some_ion_contained_pos_folder_p_list/CO3_contained_poscar_folder_path_list_ver2.npy

This script takes five arguments: arg1, arg2, arg3, arg4, arg5 and arg6.

positional arguments:
arg1 target_ion_name: CO3
arg2 central_atom_symbol: C
arg3 neighboring_atom_symbol: O
arg4 bond_length_lower_end: 0.99
arg5 bond_length_upper_end: 1.66
arg6 npy_file_path: ../get_some_ion_contained_pos_folder_p_list/CO3_contained_poscar_folder_path_list_ver2.npy

options:
-h, --help show this help message and exit

実行(三角錐形・平面三角形:ここでは,炭酸イオン)

time python3 do_mk_polyatomic_ion_replaced_point_poscar_for_trigonal_p
yramidal_planar_shape.py CO3 C O 0.99 1.66 ../get_some_ion_contained_pos_folder_p_list/CO3_contained_poscar_folder_path_list_ver2.npy

target_ion_name: CO3
central_atom_symbol: C
neighboring_atom_symbol: O
bond_length_lower_end: 0.99
bond_length_upper_end: 1.66
target_npy_p: ../get_some_ion_contained_pos_folder_p_list/CO3_contained_poscar_folder_path_list_ver2.npy
os.path.exists(target_npy_p): True
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1143/1143 [00:47<00:00, 23.87it/s]

real 0m48.528s
user 4m8.260s
sys 0m10.425s

  • 1000033
    image.png

  • 9008283
    image.png
    image.png

  • 9008272
    image.png
    image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0