Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bam:example_parfile [2024/07/23 14:01] theoastro |
bam:example_parfile [2024/07/23 14:16] (current) theoastro |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| physics = adm z4 Gauge matter eos grhd2Fluid BNSdataReader Invariants AHmod hydroanalysis | physics = adm z4 Gauge matter eos grhd2Fluid BNSdataReader Invariants AHmod hydroanalysis | ||
| | | ||
| + | nxyz = 128*2/ | ||
| + | amr_move_nxyz | ||
| + | dxyz = 36*2/ | ||
| + | amr_bo_dxmax | ||
| + | | ||
| + | 0douttime | ||
| + | 2douttime | ||
| + | 3douttime | ||
| + | Invariants_output_time | ||
| + | | ||
| ############################################################################# | ############################################################################# | ||
| # initial data | # initial data | ||
| - | BBID_modus = DSDS # ask Edo: ... dark star dark star, otherwise BNSS | + | |
| - | BNSdataReader_sgrid_exe = /zhome/academic/HLRS/xup/ | + | |
| - | BNSdataReader_use_interpolator = yes # set to yes = for first time interpolation | + | |
| - | BNSdataReader_sgrid_datadir = "/lustre/hpe/ws10/ws10.1/ | + | BNSdataReader_sgrid_exe = /path/to/BAM/executable |
| - | BAM_DMruns/ | + | BNSdataReader_use_interpolator = yes |
| - | BNSdataReader_sgrid_simple_directory_structure = yes # see also: Ivans orga of sgrid folder | + | BNSdataReader_sgrid_datadir = "/path/to/sgrid/ |
| - | BNSdataReader_Interpolate_verbose = no #yes for the first submission only, to see if sgrid to bam interpolation works | + | BNSdataReader_sgrid_simple_directory_structure = yes |
| - | BNSdataReader_keep_sgrid_output = no # yes for the time when it is doing the interpolation | + | BNSdataReader_Interpolate_verbose = no |
| - | BNSdataReader_two_fluid_system = yes # for 2 Fluid data reading | + | BNSdataReader_keep_sgrid_output = no |
| + | BNSdataReader_two_fluid_system = yes | ||
| | | ||
| ############################################################################ | ############################################################################ | ||
| # eos | # eos | ||
| | | ||
| - | eos_ID | + | eos_ID |
| - | eos1 = tab1dhot | + | eos1 = tab1dhot |
| - | eos1_gamma | + | eos1_gamma |
| eos2 = tab1d | eos2 = tab1d | ||
| - | # eos_ID = yes, so the table is taken from sgrid | ||
| | | ||
| ############################################################################ | ############################################################################ | ||
| Line 29: | Line 39: | ||
| checkpoint | checkpoint | ||
| checkpoint_dt_hours | checkpoint_dt_hours | ||
| - | checkpoint_dt_hours_quit | + | checkpoint_dt_hours_quit |
| checkpoint_variables | checkpoint_variables | ||
| ExitIfNAN | ExitIfNAN | ||
| Line 36: | Line 46: | ||
| # basic setup | # basic setup | ||
| | | ||
| - | order_centered | + | order_centered |
| order_advection | order_advection | ||
| advection_lopsided6 | advection_lopsided6 | ||
| Line 43: | Line 53: | ||
| dissipation_factor | dissipation_factor | ||
| | | ||
| - | bampi_timer_on | + | bampi_timer_on |
| - | bampi_lowlatency | + | bampi_lowlatency |
| bampi_timer_reset_after_every_iteration = yes | bampi_timer_reset_after_every_iteration = yes | ||
| bampi_nghosts | bampi_nghosts | ||
| Line 50: | Line 60: | ||
| order_RP_shells | order_RP_shells | ||
| amr_nbuffer | amr_nbuffer | ||
| - | + | | |
| - | | + | amr_move_lcube |
| - | amr_move_lcube | + | |
| - | + | ||
| - | #spacing | always keep for numbers before the * fixed and change the Brueche | + | |
| - | nxyz = 128*2/ | + | |
| - | amr_move_nxyz | + | |
| - | the actual Bam run | finest level | + | |
| - | dxyz = 36*2/ | + | |
| - | amr_bo_dxmax | + | |
| - | + | ||
| - | # first provide finest level information | + | |
| - | # can be calculated by using the diameter of a NS with a bit of extra space in geomtrical units and divide by number of moving | + | |
| - | boxes | + | |
| - | # then this calculated number is multiplied by a factor of 2 for each bigger level | + | |
| - | | + | |
| amr = bo newfmr move | amr = bo newfmr move | ||
| - | amr_fmr | + | amr_fmr |
| - | grid = box bitant #box quadrant, bitant (means the upper half of 3D space, from z [0, +inf] # quadrant should be one half | + | grid |
| - | of the bitant | + | |
| | | ||
| ############################################################################ | ############################################################################ | ||
| Line 75: | Line 70: | ||
| | | ||
| hrsc_nghosts = 4 # how many ghost points are used to go from courser to finer level | hrsc_nghosts = 4 # how many ghost points are used to go from courser to finer level | ||
| - | hrsc_rec = WENOZ # | + | hrsc_rec = WENOZ |
| - | hrsc_TVD_limiter = MC2 # flux limiter | hr high resolution sc = shock capturing scheme | + | hrsc_TVD_limiter = MC2 |
| - | hrsc_rec_metric = LAG4 # | + | hrsc_rec_metric = LAG4 |
| hrsc_flux = LLF # HLL, HLLC - Riemann solvers | hrsc_flux = LLF # HLL, HLLC - Riemann solvers | ||
| - | hrsc_rec_HO = WENOZ # HO = higher order | + | hrsc_rec_HO = WENOZ |
| | | ||
| - | conservative_amr = yes # conservative adaptive mesh refinement, in order to working, below needs to be set to linear | + | conservative_amr = yes |
| matter_interpolate_scheme_restriction | matter_interpolate_scheme_restriction | ||
| matter_interpolate_scheme_prolongation = linear | matter_interpolate_scheme_prolongation = linear | ||
| matter_interpolate_order = 4 | matter_interpolate_order = 4 | ||
| | | ||
| - | | + | grhd_C2P = p_root |
| - | | + | |
| grhd_C2P_NewtonRaphsonTR = 1e-8 | grhd_C2P_NewtonRaphsonTR = 1e-8 | ||
| grhd_C2P_NewtonRaphsonNR = 100 | grhd_C2P_NewtonRaphsonNR = 100 | ||
| Line 97: | Line 91: | ||
| | | ||
| ############################################################################# | ############################################################################# | ||
| - | # evolution, RK = runge kutta | + | # evolution |
| | | ||
| evolution_method | evolution_method | ||
| evolution_method_rk | evolution_method_rk | ||
| - | dtfac = 0.25 # courant factor, relating space and time, causal | + | dtfac = 0.25 |
| - | finaltime = 20000 # end of simulation time in solar masses | + | finaltime = 20000 |
| | | ||
| z4_normalizedetg | z4_normalizedetg | ||
| Line 112: | Line 106: | ||
| z4_shift | z4_shift | ||
| z4_shiftalphapower | z4_shiftalphapower | ||
| - | z4_shiftdriver | + | z4_shiftdriver |
| z4_shiftgammacoeff | z4_shiftgammacoeff | ||
| z4_kappa1 | z4_kappa1 | ||
| Line 133: | Line 127: | ||
| | | ||
| ############################################################################# | ############################################################################# | ||
| - | # invariants | + | # invariants |
| | | ||
| ntheta | ntheta | ||
| Line 155: | Line 149: | ||
| | | ||
| ####################################################### | ####################################################### | ||
| - | # (better use AHmod !) | + | # AHmod |
| | | ||
| AHmod_verbose | AHmod_verbose | ||
| Line 162: | Line 156: | ||
| AHmod_LMAX | AHmod_LMAX | ||
| AHmod_interpolation_order = 4 | AHmod_interpolation_order = 4 | ||
| - | AHmod_nhorizons | + | AHmod_nhorizons |
| AHmod_searchMTS | AHmod_searchMTS | ||
| AHmod_uselast | AHmod_uselast | ||
| Line 172: | Line 166: | ||
| AHmod_mass_tol | AHmod_mass_tol | ||
| AHmod_hmean_tol | AHmod_hmean_tol | ||
| - | | + | AHmod_time |
| AHmod_output | AHmod_output | ||
| AHmod_output_xyt | AHmod_output_xyt | ||
| Line 181: | Line 175: | ||
| | | ||
| hydroanalysis_ejecta_spheres | hydroanalysis_ejecta_spheres | ||
| - | hydroanalysis_ejecta_spheres_radius = 200 # constructing diff spheres at which you check if matter is inside, checking ejecta | + | hydroanalysis_ejecta_spheres_radius = 200 |
| - | passing through shells/ | + | hydroanalysis_ejecta_nradius = 5 |
| - | hydroanalysis_ejecta_nradius = 5 # number of spheres, where we check for ejecta matter | + | hydroanalysis_ejecta_dradius = 100 |
| - | hydroanalysis_ejecta_dradius = 100 # stepsize of ejecta sphere radius increase | + | |
| | | ||
| hydroanalysis_Mbar_radius | hydroanalysis_Mbar_radius | ||
| Line 206: | Line 199: | ||
| # output | # output | ||
| | | ||
| - | 0douttime | ||
| 0doutput | 0doutput | ||
| hydroa_Db hydroa_fluid2_Du hydroa_fluid2_Db | hydroa_Db hydroa_fluid2_Du hydroa_fluid2_Db | ||
| Line 215: | Line 207: | ||
| # | # | ||
| # | # | ||
| - | + | | |
| - | 2douttime | + | |
| 2doutput | 2doutput | ||
| grhd_fluid2_vx grhd_fluid2_v2 | grhd_fluid2_vx grhd_fluid2_v2 | ||
| Line 222: | Line 213: | ||
| 2doutinterpolate | 2doutinterpolate | ||
| 2doutputall | 2doutputall | ||
| - | + | | |
| - | 3douttime | + | |
| 3doutput | 3doutput | ||
| 3dformat | 3dformat | ||
| 3doutinterpolate | 3doutinterpolate | ||
| 3doutputall = yes | 3doutputall = yes | ||
| - | + | | |
| - | # For now the string for the 2doutputr parameter is not used, just make sure, it is non-empty! | + | |
| # | # | ||
| ############################################################################# | ############################################################################# | ||
Last modified: le 2024/07/23 14:01
