Inquiry about Enzo Simulations of Star Formation

18 views
Skip to first unread message

Joseph

unread,
Oct 18, 2024, 9:57:59 PM10/18/24
to enzo-dev

HI,

I am a senior high school student interested in astrophysics and I'm currently working on simulating the formation of low-mass stars using the Enzo code and I am seeking guidance and resources. I am wondering if there are any specific documentation or tools that the community recommends for this purpose.

Here are my specific queries:

  1. Guidance Documents: Are there any tutorials, guides, or example scripts that I could use as a starting point for setting up simulations for low-mass star formation?

  2. Tools: What are the essential tools that are typically used in conjunction with Enzo for this type of simulation?

  3. Libraries: Are there any libraries or plugins that I should be aware of that could enhance my simulations or help with specific aspects of the star formation process?

  4. Common Issues: What are some common issues or pitfalls that novice users might encounter when running Enzo simulations, and how can these be avoided or mitigated?

  5. Best Practices: Are there any best practices or tips that you would recommend for someone new to Enzo simulations?

I understand that these are quite detailed questions, but any guidance or resources that you could share would be greatly appreciated.

I look forward to hearing from you and thank you in advance for your time and assistance.

Best regards,
Joseph

David Collins

unread,
Oct 22, 2024, 12:14:29 PM10/22/24
to enzo...@googlegroups.com
Hi, Joseph—


You can get enzo from the github:

The documentation can be found here:

I’d recommend reading the user guide first, but take a look at all of it.

You might want to start with the turbulence simulation, DrivenTurbulence3D.enzo,
or perhaps ProtostellarCollapse_Std.enzo.

The two other libraries you’ll need are MPI and HDF5.  If you’re using ubuntu, MPI is easy to install with apt.  

So your workflow would be:
install mpi
install hdf5
clone enzo
point to your mpi and hdf5 in Make.mach.yourmachine
compile
The docs have more detailed build instructions.

The other important tool to get is yt.  This is the main analysis code we use to make plots and analyze the data.
To install, I find the best thing to do is set up a virtual environment with python, and use pip to install into that.

As far as common mistakes and best practices, we’ve tried to address a lot of them throughout the docs.  But, to be frank, it’s not the easiest code to use (none of the powerful astro codes are.)  Email this list again if you get stuck.

Good luck!
d.


--
You received this message because you are subscribed to the Google Groups "enzo-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enzo-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/enzo-dev/aec8d482-19ba-47d9-b10a-68f92c795a11n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages