From f6627dba670a03bdc8774347194d15ddf1aa42de Mon Sep 17 00:00:00 2001 From: ChunYen-Chen Date: Thu, 16 Jan 2025 11:23:20 +0000 Subject: [PATCH] [Workflow] Update test problem wiki pages --- .../Test-Problems:-AGORA_IsolatedGalaxy.md | 38 +++++++++++++++---- .../Test-Problems:-DiskHeating.md | 8 ++-- 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/doc/wiki/Test-Problem-related/Test-Problems:-AGORA_IsolatedGalaxy.md b/doc/wiki/Test-Problem-related/Test-Problems:-AGORA_IsolatedGalaxy.md index 3a05914d9..77037155d 100644 --- a/doc/wiki/Test-Problem-related/Test-Problems:-AGORA_IsolatedGalaxy.md +++ b/doc/wiki/Test-Problem-related/Test-Problems:-AGORA_IsolatedGalaxy.md @@ -19,8 +19,9 @@ - [[Miscellaneous Options | Installation:-Option-List#miscellaneous-options]] -# Default setup +# Simulation setup 1. Units + 1. External (for `Input__TestProb` only) See the comment of each runtime variable @@ -28,9 +29,27 @@ 2. Internal (for all other input files and internal usage) | [L] | [M] | [T] | [V] = [L]/[T] | [D] = [M]/[D]^3 | |--- |--- |--- |--- |--- | - | kpc | 1.0e8 Msun | Myr | ~ 9.8e2 km/s | ~ 6.8e-23 g/cm^3 | + | kpc | 1.0e9 Msun | Myr | ~ 9.8e2 km/s | ~ 6.8e-23 g/cm^3 | + +2. Low-resolution default setup + + 1. Download the low-resolution initial conditions and `Input_*` by executing + ```bash + sh download_ic_low_res.sh + ``` + + 2. Default resolution ~ 80 pc (root grid 128^3; [[MAX_LEVEL | Runtime-Parameters:-Refinement#MAX_LEVEL]] = 7) + +3. High-resolution setup -2. Default resolution ~ 80 pc ([[MAX_LEVEL | Runtime-Parameters:-Refinement#MAX_LEVEL]] = 7) + 1. Download the high-resolution initial conditions and `Input_*` by executing + ```bash + sh download_ic_high_res.sh + ``` + + 2. Highest resolution ~ 20 pc (root grid 128^3; [[MAX_LEVEL | Runtime-Parameters:-Refinement#MAX_LEVEL]] = 9) + + 3. This setup reproduces the AGORA high-resolution run presented in the GAMER-2 paper (Schive et al. 2018) # Note @@ -40,11 +59,16 @@ [Ji-hoon Kim, et al., 2016, ApJ, 833, 202](https://dx.doi.org/10.3847/1538-4357/833/2/202) [(arXiv: 1610.03066)](https://dx.doi.org/10.3847/1538-4357/833/2/202) 2. Other references - [AGORA website](https://sites.google.com/site/santacruzcomparisonproject/) - - [AGORA initial condition](https://goo.gl/8JzbIJ) + - [AGORA initial conditions](https://goo.gl/8JzbIJ) - [Enzo setup](https://bitbucket.org/enzo/enzo-dev/src/19f4a44e06f1c386573dc77b3608ba66b64d93bc/run/Hydro/Hydro-3D/AgoraGalaxy/?at=week-of-code) - [Goldbaum et al. 2016](https://arxiv.org/abs/1605.00646) - [yt hub](https://girder.hub.yt/#collection/5736481ddd9119000164acf1) -3. Run the script `download_ic.sh` to download the low-resolution initial condition files for this test -> [!NOTE] -> It's the same script used in the "AgoraGalaxy" test problem of Enzo. + - [CloudyData_UVB table](https://github.com/grackle-project/grackle_data_files/tree/main/input) +3. The low-resolution initial condition files from `sh download_ic_low_res.sh` are the same initial conditions used + in the `AgoraGalaxy` test problem of Enzo 4. Some handy yt analysis scripts are put at `yt_script` + + +# First-time GRACKLE installation guide (on NTU clusters as an example) + +Please refer to the README file at `./example/grackle/` diff --git a/doc/wiki/Test-Problem-related/Test-Problems:-DiskHeating.md b/doc/wiki/Test-Problem-related/Test-Problems:-DiskHeating.md index 718197c79..bad3ba745 100644 --- a/doc/wiki/Test-Problem-related/Test-Problems:-DiskHeating.md +++ b/doc/wiki/Test-Problem-related/Test-Problems:-DiskHeating.md @@ -19,6 +19,8 @@ - Available options - [[Miscellaneous Options | Installation:-Option-List#miscellaneous-options]] +> [!NOTE] +> DiskHeatingParticleIC uses the floating-point type for particle type and assumes single precision # Quick start 0. Generate `gamer` @@ -44,9 +46,9 @@ 4. Switch to the high-resolution run - 1. Link high-resolution `PAR_IC` + 1. Link high-resolution `DiskHeatingParticleIC` ```bash - ln -sf ic_files/PAR_IC_0.4_M7 PAR_IC + ln -sf ic_files/PAR_IC_0.4_M7 DiskHeatingParticleIC ``` 2. Set [[PAR_NPAR | Particles#PAR_NPAR]]=80000000, [[MAX_LEVEL | Runtime-Parameters:-Refinement#MAX_LEVEL]]=3, and change all values in `Input__Flag_NParPatch` to `800` @@ -61,7 +63,7 @@ c. Set center to be the location of the soliton in `get_par_ic.py` - d. Execute `get_par_ic.py`, it will generate `PAR_IC` + d. Execute `get_par_ic.py`, it will generate `DiskHeatingParticleIC` 2. Halo