Homec4science
Diffusion Gear 934a589e00de

Re-implementation of the accretion (gas only).

Authored by revaz on Dec 26 2012, 14:04.

Description

Re-implementation of the accretion (gas only).

The accreated particles are injected when their accretion time is
lower than the current time. The accretion time is stored in the initial
condition file in place of the mass, with a negative value.

In cooling.c, we have multiply the min temperature by a factor of 2,
in order to avoid numerical problems when the cooling is very high.
This is not a real solution, and this should be better fixed.
The problem is due to the fact that because we use the entropy, if we
ensure that the temperature is higher than the min temperature for the
predicted time steps, this may not be respected, because the density also
varies.

Details

Committed
revazDec 26 2012, 14:04
Pushed
revazFeb 12 2017, 23:38
Parents
rGEAR55efee195406: in init.c : when DENSITY_INDEPENDENT_SPH is used, the initialisation is more…
Branches
Unknown
Tags
Unknown