Most parameters are defined at the top of the file, e.g. the resolution N is defined in line 97.
In any case you can change all parameters by modifying the source code, although you may want to read some parameters from a file / CLI argument to avoid recompilation. I suggest you check out our user guide for a basic introduction into OpenLB, this will help in adapting existing examples including tgv3d.