1
0
Fork 0
mirror of https://github.com/glatterf42/cosmoca-reproducibility.git synced 2024-09-19 16:03:47 +02:00

Added exemplary namelist to Ramses, expanded documentation

This commit is contained in:
glatterf42 2022-07-26 12:33:12 +02:00
parent 172a22d706
commit de0a025655
2 changed files with 61 additions and 0 deletions

View file

@ -7,11 +7,13 @@ The Ramses code seems to be well documented in the linked PDF. We can simply loa
- version: [050cb1f00d240640188c89587d55c7b6d36095eb](https://bitbucket.org/rteyssie/ramses/src/050cb1f00d240640188c89587d55c7b6d36095eb)
- [documentation](https://www.ics.uzh.ch/~teyssier/ramses/Documentation_files/ramses_ug.pdf)
- exemplary namelist/parameter file for Richings21 Baryon 7 7 9 simulation (cosmological zoom)
## bin/Makefile changes
- set NDIM to 3
- set MPI to 1
- set NPSCAL to 1 for Zoom simulations. Otherwise, ic_pvar_00001 will not be read (p stands for passive)

59
ramses/namelist.txt Normal file
View file

@ -0,0 +1,59 @@
&RUN_PARAMS
cosmo=.true.
pic=.true.
poisson=.true.
hydro=.true.
nrestart=0
nremap=1
nsubcycle=1,1,1,1,2
ncontrol=1
verbose=.false.
/
&INIT_PARAMS
filetype='grafic'
initfile(1)='richings21_bary_ramses_7_7_9/level_007'
initfile(2)='richings21_bary_ramses_7_7_9/level_008'
initfile(3)='richings21_bary_ramses_7_7_9/level_009'
/
&OUTPUT_PARAMS
aend=1
noutput=8
aout=0.025,0.05,0.1,0.166666,0.333333,0.5,0.666666,1.0
/
&AMR_PARAMS
levelmin=7
levelmax=17
nexpand=3,1,1
ngridtot=20000000
nparttot=30000000
/
&REFINE_PARAMS
m_refine=11*8.,
ivar_refine=6
var_cut_refine=0.01
mass_cut_refine=1.49012e-08
interpol_var=1
interpol_type=0
/
&HYDRO_PARAMS
courant_factor=0.8
riemann='hllc'
slope_type=1
/
&POISSON_PARAMS
gravity_type=0
epsilon=1e-4
/
&COOLING_PARAMS
cooling=.false.
metal=.false.
/