<div dir="ltr">Hi,<div><br></div><div>You shouldn't need such a constraint for a slab model. The stress tensor in the direction perpendicular to the surface should be zero. Hence, the cell should not change in that direction.</div><div><br></div><div>regards</div><div>Marcella<br><br>Il giorno venerdì 24 gennaio 2014 12:22:20 UTC+1, Massimo Delle Piane ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi,<br>I would like to perform a MD simulation with the NPT ensemble with flexible cell. I did it before, but this time I would like to study a surface model, therefore I need to allow changes only in the a and b parameters while keeping c fixed. <br>I cannot understand what the right combination should be to obtain this result.<br>Thank you in advance,<p>Massimo</p></blockquote></div></div>