shorter time steps to turn on accretion (due to no forcing), and comment for unit_length.

This commit is contained in:
JackHsu
2019-08-22 16:46:42 +08:00
parent a81bc22fb6
commit 7f47bf5bfc
2 changed files with 2 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ AC_accretion_range = 0.2
AC_unit_velocity = 1e5
// using density estimate of 100 H2 molecules per cm^3
AC_unit_density = 3e-22
// using 10,000 AU
AC_unit_length = 1.5e17
/*

View File

@@ -270,7 +270,7 @@ run_simulation(void)
vertex_buffer_set(VTXBUF_ACCRETION, 0.0, mesh);
int on_off_switch;
if (i < 1000) {
if (i < 50) {
on_off_switch = 0; //accretion is off till 1000 steps.
} else {
on_off_switch = 1;