Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Gpeppee
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 210 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

Virial-EoS

This code calculates thermodynamic properties of the matter in the Virial approximation as in CITATION.

Requirement

The code is in Python 3.11.9 and uses the following packages that may need installation: - joblib ( parallel calculations ) - scipy ( scientific computations ) - mpmath ( for calculation in extreme relativistic case using polylogarithm) - numpy ( standard library for handling variables ) - h5py / pickle ( print and read the data )

Alert: The coding has been done on windows so the user may need to change the format of the paths for reading and printing files

Running

To run the code: - python main.py It will ask you whether to compute $\beta$-equilibrium. If no, it will ask you whether to fix a specific proton fraction. If no, it will run automatically what is written in the constant.py file as xp0 and xp1.

After running the calculation make sure to run - python organize.py To organize the data in a more memory efficient way (still to improve).

Output

The output is divided in different files depending from the temperature. Every file is built in hierarchical format to be read by python as a dictionary so all the quantities will be clearly stated.

All the files will be printed in a folder named 'data', so either you change this in the constants.py file or you create an empty folder named 'data'.

Refernces

To know more about the approach and the formalism go to Rivieccio et al. 2025 (arXiv:2501.16795).

Have fun!

Owner

  • Name: Giuseppe Rivieccio
  • Login: Gpeppee
  • Kind: user

Citation (CITATION.cff)

#@software{Rivieccio-Virial-EoS,
#  author = {Rivieccio, Giuseppe},
#  title = {Virial-EoS},
#  url = {https://github.com/Gpeppee/Virial-EoS.git},
#  year = {2025}
#  version = {1.0}
#  affiliation = {Universitat de Valencia}
#}

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - given-names: Giuseppe
    family-names: Rivieccio
    email: giuseppe.rivieccio@uv.es
    affiliation: "Universitat de Valencia"
    orcid: "https://orcid.org/0009-0009-9456-6382"
title: "Virial-EoS"
version: 1.0
date-released: 2025-01-22
url: "https://github.com/Gpeppee/Virial-EoS.git"

GitHub Events

Total
  • Push event: 10
  • Create event: 2
Last Year
  • Push event: 10
  • Create event: 2