prameter file setting in a MUSIC dark matter only model

13 views
Skip to first unread message

Yang Luo

unread,
Sep 20, 2022, 4:56:40 AM9/20/22
to enzo-e-users
Deal All,

I have issue with the parameter file setting in the new enzo-e code. I am trying to run one model with cosmological and dark mater only model with initial condition generated by MUSIC.  Attached please find the enzo-e parameter file what I used.

I don't understand how to set the parameters in  Field and Output section.  the list in Field and field_list in Output should be the same or not.  for dark matter only model, how to set these fields ?     sometimes I got error message " ERROR FieldDescr::field_name ,  ERROR index -1 is out of range for vector of field names."   How to avoid these errors ?

In the Method section in the parameter file, when I chose "comoving_expansion" or "gravity", the code crash, with  error mesage "Reason: Unhandled C++ exception in user code: map::at.".   looks like error happens in function EnzoSimulation::initialize(), but I have no idea how to set the parameter file.

When I try to run model with the attached model, after the dump file been read by YT, I get error message "YTDimensionalityError: Dimensionality specified was 2 but we need 3 ", if I do  ds.r[('dark', 'mass')] .  It looks like the data the "dark" or "nbody" is not well dumped.

The model now is a dark matter only model, if latter I try to run with gas, and nested grid. Do I need to set the parameters for refine region. for example in old enzo the parameters like  RefineRegionLeftEdge or RefineRegionAutoAdjust ...

I  checked the example parameters under input folder, but I still get no solution.  So I am grateful for any  comments.

Yang


cos_init_dm.enzo
Reply all
Reply to author
Forward
0 new messages