Commit Graph

31 Commits

Author SHA1 Message Date
Carl Pearson
fc03675d61 add gaussian explosion code 2021-03-24 16:45:05 -06:00
Miikka Vaisala
d4ee066b3c Periodic boundary conditions work with switchable system.
Still some issue with the custom alternatives. Need to look into kernels again.
2020-11-20 17:00:48 +08:00
jpekkila
3c3b2a1885 Reverted the default settings to what they were before merge. Note: LFORCING (1) is potentially not tested properly, TODO recheck. 2020-06-24 15:35:19 +03:00
jpekkila
17a4f31451 Added the latest setup used for benchmarks 2020-06-04 20:47:03 +03:00
jpekkila
0d80834619 Disabled forcing and upwinding for performance tests. Set default grid size to 512^3. Set default cmake params s.t. benchmarks can be reproduced out-of-the-box. 2020-06-02 14:09:00 +03:00
Miikka Vaisala
185b33980f Forcing function bug correction. 2020-01-14 13:58:11 +08:00
Miikka Vaisala
f8e82d41af Can now set the endtime for simulation, instead of step number. 2019-10-02 15:09:26 +08:00
Miikka Vaisala
1b0e9803b0 Compiles and runs again.
Now to actual testing. Can we read and cotinue from and old file?
2019-10-02 13:52:38 +08:00
Miikka Vaisala
88a8198810 Revising the initial condition into a self-similar profile. 2019-09-03 18:42:14 +08:00
Miikka Vaisala
dac509241f Cleanup, comments and a new template. 2019-09-03 15:24:58 +08:00
JackHsu
083ff59ed1 config templates over summer project. 2019-08-30 15:16:09 +08:00
JackHsu
5617eaac8a stable disk-like model. 2019-08-23 16:49:51 +08:00
Miikka Vaisala
4d4a7e53a7 Stable seeming core collapse configuration. 2019-08-22 19:13:51 +08:00
JackHsu
7f47bf5bfc shorter time steps to turn on accretion (due to no forcing), and comment for unit_length. 2019-08-22 16:46:42 +08:00
JackHsu
4414125a08 config file for a six hour stable run. 2019-08-22 11:15:03 +08:00
JackHsu
9a1a6fef17 modified the sink_mass initial value to make it stable. 2019-08-19 15:38:35 +08:00
Miikka Vaisala
5d93d743c7 Improved sink particle stability vie Truelove criterion. 2019-08-19 14:38:36 +08:00
Miikka Vaisala
1bfb0390ad Seemingly reasonable sink for both density and velocity. 2019-08-16 13:29:34 +08:00
JackHsu
89128af44b added update_accretion_buffer. 2019-08-08 15:53:41 +08:00
JackHsu
2a26b58c38 Attempted to add accretion_profile function, and made it adjustable within astaroth.conf 2019-08-07 11:21:24 +08:00
Miikka Vaisala
e199ca196d Merge branch 'master' into sink_20190723 2019-08-07 10:46:23 +08:00
jpekkila
d7e26e8f21 Added forcing from stencil_process.sps to autotests. 3 Tests fail. 2019-08-06 19:15:28 +03:00
JackHsu
0491f83e8b Added the correct file this time. 2019-08-05 14:38:46 +08:00
Miikka Vaisala
99d80f7175 Renaming for bug correction. Use now AC_M_sink_Msun in astaroth.conf instead of AC_M_sink! 2019-08-01 18:06:57 +08:00
Miikka Vaisala
e1b34480fc Default sink position at [pi, pi, pi] for clarity. 2019-08-01 17:25:14 +08:00
JackHsu
29d6a9b00a Fixed scaling for sink particle, and added softening factor. 2019-08-01 16:33:58 +08:00
JackHsu
d5a3d896aa Fixed astaroth.conf. 2019-08-01 13:36:05 +08:00
Miikka Vaisala
d0eb308f17 Better interface to forcing. 2019-07-02 16:35:14 +08:00
Miikka Vaisala
71a35b2027 Defined nz
Otherwise the coude would not compile.
2019-06-18 11:58:46 +08:00
jpekkila
f970dca68c Disabled a power-of-two error check as this may be too strict. See test_dims in autotest.cc which dimensions are guaranteed to work with reductions. Other dimensions may also work but are not yet extensively tested 2019-06-17 18:32:23 +03:00
jpekkila
0e48766a68 Added Astaroth 2.0 2019-06-14 14:19:07 +03:00