This are some of the commonly used codes for performing galaxy simulations:
art
arepo
chaNGa
gadget-2
gizmo
enzo
ramses
These are some of the codes used for analyzing and visualizing these simulations:
caeser
CosmoVis
FIREFly
GizmoAnalysis
Pynbody
PyMSES
yt