pNbody/examples/ic/addmetals339ab77f7b61master
pNbody/examples/ic/addmetals
339ab77f7b61master
addmetals
addmetals
Readme
Readme
This scripts show how to add the metal properties to an nbody file containing gas.
./addmetals.py snap.dat.orig -o snap.dat
The snapshot may then be used as initial condition file with GEAR (RestartFlag=0), if CHIMIE and BLOCK_SKIPPING is enable.
Mon Oct 1 10:09:35 CEST 2012
new version:
basic model :
./generate_galaxy.py
0 : gas 1 : stars (0) 2 : halo 3 : disk 4 : bulge
aim: add metals properties to gas
transform disk+bulge into stars and add metals
- flag_metals metals # facile
- flag_age
tstar # facile minit # depend de l'age (need a fct) idp # -1 rho_stars # 0 rsp_stars # 0
- flag_metals metals # facile
./addmetals_for_gas.py snap.dat.orig -o snap.dat
./addmetals-gasonly.py snap.dat -p chimie.yr.dat -o snap+metals.dat pplot --param params --select=gas --x Rxy --y Fe --xmax=20 snap+metals.dat simu: /SCRATCH/revaz/test-gear/test-001
./addmetals-gas+stars.py snap.dat -p chimie.yr.dat -o snap+metals.dat pplot --param params --select=gas --x Rxy --y Fe --xmax=20 snap+metals.dat pplot --param params --select=stars1 --x Rxy --y Fe --xmax=20 snap+metals.dat simu: /SCRATCH/revaz/test-gear/test-002 !!! marche pas.... CHIMIE_INPUT_ALL
./addmetals.py snap.dat -p chimie.yr.dat -o snap+metals.dat pplot --param params --select=gas --x Rxy --y Fe --xmax=20 snap+metals.dat pplot --param params --select=stars1 --x Rxy --y Fe --xmax=20 snap+metals.dat pNvsX --param params --select stars1 --x Age --nx 100 --xmin=0 --xmax=14 snap+metals.dat simu: /SCRATCH/revaz/test-gear/test-003 !!! marche pas....
c4science · Help