Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chengcli committed Oct 31, 2023
1 parent fa4cc3c commit 7f42475
Show file tree
Hide file tree
Showing 27 changed files with 328 additions and 973 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Athena-nbody: an N-body code based on Athena++
# Canoe: Comprehensive Atmosphere N' Ocean Engine

[![build](https://github.com/chengcli/canoe/actions/workflows/main.yml/badge.svg)](https://github.com/chengcli/canoe/actions/workflows/main.yml)
[![build](https://github.com/chengcli/canoe/actions/workflows/mac.yml/badge.svg)](https://github.com/chengcli/canoe/actions/workflows/mac.yml)
Expand Down
1 change: 1 addition & 0 deletions cmake/ktable_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ set(HYDROSTATIC ON)
set(RFM ON)
set(NETCDF ON)
set(DISORT ON)
set(PYTHON_BINDINGS ON)
5 changes: 0 additions & 5 deletions doc/doxygen/bib46452.aux

This file was deleted.

5 changes: 0 additions & 5 deletions doc/doxygen/bib52558.aux

This file was deleted.

5 changes: 0 additions & 5 deletions doc/doxygen/bib53676.aux

This file was deleted.

7 changes: 0 additions & 7 deletions doc/doxygen/citelist.doc46452

This file was deleted.

7 changes: 0 additions & 7 deletions doc/doxygen/citelist.doc52558

This file was deleted.

7 changes: 0 additions & 7 deletions doc/doxygen/citelist.doc53676

This file was deleted.

2 changes: 1 addition & 1 deletion doc/doxygen/configure
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
PROJECT_NAME = "Canoe"
#PROJECT_NUMBER = "v19"
PROJECT_LOGO = logo1.png
PROJECT_BRIEF = Planetary Atmosphere Simulator
PROJECT_BRIEF = Comprehensive Atmosphere N' Ocean Engine
OUTPUT_DIRECTORY = .

# The doxygen documentation says this about the following flag:
Expand Down
230 changes: 0 additions & 230 deletions doc/examples/robert.dox

This file was deleted.

19 changes: 19 additions & 0 deletions doc/examples/robert/intro.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<a name="Intro"></a>
<h1> Introduction </h1>

The second example shows the the rising of a warm bubble, which to some extent,
resembles the mushroom cloud of an atomic bomb. This test case was proposed by
@cite robert1993. The original setting was is 2D and we extended it to 3D.
The size of the domain is 1 km $\times$ 1 km $\times$ 2.5km. The model resolution is
uniformlly 5 m in each dimension. The bubble is initially centered at
$x_0 = y_0 = 500 \text{m}, z_0 = 260 \text{m}$ with a Gaussian-shaped potential
temperature anomaly as:

@f{eqnarray*}
\Delta \theta &=& 0.5\;\text{K}, \qquad\quad\quad r \leq a \\
&=& 0.5e^{-(r-a)^2/s^2}\;\text{K}, \quad r > a
@f}

where $r$ is the distance to the center, $a=50$ m and $s=100$ m. The background
atmosphere is isentropic with surface pressure being 1 bar and surface temperature
303.15 K. The bubble is then released and evolve to 1200 s.
14 changes: 14 additions & 0 deletions doc/examples/robert/results.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<h1> Results </h1>

<p>Here we show the animation of the rising bubble</p>

<div>
<img src="mov/robert.gif" alt="Animation of a rising air bubble">
</div>

<p>The temperature anomaly of the bubble is colored in blue/red with blue being colder
and red being warmer. Initially, the warm part of the bubble is hiden at its center
and you only see the colder outer part. Multiple convective overturnings develop seen during the
rising motion to deliver the warm gas upward and outward. Unlike the 2D solution shown in @cite robert1993,
the 3D evolution of the bubble features a vortex ring surounding the core of the rising
center and the head of the rising bubble is minimum compared to the ring.
1 change: 1 addition & 0 deletions doc/examples/robert/robert.cpp
Binary file added doc/examples/robert/robert.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7f42475

Please sign in to comment.