>> 505-550-2614
>>
>>
>>
>>>> From: Harold Hatch <
hhatch@princeton.edu>
>>>> Date: Tue, 23 Mar 2010 09:52:25 -0600
>>>> To: Steve Plimpton <
sjplimp@gmail.com>, Aidan Thompson <
athomps@sandia.gov>
>>>> Cc: <
lammps-users@lists.sourceforge.net>
>>>> Subject: RE: [lammps-users] box/relax vs. enthalpy minimization
>>>>
>>>> Dear Steve,
>>>>
>>>> Thank you for your informative and timely reply. I see that the analytical
>>>> form of dH/dL can get very tricky, and I was only considering a cubic box.
>>>> I was also only considering isotropic pressure. So box/relax must be
>>> easier
>>>> to implement for more general box relaxations. Although dH/dL could be
>>>> approximated by finite difference from calculating enthalpy change upon a
>>>> small contraction/expansion, which may be slower. But Middleton and Wales
>>>> (JCP vol 118, pg 4583, 2003) say the analytic derivatives didn't speed-up
>>>> the calculation.
>>>>
>>>> Still, I do not understand how the pressure is constrained with box/relax,
>>>> and I eagerly await any help Dr. Thompson may offer.
>>>>
>>>> Regards,
>>>> Harold Hatch
>>>>
>>>> P.S. I haven't forgotten about our discussion of the stress tensor, which I
>>>> am still working out. Thank you for the help you both have offered in this
>>>> regard.
>>>>
>>>> -----Original Message-----
>>>> From: Steve Plimpton [mailto:
sjplimp@gmail.com]
>>>> Sent: Tuesday, March 23, 2010 11:03 AM
>>>> To: Harold Hatch; Thompson, Aidan
>>>> Cc:
lammps-users@lists.sourceforge.net
>>>> Subject: Re: [lammps-users] box/relax vs. enthalpy minimization
>>>>
>>>> Aidan can answer this better, but the issue is that for various kinds of
>>>> box relaxations there is no formulation (mathematically) of the min problem
>>>> that satisfies all the constraints exactly at the energy min. Except when
>>>> your starting point is the right answer. So iterating, as you are doing, is
>>>> not a bad approach, if you want a hi-precision answer.
>>>>
>>>> Steve
>>>>
>>>> On Tue, Mar 23, 2010 at 7:23 AM, Harold Hatch <
hhatch@princeton.edu> wrote:
>>>>>> Dear LAMMPS users,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Conceptually, is the use of box/relax equivalent to enthalpy
>>>> minimization?
>>>>>> From how I understand fix box/relax, it allows you to minimize energy
>>>> while
>>>>>> allowing V as a degree of freedom, and constraining P. Enthalpy
>>>>>> minimization, on the other hand, minimizes H = U + PV, so that the
>>>> condition
>>>>>> dH/dV = dU/dV + P = 0 sets the pressure, dH/dr_i = - forces, H ~= U for
>>>>>> incompressible liquid. What I don¹t understand is how box/relax
>>>> constrains
>>>>>> the pressure. With enthalpy minimization, dH/dL can be derived
>>>> analytically
>>>>>> or approximated with finite differences.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have run into some trouble using box/relax because the line search
>>>> alpha
>>>>>> -> 0 with default minimization settings far before a minimum is reached.
>>>>>> Attempting to use quadratic line search led to increases in U, which
>>>> isn¹t
>>>>>> acceptable. In order to get a decent minimum with box/relax, I wrote a
>>>>>> script (following the note in the manual) which alternately minimizes >>>
>>>>>> with
>>>>>> box/relax to decent energy tolerance (1e-8), then minimizes constant
>>>> volume
>>>>>> for 1 step. After alternating this several hundred times, I can finally
>>>>>> reach a state where minimizing for both box/relax and constant volume get
>>>>>> zero line search alpha. Why does box/relax lose steam before reaching a
>>>>>> minimum, and has anyone found a better way to overcome this problem?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Harold Hatch
>>>>>>
>>>>>>
>>>>
>>> ----------------------------------------------------------------------------
>>>> --
>>>>>> Download Intel® Parallel Studio Eval
>>>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>>>> proactively, and fine-tune applications for parallel performance.
>>>>>> See why Intel Parallel Studio got high marks during beta.
>>>>>>
http://p.sf.net/sfu/intel-sw-dev
>>>>>> _______________________________________________
>>>>>> lammps-users mailing list
>>>>>>
lammps-users@lists.sourceforge.net
>>>>>>
https://lists.sourceforge.net/lists/listinfo/lammps-users
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
>>
>>
----------------------------------------------------------------------------->>
-
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>>
http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> lammps-users mailing list
>>
lammps-users@lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/lammps-users
>