Changes between Version 5 and Version 6 of u/BonnorEbertModule
- Timestamp:
- 10/03/12 16:04:48 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/BonnorEbertModule
v5 v6 7 7 }}} 8 8 9 Where r is dimensional radius of the sphere, Cs is isothermal sound speed(function of the temperature), and rho_c is the central density of the sphere. Once the user specifies r, rho_c, and xi for the sphere (see next section), astrobear sets both a) the temperature of the sphere using the above equation, and b) the outer density of the sphere. One can then use the ideal EOS in physics.data with a gamma = 1.0001 to approximate the grid as isothermal. Given P = nKT, the pressure of the sphere then drops away from the center of the sphere with the same gradient as rho.9 and r is the dimensional radius of the sphere, Cs is the isothermal sound speed of the sphere (function of the temperature), and rho_c is the central density of the sphere. Once the user specifies r, rho_c, and xi for the sphere (see next section), astrobear sets both a) the temperature of the sphere using the above equation, and b) the outer density of the sphere. One can then use the ideal EOS in physics.data with a gamma = 1.0001 to approximate the grid as isothermal. Given P = nKT, the pressure of the sphere then drops away from the center of the sphere with the same gradient as rho. 10 10 11 11 Now, that all explains the clump object itself, but there is an additional "object" in the BE problem module that controls the ambient medium in which the clump resides. This ambient object is by default set to have a uniform density, equal to the density at the sphere's outer most edge, rho(Rbe). Additionally, it is also in pressure equilibrium with the sphere. That is, Pamb=P(Rbe). Now, since the simulation is isothermal, this condition means the temperature is discontinuous at the sphere-ambient interface, given by P/n = KT, where n is the number-density of the gas.