- #1
matteo86bo
- 60
- 0
Hi, I have a little problem, I'm using a code to run cosmological simulation and I have to recover the physical unities of every quantities. The problem is that there isn't a proper guide for this program. I try to explain.
All I have for every output/redshift is:
aexp
unit_l
unit_t
The authors of these program claim that in order to obtain a length,time in cgs units you need to multiply the quantities in code units with the above units.
My box length is 100Mpc/h.
I need to have comoving units. If I do box_length*unit_l/aexp I recover 100Mpc/h for every redshift.
The problem is, how do I recover the peculiar velocity of every particle in the comoving system?
I tried with this
vel_part*unit_l/aexp/unit_t
but I'm not sure since unit_t is different for every redshift output. Can you help me?
Thanks in advance
All I have for every output/redshift is:
aexp
unit_l
unit_t
The authors of these program claim that in order to obtain a length,time in cgs units you need to multiply the quantities in code units with the above units.
My box length is 100Mpc/h.
I need to have comoving units. If I do box_length*unit_l/aexp I recover 100Mpc/h for every redshift.
The problem is, how do I recover the peculiar velocity of every particle in the comoving system?
I tried with this
vel_part*unit_l/aexp/unit_t
but I'm not sure since unit_t is different for every redshift output. Can you help me?
Thanks in advance