In the present work the gas and dark matter were simulated in lambda cold dark matter model using gadget-2 code. In the simulation one million gas and one million dark matter particles were simulated from the early universe (redshift z=30) to (redshift z=0) in a box of size (80Mpc/h)3. The gravity caused the collection of gas and dark matter particles to construct many clumps, and then these clumps developed with time. The clumps are clusters of galaxies formed in the simulation. The clusters surrounded by voids, while the filaments formed between the clusters. The clusters, voids, and filaments were clearly appeared in redshift z=0. In the simulation, the density- temperature plane shows different concentrations of the non cooling and cooling of gas particles in different epochs.
In the simulation sixteen processors of high performance supercomputer of Nottingham University-England were used.