<div>Dear reza</div><div>I think the proper way of doing this job is by some optimization algrithoms such as genetic algrithom and particle swarm algrithom. You can write a small srcript to implement these algrithoms and call pw.x to calculate the energy. As alternation, there are some open source software interfaced with pw.x can do this job such as CALYPSO. If the structure is not the major property you concern, you can use a MD process and reduce the temperature step by step.</div><div>Good luck</div><div>PangRui</div><div><sign signid="99"><div style="color: rgb(144, 144, 144); font-family: Arial Narrow; font-size: 12px;"><br><br><br><br>------------------</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px;"><div><div class="logo" style="margin: 20px 0px 0px; width: 305px; height: 35px; line-height: 35px;"><img src="https://exmail.qq.com/cgi-bin/viewfile?type=logo&domain=sustc.edu.cn"></div><div class="c_detail" style="margin: 10px 0px 0px;"><h4 class="name" style="margin: 0px; line-height: 28px; font-size: 14px; font-weight: bold; -ms-zoom: 1;">庞瑞(PANG Rui)</h4><p class="position" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;"></p><p class="department" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">South University of Science and Technology of China/Department of Physics</p><p class="department" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;">No.1088,Xueyuan Road, Shenzhen,Guangdong<br></p><p class="phone" style="margin: 0px; color: rgb(160, 160, 160); line-height: 22px;"></p></div></div></div></sign></div><div> </div><div><includetail><div> </div><div> </div><div style="color: rgb(0, 0, 0);"><div style="padding: 2px 0px; font-family: Arial Narrow; font-size: 12px;">------------------ Original ------------------</div><div style="background: rgb(239, 239, 239); padding: 8px; font-size: 12px;"><div id="menu_sender"><b>From: </b> "reza vatan"<rezavatan64@gmail.com>;</div><div><b>Date: </b> Mon, Sep 28, 2015 03:54 AM</div><div><b>To: </b> "PWSCF Forum"<pw_forum@pwscf.org>; <wbr></div><div></div><div><b>Subject: </b> [Pw_forum] Finding the most stable structure</div></div><div> </div><div dir="ltr"><div><div>Dear all,<br><br></div>I have a supercell containing 64 Si atoms with amorphous structure and I want to add one Hydrogen atom to one of Si atoms with the condition that the most stable possible structure comes out. I randomly add the Hydrogen to one of Si atoms and then I run "relax" calculations, but I get different final energy when I repeat my random process for adding the Hydrogen. Should I try "md" calculations to get the same structure with the most stability out of my different initial structures? If yes under which conditions (options)?<br><br></div><div>Any suggestion would be highly appreciated.<br><br></div><div>Best,<br></div><div>Reza     <br><br>----------------------<br></div><div>Reza Vatan Meidanshahi<br></div><div>Electrical Engineering Department<br></div><div>Arizona State University<br></div></div>

</div><!--<![endif]--></includetail></div>