Dear Gadget list members,
I noticed that when one uses PRESSURE_ENTROPY_SPH the variables Entropy and EntropyPred
are integrated during the Hydrokick in the function sim::hydro_force(...) but never used.
Instead the pressure is computed from EntropyToInvGammaPred. This alone wouldn't be confusing,
but at the same time in the function simparticles::drift_particle(...) these two variables
are integrated too, and then EntropyToInvGammaPred is updated in order to be consistent with them,
so I am wondering if either I don't understand this formulation of SPH well enough or instead
there is an update of EntropyToInvGammaPred missing in sim::hydro_force(...).
Thank you very much,
Leonard
--
============================================
Leonard Romano, B.Sc.(レオナルド・ロマノ)
Physics Department
Technical University of Munich (TUM), Germany
Theoretical Astrophysics Group
Department of Earth and Space Science
Graduate School of Science, Osaka University, Japan
he / him / his
============================================
Received on 2021-04-19 12:55:25