GMX-VELACC(1)
๐ GMX-VELACC(1) โ the GROMACS girlie's guide ๐
okay so bestie, this is the manual page for gmx-velacc, one of the many little gems that live inside GROMACS ๐
it computes velocity autocorrelation functions, and honestly? it's giving physics main character energy. let's get into it ๐ฆ
โจ NAME โจ
gmx-velacc โ no cap, this one just calculates velocity autocorrelation functions ๐
๐ธ SYNOPSIS ๐ธ
gmx velacc [-f [<.trr/.cpt/...>]] [-s [<.tpr/.gro/...>]] [-n [<.ndx>]]
[-o [<.xvg>]] [-os [<.xvg>]] [-b <time>] [-e <time>]
[-dt <time>] [-[no]w] [-xvg <enum>] [-[no]m] [-[no]recip]
[-[no]mol] [-acflen <int>] [-[no]normalize] [-P <enum>]
[-fitfn <enum>] [-beginfit <real>] [-endfit <real>]
like look at her. so many flags. so many possibilities ๐ซถ
๐ DESCRIPTION ๐
So gmx velacc computes the velocity autocorrelation function. Periodt. ๐ฅ
And when you hit it with the -m option? It calculates the momentum autocorrelation function instead. Two moods, one tool ๐
Then there's -mol โ with this one, you get the velocity autocorrelation function of molecules. Lowkey important detail: in that case your index group should consist of molecule numbers instead of atom numbers. Don't mix them up bestie, iykyk ๐
Oh and here's the fun part โ using -os you can also extract the estimated (vibrational) power spectrum, which is literally the Fourier transform of the velocity autocorrelation function. Iconic. But fr fr, be sure that:
- your trajectory contains frames with velocity information (i.e.
nstvoutwas set in your original.mdpfile) ๐ - the time interval between data collection points is much shorter than the time scale of the autocorrelation โญ
that's not optional, that's the vibe check โ
โจ OPTIONS โจ
๐ Options to specify input files
-f [<.trr/.cpt/...>](traj.trr) โ the Full precision trajectory, she's a whole menu:trrcpttngh5md๐-s [<.tpr/.gro/...>](topol.tpr) (Optional) โ Structure+mass(db), take your pick:tprgrog96pdbbrkent๐-n [<.ndx>](index.ndx) (Optional) โ the Index file, your little list of who's who ๐
๐ฆ Options to specify output files
-o [<.xvg>](vac.xvg) โ anxvgr/xmgrfile, this is the moment ๐-os [<.xvg>](spectrum.xvg) (Optional) โ also anxvgr/xmgrfile, in case you want the spectrum too ๐
๐ธ Other options
-b <time>(0) โ Time of first frame to read from trajectory (default unit isps) โฐ-e <time>(0) โ Time of last frame to read from trajectory (default unit isps) โฐ-dt <time>(0) โ Only use a frame whent MOD dt = first time(default unit isps) ๐งฎ-[no]w(no) โ View output.xvg,.xpm,.epsand.pdbfiles ๐-xvg <enum>(xmgrace) โ xvg plot formatting, pick your fighter:xmgrace,xmgr,none๐จ-[no]m(no) โ Calculate the momentum autocorrelation function ๐-[no]recip(yes) โ Usecm^-1on the X-axis instead of1/psfor spectra ๐-[no]mol(no) โ Calculate the velocity acf of molecules ๐งช-acflen <int>(-1) โ Length of the ACF; default is half the number of frames ๐-[no]normalize(yes) โ Normalize the ACF โจ-P <enum>(0) โ Order of Legendre polynomial for the ACF (and0indicates none):0,1,2,3๐-fitfn <enum>(none) โ Fit function:none,exp,aexp,exp_exp,exp5,exp7,exp9๐-beginfit <real>(0) โ Time where to begin the exponential fit of the correlation function ๐-endfit <real>(-1) โ Time where to end the exponential fit of the correlation function;-1means until the end ๐
๐ SEE ALSO ๐
More info about GROMACS is available at http://www.gromacs.org/ โ go read it, bestie, it's free โจ
๐ COPYRIGHT ๐
2026, GROMACS development team
okay that's the whole page, no notes ๐ if you're still confused, that's a you problem (affectionate) โ go run it and see ๐ซถ
and that's a wrap on GMX-VELACC(1) from the GROMACS manual, version 2026.4, dated Oct 02, 2026 ๐ mwah, slay, periodt ๐โจ
๐ฆ where this page comes from
- nixpkgs unstable: gromacs 2026.4
- ubuntu stonking: gromacs-data 2026.4-1ubuntu1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms