Building a cosmological hydrodynamic code: Consistency condition, moving mesh gravity, and SLH-P(3)M

被引:37
作者
Gnedin, NY [1 ]
Bertschinger, E [1 ]
机构
[1] PRINCETON UNIV OBSERV, PRINCETON, NJ 08544 USA
基金
美国国家科学基金会;
关键词
cosmology; theory; dark matter; hydrodynamics large-scale structure of universe; numerical methods;
D O I
10.1086/177854
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
Building a self-gravitating hydrodynamic code as a combination of a hydrodynamic solver and a gravity solver is discussed. We show that straightforward combining of those two solvers generally leads to a code that does not conserve energy locally, and instead a special gravitational consistency condition ought to be satisfied. A particular example of combining softened Lagrangian hydrodynamics (SLH) with a P(3)M gravity solver is used to demonstrate the effect of the gravitational consistency condition for a self-gravitating hydrodynamic code. The need to supplement the SLH method with the P(3)M gravity solver arose because the moving mesh gravity solver, used in conjunction with the SLH method previously, was found to produce inaccurate results. We also show that most existing cosmological hydrodynamic codes implicitly satisfy the gravitational consistency condition.
引用
收藏
页码:115 / 130
页数:16
相关论文
共 36 条