/usr/share/gromacs/shell-specific/gmx-completion-gmx_d.bash is in gromacs-data 2016.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1
complete -o nospace -F _gmx_compl gmx_d