[Yt-dev] EnzoCosmology

Stephen Skory stephenskory at yahoo.com
Sat Jun 20 11:17:42 PDT 2009


Guys,

I need an idiot check. This is a unremarkable test simulation with star formation. Am I reading it correctly that according to the time calculations, yt thinks the last star was formed after 1.4 trillion years, not 14 billion years? Or am I doing something wrong? If I'm correct, there are some hubble value inconsistencies outside of EnzoCosmology, too?

>>> pf = load('RedshiftOutput0005')
>>> sp = pf.h.sphere([0.5]*3,2.)
yt         INFO       2009-06-20 11:09:27,958 Adding Z_Field1 to list of fields
yt         INFO       2009-06-20 11:09:27,958 Adding Z_Field2 to list of fields
>>> ct = sp["creation_time"]
yt         INFO       2009-06-20 11:09:55,519 Getting field creation_time from 1172
>>> print "%1.5e" % (max(ct) * pf["years"])
1.45113e+12

 _______________________________________________________
sskory at physics.ucsd.edu           o__  Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________



More information about the yt-dev mailing list