Universe Sandbox Wiki
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
At every [[Time Step]] during the simulation, Universe Sandbox calculates the change in the surface temperature across the surface of every [[Planetary Body]] object in the simulation. These calculations consider the effects of incoming heat from sources like nearby [[Star|stars]], the effects of cooling, and the spread of heat across the surface of the object.
+
At every [[N-Body_Simulation#Time_Step|time step]] during the simulation, Universe Sandbox calculates the change in the surface temperature across the surface of every [[Planetary Body]], [[Star]], [[Black Hole]], [[Fragment]], and [[Human-Scale Object]] in the simulation. These calculations consider the effects of incoming heat from sources like nearby [[Star|stars]], the effects of cooling, and the spread of heat across the surface of the object.
   
 
==Related Properties & Settings==
 
==Related Properties & Settings==
   
 
===Properties===
 
===Properties===
* The temperature of each point on the object's surface can be seen by hovering over that spot on the Temperature [[Surface Map|surface map]].
+
* The temperature of each point on a [[Planetary Body]] object's surface can be seen by hovering over that spot on the Temperature [[Surface Map|surface map]].
* The [[Average Surface Temperature]] property of an object represents the average temperature over the entire surface of the object.
+
* The [[Average Temperature]] or [[Surface Temperature]] property of an object represents the average temperature over the entire surface of the object.
 
* The [[Minimum Temperature]] and [[Maximum Temperature]] represent the lowest and highest temperatures on the Temperature map, respectively.
 
* The [[Minimum Temperature]] and [[Maximum Temperature]] represent the lowest and highest temperatures on the Temperature map, respectively.
 
* Several properties related to the movement of energy into and out of the object, and the effect of this energy flow on temperature, are listed in the Energy Flow section of the object's properties panel.
 
* Several properties related to the movement of energy into and out of the object, and the effect of this energy flow on temperature, are listed in the Energy Flow section of the object's properties panel.
Line 20: Line 20:
 
The temperature of an object depends on the flow of energy in and out of the object. The rate at which energy is absorbed and radiated by the object, also known as the power, will affect the rate at which the temperature changes.
 
The temperature of an object depends on the flow of energy in and out of the object. The rate at which energy is absorbed and radiated by the object, also known as the power, will affect the rate at which the temperature changes.
   
For each point on the [[Surface Map|surface map]] of the object, Universe Sandbox performs the following calculations in each time step. First, Universe Sandbox calculates the rate of energy absorbed from various sources in the simulation (listed below). The total [[Energy Absorption Rate]], or absorption power, is the sum of the the rates from each source:
+
For each object, or each point on the [[Surface Map|surface map]] of a Planetary Body object, Universe Sandbox performs the following calculations in each time step. First, Universe Sandbox calculates the rate of energy absorbed from various sources in the simulation (listed below). The total [[Energy Absorption Rate]], or absorption power, is the sum of the the rates from each source:
:<math>P_{abs} = P_{stars} + P_{atmo} + P_{tidal} + P_{nova} + P_{clouds}. </math>
+
:<math>P_{abs} = P_{fusion} + P_{stars} + P_{atmo} + P_{tidal} + P_{nova} + P_{clouds}. </math>
   
 
The power absorbed by an object can come from a number of sources, including:
 
The power absorbed by an object can come from a number of sources, including:
  +
* [[Fusion Power|Fusion Heating]] due to fusion inside stars and larger planets
 
* [[Stellar Heating]] from [[Star|stars]] in the simulation
 
* [[Stellar Heating]] from [[Star|stars]] in the simulation
 
* [[Atmosphere Heating]] from the object's atmosphere radiating heat back towards the surface
 
* [[Atmosphere Heating]] from the object's atmosphere radiating heat back towards the surface
Line 30: Line 31:
 
* [[Supernova Drag Heating]] due to friction from passing [[Supernova Cloud]] objects
 
* [[Supernova Drag Heating]] due to friction from passing [[Supernova Cloud]] objects
   
In each time step, the each point on the object's surface will also radiate energy out into space. The [[Energy Radiation Rate]], or radiation power, is calculated from the temperature of the point using the [https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_law Stefan-Boltzmann law]:
+
In each time step, each object or point on the object's surface will also radiate energy out into space. The [[Energy Radiation Rate]], or radiation power, is calculated from the temperature of the object or point using the [https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_law Stefan-Boltzmann law]:
 
:<math>P_{rad} = \sigma T^4 4 \pi R^2, </math>
 
:<math>P_{rad} = \sigma T^4 4 \pi R^2, </math>
 
where σ is the [https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_constant Stefan-Boltzmann constant] and ''R'' is the radius of the object.
 
where σ is the [https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_constant Stefan-Boltzmann constant] and ''R'' is the radius of the object.
Line 36: Line 37:
 
===Surface Temperature===
 
===Surface Temperature===
   
The change in the temperature of each point on the object's surface, Δ''T'', is calculated using the [[Energy Absorption Rate]], ''P<sub>abs</sub>'', the [[Energy Radiation Rate]], ''P<sub>rad</sub>'', the time step, Δ''t'', and the object's [[Surface Heat Capacity]], ''C'', using
+
The change in the temperature of each object or point on the object's surface, Δ''T'', is calculated using the [[Energy Absorption Rate]], ''P<sub>abs</sub>'', the [[Energy Radiation Rate]], ''P<sub>rad</sub>'', the time step, Δ''t'', and the object's [[Surface Heat Capacity]], ''C'', using
:<math>\Delta T = (P_{abs} - P_{rad})\Delta T / C. </math>
+
:<math>\Delta T = (P_{abs} - P_{rad})\Delta t / C. </math>
   
  +
The [[Surface Temperature]] of Stars, Black Holes, Fragments, and Human-Scale Objects is calculated at each time step using this change in temperature.
Heat flows from areas of high temperature to areas of low temperature, so the heat in a single point on the surface map of an object may spread or [https://en.wikipedia.org/wiki/Diffusion diffuse] into nearby points, and the heat in those points may spread to the first point. Universe Sandbox calculates this diffusion by using the [https://en.wikipedia.org/wiki/FTCS_scheme FTCS method] to solve the [https://en.wikipedia.org/wiki/Heat_equation heat equation]. The speed of diffusion, which in reality depends on the material that makes up the surface, is determined by the simulation's [[Sim Settings Menu#Heat Diffusion Rate|Heat Diffusion Rate]]. The temperatures of each point on the surface map are then corrected based on the results of this diffusion calculation.
 
   
 
On the surfaces of Planetary Bodies, heat flows from areas of high temperature to areas of low temperature, so the heat in a single point on the surface map of a Planetary Body object may spread or [https://en.wikipedia.org/wiki/Diffusion diffuse] into nearby points, and the heat in those points may spread to the first point. Universe Sandbox calculates this diffusion by using the [https://en.wikipedia.org/wiki/FTCS_scheme FTCS method] to solve the [https://en.wikipedia.org/wiki/Heat_equation heat equation]. The speed of diffusion, which in reality depends on the material that makes up the surface, is determined by the simulation's [[Sim Settings Menu#Heat Diffusion Rate|Heat Diffusion Rate]]. The temperatures of each point on the surface map are then corrected based on the results of this diffusion calculation.
The [[Average Surface Temperature]] is calculated by averaging the surface temperatures of each point on the surface, weighted by the area of each point.
 
  +
 
The [[Average Temperature]] of a Planetary Body object is then calculated by averaging the surface temperatures of each point on the surface, weighted by the area of each point.
   
 
===Equilibrium and Effective Temperatures===
 
===Equilibrium and Effective Temperatures===
Line 47: Line 50:
 
As described above, the change of temperature in each time step depends on the flow of energy into and out of the object. When the absorbed power exactly equals the radiated power, the object is in [https://en.wikipedia.org/wiki/Thermal_equilibrium thermal equilibrium], and its temperature will not change. Since the radiated power depends on the temperature of the object, there is a certain temperature where this equilibrium occurs, <math>T_{eq}</math>. At the [[Equilibrium Temperature]], the radiated power equals the absorbed power:
 
As described above, the change of temperature in each time step depends on the flow of energy into and out of the object. When the absorbed power exactly equals the radiated power, the object is in [https://en.wikipedia.org/wiki/Thermal_equilibrium thermal equilibrium], and its temperature will not change. Since the radiated power depends on the temperature of the object, there is a certain temperature where this equilibrium occurs, <math>T_{eq}</math>. At the [[Equilibrium Temperature]], the radiated power equals the absorbed power:
 
:<math>P_{rad} = P_{abs}</math>
 
:<math>P_{rad} = P_{abs}</math>
:<math>\sigma T_{eq}^4 4 \pi R^2 = P_{stars} + P_{atmo} + P_{tidal} + P_{nova} + P_{clouds}</math>
+
:<math>\sigma T_{eq}^4 4 \pi R^2 = P_{fusion} + P_{stars} + P_{atmo} + P_{tidal} + P_{nova} + P_{clouds}</math>
   
 
The [[Effective Temperature]] is the equilibrium temperature that the object would have if it were a perfect blackbody. In the case of the Universe Sandbox simulation, this means the equilibrium temperature the object would have without an atmosphere:
 
The [[Effective Temperature]] is the equilibrium temperature that the object would have if it were a perfect blackbody. In the case of the Universe Sandbox simulation, this means the equilibrium temperature the object would have without an atmosphere:
:<math>\sigma T_{eff}^4 4 \pi R^2 = P_{stars} + P_{nova} + P_{tidal} + P_{clouds}</math>
+
:<math>\sigma T_{eff}^4 4 \pi R^2 = P_{fusion} + P_{stars} + P_{nova} + P_{tidal} + P_{clouds}</math>
   
 
If the object does not have an atmosphere, the Equilibrium Temperature will equal the Effective Temperature.
 
If the object does not have an atmosphere, the Equilibrium Temperature will equal the Effective Temperature.

Latest revision as of 01:18, 22 June 2021

At every time step during the simulation, Universe Sandbox calculates the change in the surface temperature across the surface of every Planetary Body, Star, Black Hole, Fragment, and Human-Scale Object in the simulation. These calculations consider the effects of incoming heat from sources like nearby stars, the effects of cooling, and the spread of heat across the surface of the object.

Related Properties & Settings[ | ]

Properties[ | ]

  • The temperature of each point on a Planetary Body object's surface can be seen by hovering over that spot on the Temperature surface map.
  • The Average Temperature or Surface Temperature property of an object represents the average temperature over the entire surface of the object.
  • The Minimum Temperature and Maximum Temperature represent the lowest and highest temperatures on the Temperature map, respectively.
  • Several properties related to the movement of energy into and out of the object, and the effect of this energy flow on temperature, are listed in the Energy Flow section of the object's properties panel.

Settings[ | ]

Models[ | ]

Energy Flow[ | ]

The temperature of an object depends on the flow of energy in and out of the object. The rate at which energy is absorbed and radiated by the object, also known as the power, will affect the rate at which the temperature changes.

For each object, or each point on the surface map of a Planetary Body object, Universe Sandbox performs the following calculations in each time step. First, Universe Sandbox calculates the rate of energy absorbed from various sources in the simulation (listed below). The total Energy Absorption Rate, or absorption power, is the sum of the the rates from each source:

The power absorbed by an object can come from a number of sources, including:

In each time step, each object or point on the object's surface will also radiate energy out into space. The Energy Radiation Rate, or radiation power, is calculated from the temperature of the object or point using the Stefan-Boltzmann law:

where σ is the Stefan-Boltzmann constant and R is the radius of the object.

Surface Temperature[ | ]

The change in the temperature of each object or point on the object's surface, ΔT, is calculated using the Energy Absorption Rate, Pabs, the Energy Radiation Rate, Prad, the time step, Δt, and the object's Surface Heat Capacity, C, using

The Surface Temperature of Stars, Black Holes, Fragments, and Human-Scale Objects is calculated at each time step using this change in temperature.

On the surfaces of Planetary Bodies, heat flows from areas of high temperature to areas of low temperature, so the heat in a single point on the surface map of a Planetary Body object may spread or diffuse into nearby points, and the heat in those points may spread to the first point. Universe Sandbox calculates this diffusion by using the FTCS method to solve the heat equation. The speed of diffusion, which in reality depends on the material that makes up the surface, is determined by the simulation's Heat Diffusion Rate. The temperatures of each point on the surface map are then corrected based on the results of this diffusion calculation.

The Average Temperature of a Planetary Body object is then calculated by averaging the surface temperatures of each point on the surface, weighted by the area of each point.

Equilibrium and Effective Temperatures[ | ]

As described above, the change of temperature in each time step depends on the flow of energy into and out of the object. When the absorbed power exactly equals the radiated power, the object is in thermal equilibrium, and its temperature will not change. Since the radiated power depends on the temperature of the object, there is a certain temperature where this equilibrium occurs, . At the Equilibrium Temperature, the radiated power equals the absorbed power:

The Effective Temperature is the equilibrium temperature that the object would have if it were a perfect blackbody. In the case of the Universe Sandbox simulation, this means the equilibrium temperature the object would have without an atmosphere:

If the object does not have an atmosphere, the Equilibrium Temperature will equal the Effective Temperature.

Limitations[ | ]

Heating/Cooling[ | ]

The rate at which an object radiates energy into space depends strongly on its temperature (in fact, it depends on temperature to the fourth power). But the rate at which the temperature changes depends on the energy radiation rate. This makes it challenging to accurately predict what the temperature of an object will be far in the future. Instead, Universe Sandbox approximates the temperature change as a linear change in each time step. This is similar to how Universe Sandbox approximates the motion of objects as being linear in each time step in the N-Body Simulation. As with the N-body simulation, this approximation works best for small time steps and slow rates of change.

At large time steps and/or large heating and cooling rates, the temperature calculations described above will become less accurate. Most notably, the errors in the temperature calculations for each point may affect the Average Surface Temperature, leading to errors in the Heating Rate.

Heat Diffusion[ | ]

The simulation of heat spreading from hotter regions of the surface to cooler regions also depends on the time step. At higher time steps, the FTCS method that Universe Sandbox uses to solve the heat equation becomes unstable and extremely inaccurate. At these higher time steps, Universe Sandbox will artificially lower the speed of heat diffusion to avoid instability in the solution.