1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2019.2 (Released June 5, 2019) -->
<HTML lang="EN">
<HEAD>
<TITLE>4.1 Reaching the electronic ground state</TITLE>
<META NAME="description" CONTENT="4.1 Reaching the electronic ground state">
<META NAME="keywords" CONTENT="user_guide">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
<META NAME="Generator" CONTENT="LaTeX2HTML v2019.2">
<LINK REL="STYLESHEET" HREF="user_guide.css">
<LINK REL="next" HREF="node9.html">
<LINK REL="previous" HREF="node7.html">
<LINK REL="next" HREF="node9.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A
HREF="node9.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A>
<A
HREF="node7.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A>
<A
HREF="node7.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
<A ID="tex2html65"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A
HREF="node9.html">4.2 Relax the system</A>
<B> Up:</B> <A
HREF="node7.html">4 Using CP</A>
<B> Previous:</B> <A
HREF="node7.html">4 Using CP</A>
<B> <A ID="tex2html66"
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A ID="SECTION00051000000000000000">
4.1 Reaching the electronic ground state</A>
</H2>
<P>
The first run, when starting from scratch, is always an electronic
minimization, with fixed ions and cell, to bring the electronic system on the ground state (GS) relative to the starting atomic configuration. This step is conceptually very similar to
self-consistency in a <TT>pw.x</TT> run.
<P>
Sometimes a single run is not enough to reach the GS. In this case,
you need to re-run the electronic minimization stage. Use the input
of the first run, changing <TT>restart_mode = 'from_scratch'</TT>
to <TT>restart_mode = 'restart'</TT>.
<P>
NOTA BENE: Unless you are already experienced with the system
you are studying or with the internals of the code, you will usually need
to tune some input parameters, like <TT>emass</TT>, <TT>dt</TT>, and cut-offs. For this
purpose, a few trial runs could be useful: you can perform short
minimizations (say, 10 steps) changing and adjusting these parameters
to fit your needs. You can specify the degree of convergence with these
two thresholds:
<BLOCKQUOTE>
<TT>etot_conv_thr</TT>: total energy difference between two consecutive steps
<BR><TT>ekin_conv_thr</TT>: value of the fictitious kinetic energy of the electrons.
</BLOCKQUOTE>
<P>
Usually we consider the system on the GS when
<TT>ekin_conv_thr</TT> < 10<SUP>-5</SUP>.
You could check the value of the fictitious kinetic energy on the standard
output (column EKINC).
<P>
Different strategies are available to minimize electrons, but the most used
ones are:
<UL>
<LI>steepest descent: <TT>electron_dynamics = 'sd'</TT>
</LI>
<LI>damped dynamics: <TT>electron_dynamics = 'damp'</TT>,
<TT>electron_damping</TT> = a number typically ranging from 0.1 and 0.5
</LI>
</UL>
See the input description to compute the optimal damping factor.
<P>
<HR>
<!--Navigation Panel-->
<A
HREF="node9.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A>
<A
HREF="node7.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A>
<A
HREF="node7.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
<A ID="tex2html65"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A
HREF="node9.html">4.2 Relax the system</A>
<B> Up:</B> <A
HREF="node7.html">4 Using CP</A>
<B> Previous:</B> <A
HREF="node7.html">4 Using CP</A>
<B> <A ID="tex2html66"
HREF="node1.html">Contents</A></B>
<!--End of Navigation Panel-->
</BODY>
</HTML>
|