Giter Site home page Giter Site logo

mciupek / iebe-music Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chunshen1987/iebe-music

0.0 0.0 0.0 913 KB

This is a repository is an overarching numerical framework for event-by-event simulations of relativistic heavy-ion collisions

License: GNU General Public License v3.0

Shell 5.75% Python 93.31% Dockerfile 0.94%

iebe-music's Introduction

iEBE-MUSIC

This is a repository is an overarching numerical framework for event-by-event simulations of relativistic heavy-ion collisions.

If you have any questions, please email to the iEBE-MUSIC google groups, [email protected]

Setup & Ingradients:

All the code packages can be downloaded from online git repositories. Please use codes/get_code_packages.sh to download the code packages and codes/compile_code_packages.sh to compile all the packages before event-by-event simulations.

Initial conditions:

Pre-equilibrium evolution:

Hydrodynamics:

Particlization & hadronic transport:

Usage:

type ./generate_jobs.py -h for help information

Parameters:

Users can pass model parameters through a python script parameters_dict_user.py. It contains multiple dictionaries, which are related to each code module inside the iEBE-MUSIC framework. This script will update the master parameters dictionaries in config/parameters_dict_master.py. One can read config/parameters_dict_master.py for all the available parameters options for each module. If a user want to modify any parameters, he can add it in the parameters_dict_user.py.

initial_dict

The initial_dict dictionary specify the type of the initial condition to use,

  • IPGlasma
  • 3DMCGlauber

For the IPGlasma initial condition, the user needs to specify the HDF5 database filename.

For the 3DMCGlauber initial condition,

  1. If database_name : "self", initial condition will be generated on the fly with the rest part of the simulations.

  2. If database_name : database_file, the code package will use the pre-generated initial coniditions stored in the database (HDF5).

music_dict

The music_dict has all the parameters to run MUSIC for (3+1)D hydrodynamic simulations.

'Initial_profile': 9,  for IPGlasma initial condition
    - 9: IPGlasma (full Tmunu),
    - 91: e and u^\mu,
    - 92: e only,
    - 93: e, u^\mu, and pi^\munu
'Initial_profile': 13,  for 3D MCGlauber initial condition
    - 13: 3D MCGlauber initial condition with dynamical initialization,
    - 131: 3D MCGlauber initial condition with instantaneous initialization

Settings on NERSC:

The clusters on NERSC does not use utf-8 as default. To run the script properly, one needs to add the following commands in the ~/.bashrc.ext file,

export PYTHONIOENCODING=utf-8
export LC_CTYPE=en_US.UTF8

Docker Support

The iEBE-MUSIC has its official docker image on docker hub iebe-music.

Coding Style

We use YAPF to impose coding format for the python scripts. Before every commit, please use

yapf -i filename.py

to apply the uniformed format to the source code files

iebe-music's People

Contributors

chunshen1987 avatar mciupek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.