Piecewise equation of state in Gadget code

From: Hassan Fathivavsari <h.fathie_at_gmail.com>
Date: Tue, 9 Aug 2022 13:39:06 +0200

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 : 2022-09-01 14:03:43 CEST