Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.short initial input profile #27

Open
SahaAnirban007 opened this issue Jul 27, 2023 · 1 comment
Open

.short initial input profile #27

SahaAnirban007 opened this issue Jul 27, 2023 · 1 comment

Comments

@SahaAnirban007
Copy link

Pardon me if the question is trivial. I am new to Fortran. How can I create/get the .short initial input profile used in Collapse simulations?

@evanoconnor
Copy link
Owner

The details for this are in the user guide: https://github.com/evanoconnor/GR1D/blob/master/docs/README.pdf in section 3.

GR1D uses the '.short' format for input stellar profiles. On
the first line of the input file is the number of lines in the input
file. The rest of the file consists of lines with 8 columns each: (1)
zone index, (2) enclosed mass (g), (3) radial coordinate (cm), (4)
temperature (K), (5) density (g/cm^3), (6) radial velocity (cm/s),
(7) Ye, and (8) \Omega (rad/s).

The README also references an example which I have just added to the repository in the profiles directory. As none of the supernova progenitor files are published/released by me, I don't want to post them here, but from the description and the example, it should be clear what you need to do to make one. You don't need to know any fortran, a simple bash/python script can be used to make these files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants