:orphan: .. _flow-gallery: Flow Gallery ============ This gallery contains python scripts to generate AbiPy flows from the command line. Run the scripts to generate the directory with the flow, then use the :ref:`abirun.py` script to execute the flow. Alternatively, one can use the ``-s`` option to generate the flow and run it immediately with the scheduler. Use ``--help`` for further information on the available options. Note that the figures can only show the **initial configuration of the Flow**. Additional Works generated at runtime won't be displayed. To visualize the entire Flow, you need to run the script and then use:: abirun.py FLOWDIR graphviz where `FLOWDIR` is the directory of the Flow. .. warning:: The following examples show how to use python and the AbiPy API to generate and run Abinit calculations in a semi-automatic way. These examples **are not supposed to produce physically meaningful results** as input parameters are usually underconverged. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_si_ebands_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_si_ebands.py` .. raw:: html
Band structure flow
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_ht_si_ebands_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_ht_si_ebands.py` .. raw:: html
Band structure flow with factory functions
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_fe_ebands_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_fe_ebands.py` .. raw:: html
Band structure w/wo magnetization
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_gaas_ebands_soc_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_gaas_ebands_soc.py` .. raw:: html
Band structure with/without SOC
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_ht_si_bsemdf_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_ht_si_bsemdf.py` .. raw:: html
Bethe-Salpeter flow with factory functions
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_becs_and_epsilon_vs_kpts_new_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_becs_and_epsilon_vs_kpts_new.py` .. raw:: html
Born effective charges and dielectric tensors with DFPT
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_conducwork_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_conducwork.py` .. raw:: html
Conductivity in metals
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_mgb2_phonons_nkpt_tsmear_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_mgb2_phonons_nkpt_tsmear.py` .. raw:: html
Convergence of phonons in metals wrt ngkpt and tsmear
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_mgb2_edoses_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_mgb2_edoses.py` .. raw:: html
Convergence studies of e-DOS wrt ngkpt
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_gs_vs_kpts_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_gs_vs_kpts.py` .. raw:: html
Convergence study with different k-meshes
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_lumi_Eu_doped_SLA_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_lumi_Eu_doped_SLA.py` .. raw:: html
Delta SCF calculation: luminescence of an Eu-doped phosphor
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_lumi_NV_center_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_lumi_NV_center.py` .. raw:: html
Delta SCF calculation: luminescence of the NV- center in diamond
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_effmass_dfpt_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_effmass_dfpt.py` .. raw:: html
Effective masses with DFPT
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_effmass_finitediff_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_effmass_finitediff.py` .. raw:: html
Effective masses with finite difference
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_elastic_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_elastic.py` .. raw:: html
Elastic constants and piezoelectric tensor with DFPT
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_eos_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_eos.py` .. raw:: html
Equation of state
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_flexoelectric_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_flexoelectric.py` .. raw:: html
Flexoelectric Tensor
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_qha_2d_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_qha_2d.py` .. raw:: html
Flow for QHA calculations with two DOFs
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_qha_zsisa_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_qha_zsisa.py` .. raw:: html
Flow for ZSISA calculations
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_qha_vzsisa_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_qha_vzsisa.py` .. raw:: html
Flow for v-ZSISA-QHA calculations
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_gwconv_ecuteps_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_gwconv_ecuteps.py` .. raw:: html
G0W0 convergence study
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_si_g0w0_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_si_g0w0.py` .. raw:: html
G0W0 flow with convergence study wrt nband
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_ht_si_g0w0ppm_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_ht_si_g0w0ppm.py` .. raw:: html
G0W0 flow with factory functions
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_gwr_g0w0_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_gwr_g0w0.py` .. raw:: html
GWR flow with convergence studies
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_gruneisen_abinit_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_gruneisen_abinit.py` .. raw:: html
Gruneisen parameters with DFPT phonons and finite difference
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_eph_al_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_eph_al.py` .. raw:: html
Isotropic superconductivity
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_ldaus_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_ldaus.py` .. raw:: html
KS + U calculations
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_nonlinear_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_nonlinear.py` .. raw:: html
Non-linear optical properties with DFPT
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_optic_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_optic.py` .. raw:: html
Optic Flow
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_eph_mob_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_eph_mob.py` .. raw:: html
Phonon-limited mobilities in semiconductors
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_phonons_with_quad_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_phonons_with_quad.py` .. raw:: html
Phonons + dynamical quadrupoles
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_phonons_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_phonons.py` .. raw:: html
Phonons with DFPT
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_phonons_wkq_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_phonons_wkq.py` .. raw:: html
Phonons with WFQ files (q-mesh denser than k-mesh)
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_phonopy_si_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_phonopy_si.py` .. raw:: html
Phonopy with AbiPy flow
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_raman_bse_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_raman_bse.py` .. raw:: html
Raman with BSE and frozen phonon
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_raman_optic_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_raman_optic.py` .. raw:: html
Raman with independent-particle approximation (optic)
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_relax_and_ebands_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_relax_and_ebands.py` .. raw:: html
Relaxation + bands
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_relax_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_relax.py` .. raw:: html
Relaxation flow
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_sic_relax_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_sic_relax.py` .. raw:: html
Relaxation flow
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_relax_vs_kpts_tsmear_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_relax_vs_kpts_tsmear.py` .. raw:: html
Relaxation of Al with different k-meshes and tsmear
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_relax_vs_kpts_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_relax_vs_kpts.py` .. raw:: html
Relaxation with different k-meshes
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_from_files_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_from_files.py` .. raw:: html
Starting a Flow from external files
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_phfrozen_ebands_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_phfrozen_ebands.py` .. raw:: html
e-Bands with frozen phonon
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_frohlich_zpr_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_frohlich_zpr.py` .. raw:: html
e-ph ZPR at the band edges with the generalized Frohlich model
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_frohlich_zpr_from_ddb_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_frohlich_zpr_from_ddb.py` .. raw:: html
e-ph ZPR of band edges with generalized Frohlich model
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_gkq_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_gkq.py` .. raw:: html
e-ph matrix elements along a q-path
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_eph_qpath_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_eph_qpath.py` .. raw:: html
e-ph matrix elements along q-path
.. raw:: html
.. only:: html .. image:: /flow_gallery/images/thumb/sphx_glr_run_eph_pot_thumb.png :alt: :ref:`sphx_glr_flow_gallery_run_eph_pot.py` .. raw:: html
e-ph scattering potentials
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /flow_gallery/run_si_ebands /flow_gallery/run_ht_si_ebands /flow_gallery/run_fe_ebands /flow_gallery/run_gaas_ebands_soc /flow_gallery/run_ht_si_bsemdf /flow_gallery/run_becs_and_epsilon_vs_kpts_new /flow_gallery/run_conducwork /flow_gallery/run_mgb2_phonons_nkpt_tsmear /flow_gallery/run_mgb2_edoses /flow_gallery/run_gs_vs_kpts /flow_gallery/run_lumi_Eu_doped_SLA /flow_gallery/run_lumi_NV_center /flow_gallery/run_effmass_dfpt /flow_gallery/run_effmass_finitediff /flow_gallery/run_elastic /flow_gallery/run_eos /flow_gallery/run_flexoelectric /flow_gallery/run_qha_2d /flow_gallery/run_qha_zsisa /flow_gallery/run_qha_vzsisa /flow_gallery/run_gwconv_ecuteps /flow_gallery/run_si_g0w0 /flow_gallery/run_ht_si_g0w0ppm /flow_gallery/run_gwr_g0w0 /flow_gallery/run_gruneisen_abinit /flow_gallery/run_eph_al /flow_gallery/run_ldaus /flow_gallery/run_nonlinear /flow_gallery/run_optic /flow_gallery/run_eph_mob /flow_gallery/run_phonons_with_quad /flow_gallery/run_phonons /flow_gallery/run_phonons_wkq /flow_gallery/run_phonopy_si /flow_gallery/run_raman_bse /flow_gallery/run_raman_optic /flow_gallery/run_relax_and_ebands /flow_gallery/run_relax /flow_gallery/run_sic_relax /flow_gallery/run_relax_vs_kpts_tsmear /flow_gallery/run_relax_vs_kpts /flow_gallery/run_from_files /flow_gallery/run_phfrozen_ebands /flow_gallery/run_frohlich_zpr /flow_gallery/run_frohlich_zpr_from_ddb /flow_gallery/run_gkq /flow_gallery/run_eph_qpath /flow_gallery/run_eph_pot .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: flow_gallery_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: flow_gallery_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_