[gmx-users] Time varying electric field - phase term

Johnny Lu johnny.lu128 at gmail.com
Tue Aug 26 16:33:53 CEST 2014

I wonder if gromacs can do both sine and cosine?

If so, the sum angle formula can work.


On Sat, Aug 23, 2014 at 10:42 AM, steven shawn <shawnsteven1 at gmail.com>

> Dear gromacs users, I am trying to use an electric field which is varying
> with time. I read the previous posts and successfully generated time
> varying electric field with E-xt, E-yt and E-zt.
> but I need an electric field which has an initial phase term (ie. of the
> form E= E0cos(2*pi*f*t+some angle term)) where i want to specify the angle
> term. Most of the posts i read mentioned this angle term must be specified
> in the third term after E-xt.
> I tried it but failed to generate an initial phase. Can anyone help me with
> this?
> thanks in advance.
> --
> Gromacs Users mailing list
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.

More information about the gromacs.org_gmx-users mailing list