I want to do hydrodynamic simulatin for universe at vary redshifts. How can I do it? or how can I find an simulation of universe for use my work?
Gadget-2 is publicly available. Google works well to find it.
According to their website, it runs also on PCs. But don't get your hopes up, a single PC doesn't have enough computing power to simulate a whole universe. You'll need a bigger machine for that.
They have installation instructions on the webpage (see "Users Guide" under "Documentation"). You will possibly need a linux machine to run it, I don't know if the code compiles well under Windows.