mirror of https://github.com/Askill/claude.git
Added in potential temperature
This commit is contained in:
parent
7fdef53e59
commit
612dcb100b
|
|
@ -10,6 +10,9 @@
|
|||
\usepackage{float}
|
||||
\usepackage{verbatim}
|
||||
\usepackage[normalem]{ulem}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{siunitx}
|
||||
|
||||
\setcounter{section}{-1}
|
||||
|
||||
\title{CLimate Analysis using Digital Estimations Non-Offical Manual (CLAuDE NOM)}
|
||||
|
|
@ -22,6 +25,8 @@
|
|||
|
||||
\tableofcontents
|
||||
|
||||
\newpage
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
The CLimate Analysis using Digital Estimations model is a simplified planetary climate model. It will be used to educate people on how climate physics works and to experiment with different
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 202 KiB |
|
|
@ -149,6 +149,18 @@ chapter={1},
|
|||
pages={12}
|
||||
}
|
||||
|
||||
@inbook{thermalPotential,
|
||||
place={Cambridge},
|
||||
edition={2nd},
|
||||
DOI={10.1017/9781107588417.003},
|
||||
title={Atmospheric and Oceanic Fluid Dynamics: Fundamentals and Large-Scale Circulation},
|
||||
publisher={Cambridge University Press},
|
||||
author={Vallis, Geoffrey K.},
|
||||
year={2017},
|
||||
chapter={1},
|
||||
pages={24}
|
||||
}
|
||||
|
||||
%Calculus
|
||||
@inbook{areaCircle,
|
||||
place={Don Mills, Ont.},
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@ With thermal diffusion in place, the temperature will spread out a bit, however
|
|||
going to change that. The advection equation is shown in \autoref{eq:advection}. The symbols are:
|
||||
|
||||
\begin{itemize}
|
||||
\item $\psi$: What is carried along (in our case temperature, $K$).
|
||||
\item $t$: The time ($s$).
|
||||
\item $u$: The fluid velocity vector ($ms^{-1}$).
|
||||
\item $\psi$: What is carried along (in our case temperature, \si{K}).
|
||||
\item $t$: The time (\si{s}).
|
||||
\item $u$: The fluid velocity vector (\si{ms^{-1}}).
|
||||
\item $\nabla$: The divergence operator (as explained in \autoref{sec:laplace}).
|
||||
\end{itemize}
|
||||
|
||||
|
|
@ -113,4 +113,111 @@ First thing to mention is that vertical advection is still broken. Why? Because
|
|||
we calculate the difference from one layer to the other is by differencing them (subtracting) which is always finite. Therefore we always get some inaccuracies. Usually that is fine, but with an
|
||||
exponential function the differences, you guessed it, become exponentially wrong. As such, the function would eventually be so far off that the model would blow up. So we need to fix it. To
|
||||
prevent a blow up, we have disabled the call to the gradient $z$ function in \autoref{alg:divergence}. This ensures that the horizontal bits still work, but the vertical stuff does not.
|
||||
As always, we will try to fix this in a future stream.
|
||||
As always, we will try to fix this in the future.
|
||||
|
||||
\subsection{Adiabatic Motion}
|
||||
Up until now, we have been moving air and the density of the atmosphere. However we have not transported any temperature yet. What this means is that if we have a packet of air (see it as a box
|
||||
filled with air, but the box is invisible) $P$ which is at the planet surface. There $P$ has temperature $T_1$. If we then move $P$ to a layer higher up in the atmosphere, $P$ will still have
|
||||
the same temperature, which is wrong because the density differs. Due to this difference, there is either more or less pressure applied to the box of air which means that $P$ will contract or
|
||||
expand. This obviously changes it's temperature as the air molecules are closer together/further away from each other. Therefore the energy spread is different which affects the temperature.
|
||||
For a visual representation, please consult \autoref{fig:thermal potential}.
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.9\textwidth]{figures/potential_temperature.jpg}
|
||||
\caption{Visual representation of why we need Thermal Potential \cite{simon}.}
|
||||
\label{fig:thermal potential}
|
||||
\end{figure}
|
||||
|
||||
As seen in \autoref{fig:thermal potential}, the packet of air (next to $T_1$) moves up into a higher layer of the atmosphere and ends up at the top (next to $T_2$). The packet has grown bigger,
|
||||
as the density in that atmospheric layer is lower and hence the air expands. Because the same energy is in that packet, but it has expanded, the temperature of that packet drops which gives us
|
||||
$T_2 < T_1$. The light blue graph in the background shows how the density behaves the higher you go, meaning at the far right (when we are at the highest point) the density is quite low and at
|
||||
the far left (when we are at the planet surface) the density is quite high. The yellow graph shows the temperature of the air at that height, which behaves similarly to the density graph.
|
||||
|
||||
Thermal potential or potential temperature, is the temperature that the packet of air would be if it is at the planet surface. So take the packet at $T_2$ in \autoref{fig:thermal potential}. If we move that down to the
|
||||
surface, then it would be temperature $T$ which is then equal to the thermal potential. The equation corresponding to thermal potential is shown in \autoref{eq:thermal potential}
|
||||
\cite{thermalPotential}. The symbols in \autoref{eq:thermal potential} mean:
|
||||
|
||||
\begin{itemize}
|
||||
\item $T$: The temperature of the packet of air (\si{K}).
|
||||
\item $p_0$: Reference pressure, usually the pressure at the planet surface (\si{Pa}).
|
||||
\item $p$: Pressure of the packet of air (\si{Pa}).
|
||||
\item $R$: Gas constant as defined in \autoref{sec:gas constant} (\si{JK^{-1}mol^{-1}}).
|
||||
\item $C_a$: Specific heat capacity of air at a constant pressure (\si{Jkg^{-1}K^{-1}}).
|
||||
\end{itemize}
|
||||
|
||||
\begin{subequations}
|
||||
\begin{equation}
|
||||
\theta = T(\frac{p_0}{p})^{\frac{R}{C_a}}
|
||||
\label{eq:thermal potential}
|
||||
\end{equation}
|
||||
\begin{equation}
|
||||
T = \theta(\frac{p}{p_0})^{\frac{R}{C_a}}
|
||||
\label{eq:potential temp}
|
||||
\end{equation}
|
||||
\end{subequations}
|
||||
|
||||
If we now re-arrange \autoref{eq:thermal potential} so that we have $T$ on one side and the rest on the other side, we get \autoref{eq:potential temp}. With this we can convert temperature into
|
||||
potential temperature and vice versa. The whole process of moving temperature around is called adiabatic motion. Now it is time to get this into code. For this to work we need to translate both
|
||||
\autoref{eq:thermal potential} and \autoref{eq:potential temp} into code and create an overarching function that calls the previously mentioned equations. Let us start with
|
||||
\autoref{eq:thermal potential} which is described in \autoref{alg:temp to pot}. Note that $\frac{R}{C_a}$ does not change as they are constants, therefore we can precompute them which saves quite
|
||||
a bit of time (namely $O(n^3)$ divisions, where $n$ is the length of each dimension of $T_a$). Also note that we can inverse the process by inserting a minus in the exponent and swapping $T_a$
|
||||
and $\theta$, which can easily be done in the call to \autoref{alg:temp to pot}.
|
||||
|
||||
\begin{algorithm}
|
||||
\SetKwInOut{Input}{Input}
|
||||
\SetKwInOut{Output}{Output}
|
||||
\Input{temperature of the atmosphere $T_a$, air pressure $p$, boolean $back$}
|
||||
\Output{potential temperature $\theta$}
|
||||
\uIf{$back$}{
|
||||
$\kappa \leftarrow -\frac{R}{C_a}$ \;
|
||||
}\uElse{
|
||||
$\kappa \leftarrow \frac{R}{C_a}$ \;
|
||||
}
|
||||
\For{$i \leftarrow 0$ \KwTo $T_a.length$}{
|
||||
\For{$j \leftarrow 0$ \KwTo $T_a[i].length$}{
|
||||
$p_0 \leftarrow p[i, j 0]$ \;
|
||||
\For{$k \leftarrow 0$ \KwTo $T_a[i, j].length$}{
|
||||
$\theta[i, j, k] \leftarrow T_a[i, j, k] (\frac{p[i, j, k]}{p_0})^{\kappa}$
|
||||
}
|
||||
}
|
||||
}
|
||||
\Return{$\theta$}
|
||||
\caption{Converting temperature into potential temperature}
|
||||
\label{alg:temp to pot}
|
||||
\end{algorithm}
|
||||
|
||||
With that done we now only need to create the overarching function that will call \autoref{alg:temp to pot}. This function will be based on \autoref{alg:divergence} as it is quite similar for
|
||||
what we need to do, however we need to replace a call so we do need to make it a seperate function. Let us do that in \autoref{alg:thermal pot}. Here \texttt{TToTheta} represents the call to
|
||||
\autoref{alg:temp to pot}.
|
||||
|
||||
\begin{algorithm}[!hbt]
|
||||
\SetKwInOut{Input}{Input}
|
||||
\SetKwInOut{Output}{Output}
|
||||
\Input{temperature of the atmosphere $T_a$, pressure $p$}
|
||||
\Output{temperature of the atmosphere after advection $output$}
|
||||
$\theta \leftarrow $ \texttt{TToTheta}($T_a, p,$ \texttt{FALSE}) \;
|
||||
\For{$i \leftarrow 0$ \KwTo $a.length$}{
|
||||
\For{$j \leftarrow 0$ \KwTo $a[i].length$}{
|
||||
\For{$k \leftarrow 0$ \KwTo $a[i, j].length$}{
|
||||
$output[i, j, k] \leftarrow \Delta_x(\theta u, i, j, k) + \Delta_y(\theta v, i, j, k) + \Delta_z(\theta w, i, j, k)$ \;
|
||||
}
|
||||
}
|
||||
}
|
||||
$output \leftarrow $ \texttt{TToTheta}($output, p,$ \texttt{TRUE}) \;
|
||||
\Return{$output$} \;
|
||||
\caption{Calculate the result of the thermal advection}
|
||||
\label{alg:thermal pot}
|
||||
\end{algorithm}
|
||||
|
||||
Now we only need to do one more thing, replace the algorithm that calculates $T_a$ as a result of advection. Let us do that in \autoref{alg:advection pot}, where \texttt{ThermalAdv} is the call
|
||||
to \autoref{alg:thermal pot}.
|
||||
|
||||
\begin{algorithm}
|
||||
$T_{add} \leftarrow T_a + $ \texttt{ThermalAdv}$(T_a, p)$\;
|
||||
$T_a \leftarrow T_a - 0.5T_{add}[adv\_boun:-adv\_boun, :, :] \text{ //Only subtract } T_{add} \text{ to } T_a \text{ for indices in the interval } [-nlat + adv\_boun, nlat - adv\_boun]$. \;
|
||||
$\rho[adv\_boun: -adv\_boun, :, :] \leftarrow \rho - 0.5(\delta t \nabla \rho) \text{ //Only change the density for indices in the interval } [-nlat + adv\_boun, nlat - adv\_boun]$ \;
|
||||
$T_p \leftarrow T_p + \delta t \alpha_p \nabla^2(T_p)$ \;
|
||||
\caption{The main calculations for calculating the effects of advection}
|
||||
\label{alg:advection pot}
|
||||
\end{algorithm}
|
||||
|
|
@ -11,7 +11,7 @@ do that we start with the fixed part of the Control Panel, the physical constant
|
|||
gravity is, how fast they spin around their axis and many many more. What does not change are the physical constants, well because they are constant. The Stefan-Boltzmann constant for instance
|
||||
does not change. Whether you are on Earth, in space or on Jupiter, the value of the Stefan-Boltzmann constant will remain the same.
|
||||
|
||||
The Stefan-Boltzmann constant is denoted by $\sigma$ and has a value of $5.670373 \cdot 10^-8 \ (Wm^{-2}K^{-4})$ \cite{stefan-boltzmann}. The $\sigma$ is a greek letter called sigma. Greek
|
||||
The Stefan-Boltzmann constant is denoted by $\sigma$ and has a value of $5.670373 \cdot 10^-8$ (\si{Wm^{-2}K^{-4}}) \cite{stefan-boltzmann}. The $\sigma$ is a greek letter called sigma. Greek
|
||||
letters are often used in mathematics, as well as in physics or any other discipline that relies on maths (spoiler alert, quite a lot). Treat it like a normal letter in maths, representing a
|
||||
number that you either do not know yet or is too long or cumbersome to write down every time. The Stefan-Boltzmann constant is denoted in scientific notation, a number followed by the order of
|
||||
magnitude. It is denoted as a multiplication, because that is what you have to do to get the real number. An example: $4.3 \cdot 10^2 = 430$ and $4.3 \cdot 10^{-2} = 0.043$. The
|
||||
|
|
@ -21,29 +21,29 @@ letters you will find the following: [number]. This is a citation, a reference t
|
|||
citation to show that I am not making these numbers up. This is what scientists use to back up their claims if they do not want to redo the work that others have done. I mean what is the point
|
||||
of re-inventing the wheel if there is a tyre company next door? That is why scientists citate.
|
||||
|
||||
So with that out of the way, let us write down some constants. Why do I do this here? Because a lot of constants are used everywhere and I am too lazy to relicate them every time. If you see a
|
||||
So with that out of the way, let us write down some constants. Why do I do this here? Because a lot of constants are used everywhere and I am too lazy to replicate them every time. If you see a
|
||||
letter or symbol that is not explicitly explained, then it is most likely a constant that we discuss here in the control panel.
|
||||
|
||||
\subsection{Physical Constants}
|
||||
As mentioned before, physical constants do not change based on where you are in the universe. Below you will find an overview of all the relevant constants together with their units. And a short
|
||||
explanation where they are used or what they represent. To see them in action, consult the other sections of this manual, you will find them in equations all throughout this document.
|
||||
|
||||
\subsubsection{The Gas Constant}
|
||||
The Gas constant, $R = 8.3144621$ ($J(mol)^{-1}K$) \cite{idealGas} is the constant used to relate the temperature of the gas to the pressure and the volume. One would expect this constant to be
|
||||
\subsubsection{The Gas Constant} \label{sec:gas constant}
|
||||
The Gas constant, $R = 8.3144621$ (\si{JK^{-1}mol^{-1}}) \cite{idealGas} is the constant used to relate the temperature of the gas to the pressure and the volume. One would expect this constant to be
|
||||
different per gas, but under high enough temperatures and low enough pressure the gas constant is the same for all gases.
|
||||
|
||||
\subsubsection{The Specific Heat Capacity}
|
||||
The specific heat capacity $c$ depicts how much energy is required to heat the object by one degree Kelvin per unit mass ($\frac{J}{Kg \cdot K}$) \cite{specificHeat}. This varies per material
|
||||
and is usually indicated by a subscript. The specific heat capacity for water for instance is $c_w = 4190 JKg^{-1}K^{-1}$. Specific heat capacities also exist in the form of $Jg^{-1}K^{-1}$,
|
||||
$Jmol^{-1}K^{-1}$ and $Jcm^{-3}K^{-1}$ which you can use in various circumstances, depending on what information you have.
|
||||
The specific heat capacity $c$ depicts how much energy is required to heat the object by one degree Kelvin per unit mass (\si{Jkg^{-1}K^{-1}}) \cite{specificHeat}. This varies per material
|
||||
and is usually indicated by a subscript. The specific heat capacity for water for instance is $c_w = 4190$ \si{Jkg^{-1}K^{-1}}. Specific heat capacities also exist in the form of
|
||||
\si{Jkg^{-1}K^{-1}}, \si{Jmol^{-1}K^{-1}} and \si{Jcm^{-3}K^{-1}} which you can use in various circumstances, depending on what information you have.
|
||||
|
||||
\subsubsection{Mole}
|
||||
Mole is the amount of particles ($6.02214076 \cdot 10^{23}$) in a substance, where the average weight of one mole of particles in grams is about the same as the weight of one particle in atomic
|
||||
mass units ($u$)\cite{mole}. This is not a physical constant perse, but more like a unit ($mol$). Though it is still important enough to be added here for future reference. All other units are
|
||||
mass units (\si{u})\cite{mole}. This is not a physical constant perse, but more like a unit (\si{mol}). Though it is still important enough to be added here for future reference. All other units are
|
||||
way more intuitive and are assumed to be known.
|
||||
|
||||
\subsubsection{The Stefan-Boltzmann Constant}
|
||||
The Stefan-Boltzmann constant, $\sigma = 5.670373 \cdot 10^-8 \ (Wm^{-2}K^{-4})$ \cite{stefan-boltzmann} is used in the Stefan-Boltzmann law (more on that in \autoref{sec:first thermolaw}).
|
||||
The Stefan-Boltzmann constant, $\sigma = 5.670373 \cdot 10^-8$ \si{Wm^{-2}K^{-4})} \cite{stefan-boltzmann} is used in the Stefan-Boltzmann law (more on that in \autoref{sec:first thermolaw}).
|
||||
|
||||
\subsection{Planet Specific Variables}
|
||||
The following set of variables vary per planet, that's why we call them variables since they vary. Makes sense right? We add them here as we will use them throughout the manual. The advantage
|
||||
|
|
@ -62,9 +62,9 @@ means less work for the computer. Yes computers are lazy too.
|
|||
\caption{Definition of how much time it takes for a day and a year on a planet and how much time on the planet passes before we start another calculation run}
|
||||
\label{alg:time constants}
|
||||
\SetKwComment{Comment}{//}{}
|
||||
$day \leftarrow 60*60*24$ \Comment*[l]{Length of one day in seconds ($s$)}
|
||||
$year \leftarrow 365*day$ \Comment*[l]{Length of one year in seconds ($s$)}
|
||||
$\delta t \leftarrow 60 * 9$ \Comment*[l]{How much time is between each calculation run in seconds ($s$)}
|
||||
$day \leftarrow 60*60*24$ \Comment*[l]{Length of one day in seconds (\si{s})}
|
||||
$year \leftarrow 365*day$ \Comment*[l]{Length of one year in seconds (\si{s})}
|
||||
$\delta t \leftarrow 60 * 9$ \Comment*[l]{How much time is between each calculation run in seconds (\si{s})}
|
||||
\end{algorithm*}
|
||||
|
||||
\subsubsection{The Planet Passport}
|
||||
|
|
@ -75,12 +75,12 @@ all the relevant variables that are unique to a planet, or well not necessarily
|
|||
\caption{Defining the constants that are specific to a planet}
|
||||
\label{alg:planet constants}
|
||||
\SetKwComment{Comment}{//}{}
|
||||
$g \leftarrow 9.81$ \Comment*[l]{Magnitude of gravity on the planet in $ms^{-2}$}
|
||||
$g \leftarrow 9.81$ \Comment*[l]{Magnitude of gravity on the planet in \si{ms^{-2}}}
|
||||
$\alpha \leftarrow -23.5$ \Comment*[l]{By how many degrees the planet is tilted with respect to the star's plane}
|
||||
$top \leftarrow 50*10^3$ \Comment*[l]{How high the top of the atmosphere is with respect to the planet surface in meters ($m$)}
|
||||
$ins \leftarrow 1370$ \Comment*[l]{Amount of energy from the star that reaches the planet per unit area ($Jm^{-2}$)}
|
||||
$top \leftarrow 50*10^3$ \Comment*[l]{How high the top of the atmosphere is with respect to the planet surface in meters (\si{m})}
|
||||
$ins \leftarrow 1370$ \Comment*[l]{Amount of energy from the star that reaches the planet per unit area (\si{Jm^{-2}})}
|
||||
$\epsilon \leftarrow 0.75$ \Comment*[l]{Absorbtivity of the atmosphere, fraction of how much of the total energy is absorbed (unitless)}
|
||||
$r \leftarrow 6.4*10^6$ \Comment*[l]{The radius of the planet in meters ($m$)}
|
||||
$r \leftarrow 6.4*10^6$ \Comment*[l]{The radius of the planet in meters (\si{m})}
|
||||
\end{algorithm}
|
||||
|
||||
\subsubsection{Model Specific Parameters}
|
||||
|
|
@ -97,12 +97,12 @@ definitions can be found in \autoref{alg:model constants}. What the $adv$ boolea
|
|||
$resolution \leftarrow 3$ \Comment*[l]{The amount of degrees on the latitude longitude grid that each cell has, with this setting each cell is 3 degrees latitude high and 3 degrees
|
||||
longitude wide}
|
||||
$nlevels \leftarrow 10$ \Comment*[l]{The amount of layers in the atmosphere}
|
||||
$\delta t_s \leftarrow 60*137$ \Comment*[l]{The time between calculation rounds during the spin up period in seconds ($s$)}
|
||||
$t_s \leftarrow 5*day$ \Comment*[l]{How long we let the planet spin up in seconds ($s$)}
|
||||
$\delta t_s \leftarrow 60*137$ \Comment*[l]{The time between calculation rounds during the spin up period in seconds (\si{s})}
|
||||
$t_s \leftarrow 5*day$ \Comment*[l]{How long we let the planet spin up in seconds (\si{s})}
|
||||
$adv \leftarrow \texttt{FALSE}$ \Comment*[l]{Whether we want to enable advection or not}
|
||||
$adv\_boun \leftarrow 8$ \Comment*[l]{How many cells away from the poles where we want to stop calculating the effects of advection}
|
||||
$C_a \leftarrow 287$ \Comment*[l]{Heat capacity of the atmosphere in $JKg^{-1}K^{-1}$}
|
||||
$C_p \leftarrow 1 \cdot 10^6$ \Comment*[l]{Heat capacity of the planet in $JKg^{-1}K^{-1}$}
|
||||
$C_a \leftarrow 287$ \Comment*[l]{Heat capacity of the atmosphere in \si{Jkg^{-1}K^{-1}}}
|
||||
$C_p \leftarrow 1 \cdot 10^6$ \Comment*[l]{Heat capacity of the planet in \si{Jkg^{-1}K^{-1}}}
|
||||
$\delta y \leftarrow \frac{2\pi r}{nlat}$ \Comment*[l]{How far apart the gridpoints in the y direction are (degrees latitude)}
|
||||
$\alpha_a \leftarrow 2 \cdot 10^{-5}$ \Comment*[l]{The diffusivity constant for the atmosphere}
|
||||
$\alpha_p \leftarrow 1.5 \cdot 10^{-6}$ \Comment*[l]{The diffusivity constant for the planet surface}
|
||||
|
|
@ -112,7 +112,7 @@ definitions can be found in \autoref{alg:model constants}. What the $adv$ boolea
|
|||
$smooth_w \leftarrow 0.3$ \Comment*[l]{The smoothing parameter for the $w$ component of the velocity}
|
||||
$count \leftarrow 0$ \;
|
||||
\For{$j \in [0, top]$}{
|
||||
$heights[j] \leftarrow count$ \Comment*[l]{The height of a layer}
|
||||
$heights[j] \leftarrow count$ \Comment*[l]{The height of a layer (\si{m})}
|
||||
$count \leftarrow count + \frac{top}{nlevels}$ \;
|
||||
}
|
||||
|
||||
|
|
@ -121,6 +121,6 @@ definitions can be found in \autoref{alg:model constants}. What the $adv$ boolea
|
|||
}
|
||||
|
||||
\For{$k \in [0, nlevels - 1]$}{
|
||||
$\delta z[k] \leftarrow heights[k + 1] - heights$ \Comment*[l]{How far apart the gridpoints in the z direction are ($m$)}
|
||||
$\delta z[k] \leftarrow heights[k + 1] - heights$ \Comment*[l]{How far apart the gridpoints in the z direction are (\si{m})}
|
||||
}
|
||||
\end{algorithm}
|
||||
|
|
@ -11,23 +11,23 @@ body, i.e. it absorbs all radiation on all wavelengths. This is captured in Stef
|
|||
In \autoref{eq:stefan-boltzmann} the symbols are:
|
||||
|
||||
\begin{itemize}
|
||||
\item $S$: The energy that reaches the top of the atmosphere, coming from the sun or a similar star, per second per meters squared $Wm^{-2}$. This is also called the insolation.
|
||||
\item $\sigma$: The Stefan-Boltzmann constant, $5.670373 \cdot 10^-8 \ (Wm^{-2}K^{-4})$ \cite{stefan-boltzmann}.
|
||||
\item $T$: The temperature of the planet ($K$).
|
||||
\item $S$: The energy that reaches the top of the atmosphere, coming from the sun or a similar star, per second per meters squared (\si{Wm^{-2}}). This is also called the insolation.
|
||||
\item $\sigma$: The Stefan-Boltzmann constant, $5.670373 \cdot 10^-8$ (\si{Wm^{-2}K^{-4}}) \cite{stefan-boltzmann}.
|
||||
\item $T$: The temperature of the planet (\si{K}).
|
||||
\end{itemize}
|
||||
|
||||
The energy difference between the energy that reaches the atmosphere and the temperature of the planet must be equal to the change in temperature of the planet, which is written in
|
||||
\autoref{eq:sb rewritten}. The symbols on the right hand side are:
|
||||
|
||||
\begin{itemize}
|
||||
\item $\Delta U$: The change of internal energy ($J$) \cite{thermo1}.
|
||||
\item $C$: The specific heat capacity of the object, i.e. how much energy is required to heat the object by one degree Kelvin ($\frac{J}{K}$).
|
||||
\item $\Delta T$: The change in temperature ($K$).
|
||||
\item $\Delta U$: The change of internal energy (\si{J}) \cite{thermo1}.
|
||||
\item $C$: The specific heat capacity of the object, i.e. how much energy is required to heat the object by one degree Kelvin (\si{JK^{-1}}).
|
||||
\item $\Delta T$: The change in temperature (\si{K}).
|
||||
\end{itemize}
|
||||
|
||||
We want to know the change of temperature $\Delta T$, so we rewrite the equation into \autoref{eq:sb rewritten2}. Here we added the $\delta t$ term to account for the time difference (or time
|
||||
step). This is needed as we need an interval to calculate the difference in temperature over. Also we need to get the energy that we get ($J$) and not the energy per second ($W$), and by adding
|
||||
this time step the units all match up perfectly.
|
||||
step). This is needed as we need an interval to calculate the difference in temperature over. Also we need to get the energy that we get (\si{J}) and not the energy per second (\si{W}), and by
|
||||
adding this time step the units all match up perfectly.
|
||||
|
||||
\begin{subequations}
|
||||
\begin{equation}
|
||||
|
|
@ -379,8 +379,8 @@ is described in \autoref{eq:optical depth}. The symbols in the equation mean:
|
|||
|
||||
\begin{itemize}
|
||||
\item $\tau_0$: Optical depth at the surface.
|
||||
\item $p$: Atmospheric pressure ($Pa$).
|
||||
\item $p_s$: Atmospheric pressure at the surface ($Pa$).
|
||||
\item $p$: Atmospheric pressure (\si{Pa}).
|
||||
\item $p_s$: Atmospheric pressure at the surface (\si{Pa}).
|
||||
\item $f_l$: The linear optical depth parameter, with a value of 0.1.
|
||||
\end{itemize}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,17 +6,17 @@ The equation of state relates one or more variables in a dynamical system (like
|
|||
described by \autoref{eq:ideal gas} \cite{idealGas}. The symbols in that equation represent:
|
||||
|
||||
\begin{itemize}
|
||||
\item $p$: The gas pressure ($Pa$).
|
||||
\item $V$: The volume of the gas ($m^3$).
|
||||
\item $n$: The amount of moles\footnote{Mole is the amount of particles ($6.02214076 \cdot 10^{23}$) in a substance, where the average weight of one mole of particles in grams is about the
|
||||
same as the weight of one particle in atomic mass units ($u$)\cite{mole}} in the gas.
|
||||
\item $R$: The Gas constant, $8.3144621$ ($J(mol)^{-1}K$) \cite{idealGas}.
|
||||
\item $p$: The gas pressure (\si{Pa}).
|
||||
\item $V$: The volume of the gas (\si{m^3}).
|
||||
\item $n$: The amount of moles in the gas (\si{mol}).
|
||||
\item $R$: The Gas constant as defined in \autoref{sec:gas constant} (\si{JK^{-1}mol^{-1}}) \cite{idealGas}.
|
||||
\item $T$: The temperature opf the gas ($K$).
|
||||
\end{itemize}
|
||||
|
||||
If we divide everything in \autoref{eq:ideal gas} by $V$ and set it to be unit (in this case, set it to be exactly $1 m^3$) we can add in the molar mass in both the top and bottom parts of the
|
||||
division as show in \autoref{eq:gas unit}. We can then replace $\frac{nm}{V}$ by $\rho$ the density of the gas ($kgm^{-3}$) and $\frac{R}{m}$ by $R_s$ the specific gas constant (gas constant that varies per
|
||||
gas in $J(mol)^{-1}K$) as shown in \autoref{eq:state gas}. the resulting equation is the equation of state that you get that most atmospheric physicists use when talking about the atmosphere \cite{simon}.
|
||||
If we divide everything in \autoref{eq:ideal gas} by $V$ and set it to be unit (in this case, set it to be exactly $1$ \si{m^3}) we can add in the molar mass in both the top and bottom parts of
|
||||
the division as show in \autoref{eq:gas unit}. We can then replace $\frac{nm}{V}$ by $\rho$ the density of the gas (\si{kgm^{-3}}) and $\frac{R}{m}$ by $R_s$ the specific gas constant (gas
|
||||
constant that varies per gas in \si{JK^{-1}mol^{-1}}) as shown in \autoref{eq:state gas}. The resulting equation is the equation of state that you get that most atmospheric physicists use when
|
||||
talking about the atmosphere \cite{simon}.
|
||||
|
||||
\begin{subequations}
|
||||
\begin{equation}
|
||||
|
|
@ -47,19 +47,19 @@ to the f-plane approximation are given in \autoref{eq:x momentum} and \autoref{e
|
|||
effect on the whole flow. All the symbols in \autoref{eq:x momentum} and \autoref{eq:y momentum} mean:
|
||||
|
||||
\begin{itemize}
|
||||
\item $u$: The east to west velocity ($ms^{-1}$).
|
||||
\item $t$: The time ($s$).
|
||||
\item $u$: The east to west velocity (\si{ms^{-1}}).
|
||||
\item $t$: The time (\si{s}).
|
||||
\item $f$: The coriolis parameter as in \autoref{eq:coriolis}.
|
||||
\item $v$: The north to south velocity ($ms^{-1}$).
|
||||
\item $\rho$: The density of the atmosphere ($kgm^{-3}$).
|
||||
\item $p$: The atmospheric pressure ($Pa$).
|
||||
\item $x$: The local longitude coordinate ($m$).
|
||||
\item $y$: The local latitude coordinate ($m$).
|
||||
\item $v$: The north to south velocity (\si{ms^{-1}}).
|
||||
\item $\rho$: The density of the atmosphere (\si{kgm^{-3}}).
|
||||
\item $p$: The atmospheric pressure (\si{Pa}).
|
||||
\item $x$: The local longitude coordinate (\si{m}).
|
||||
\item $y$: The local latitude coordinate (\si{m}).
|
||||
\end{itemize}
|
||||
|
||||
If we then define a vector $\bar{u}$ as $(u, v, 0)$, we can rewrite both \autoref{eq:x momentum} as \autoref{eq:x momentum laplace}. Here $\nabla u$ is the gradient of
|
||||
$u$ in both $x$ and $y$ directions. Then if we write out $\nabla u$ we get \autoref{eq:x momentum final}. Similarly, if we want to get $\delta v$ instead of $\delta u$ we rewrite
|
||||
\autoref{eq:y momentum} to get \autoref{eq:y momentum laplace} and \autoref{eq:y momentum final}.
|
||||
If we then define a vector $\bar{u}$ as $(u, v, 0)$, we can rewrite both \autoref{eq:x momentum} as \autoref{eq:x momentum laplace}. Here $\nabla u$ is the gradient of $u$ in both $x$ and $y$
|
||||
directions. Then if we write out $\nabla u$ we get \autoref{eq:x momentum final}. Similarly, if we want to get $\delta v$ instead of $\delta u$ we rewrite \autoref{eq:y momentum} to get
|
||||
\autoref{eq:y momentum laplace} and \autoref{eq:y momentum final}.
|
||||
|
||||
\begin{subequations}
|
||||
\begin{equation}
|
||||
|
|
|
|||
Loading…
Reference in New Issue