Piecewise equation of state in Gadget code
Dear all,
I am using Gadget 4 to simulate the collapse of a spherical gas cloud.
Initially, the process is isothermal but when the density reaches a
certain value, the process becomes adiabatic. Therefore, I would need
the Gadget code to consider a piecewise equation of state depending
on the gas density. Would it be possible to do this in Gadget code?
I would be grateful for any help with this.
Many thanks.
Best regards,
Hassan
Received on 2022-08-09 13:39:24
This archive was generated by hypermail 2.3.0
: 2023-01-10 10:01:33 CET