sunbather.solveT
Functions
|
Calculates the ratio of total heating to total cooling. |
|
Calculates advection heating/cooling (Linssen et al. 2024 Eq. |
|
Checks if there is a point in the atmosphere where we can use the construction algorithm. |
|
Calculates expansion cooling (Linssen et al. 2024 Eq. |
|
Checks whether the temperature profile is converged. |
|
Deletes all files in a folder that are not called "converged*". |
|
Proposes a new temperature profile based on a 'construction' algorithm, starting at the cloc and at higher altitudes. |
|
Returns a new temperature profile based on a previous non-converged temperature profile and the associated heating/cooling imbalance. |
|
Makes a plot of the converged temperature profile, as well as the different heating/cooling rates. |
|
Makes a plot of the previous and newly proposed temperature profiles, as well as the different heating/cooling rates and their ratio based on the previous temperature profile. |
|
Proposes a new temperature profile using a 'relaxation' algorithm. |
|
Solves for the nonisothermal temperature profile of a Parker wind profile through an iterative convergence scheme including Cloudy. |
|
Extracts various needed quantities from a Cloudy simulation and interpolates them onto the provided radius grid. |