next up previous contents
Next: The Sod Shock-Tube in Up: TYrolian Computational HydrOdynamics version Previous: The domain-marker and wind   Contents

Some examples

TYCHO comes with three small examples. In the parameterfile subdirectory the parameterfiles for these examples can be found. For three of them initial conditions are present in the subdirectory initial_conditions.
One example is a 2D Kelvin-Helmholtz instability, as shown in Fig. 8.1. The initial conditions are set up with a density contrast, two layers of lower density gas with a constant velocity and a small velocity disturbance at the contact layers of the two density gradients. The velocity disturbance is defined as follows in the make_ic.c file.

if (dimension == 3) {
if (j == y / 4) vy[i][j][k] =
sin(xmax / x * i) * cos(zmax / z * k);
if (j == 3 * y / 4) vy[i][j][k] =
-1 * sin(xmax / x * i) * cos(zmax / z * k);
}
if (dimension == 2) {
if (j == y / 4) vy[i][j][k] = sin(xmax / x * i);
if (j == 3 * y / 4) vy[i][j][k] = -1 * sin(xmax / x * i);
                }

Figure 8.1: TYCHO simulation of a 2D Kelvin Helmholtz instability.
\includegraphics[width=0.9\textwidth]{KH_example.eps}
A second example is a small Toytown to demonstrate TYCHO's handling of obstacles in the wind flow. At the beginning an obstacle distribution is read in (please adapt the parameterfile for your own pahts for the files and the output. A constant wind-flow from the left to the right blows through the "city". One can study the turbulence, the regions with high velocity and the resulting pressure on obstacles as shown in Fig. 8.2.
Figure 8.2: TYCHO simulation of a wind in a toy-town.
\includegraphics[width=0.7\textwidth]{toytown.eps}
Another example includes two wind-generators (e.g. ventilators or turbines) generating a wind-flow in opposite directions. In front of the ventilators a stream-splitting obstacle is placed and marker-fields are set up in that scenario. See Fig. 8.3 for some visualizations of this configuration.
Figure 8.3: TYCHO simulation of two wind-generators.
\includegraphics[width=0.7\textwidth]{ventilators.eps}
In the last example two wind-generators (e.g. ventilators or turbines) generating a wind-flow in the same direction through a tunnel. Several circle-shaped marker-fields are set up in that scenario. See Fig. 8.4 for some visualizations of this configuration.
Figure 8.4: TYCHO simulation of two wind-generators in a tunnel.
\includegraphics[width=0.7\textwidth]{tunnel2.eps}


next up previous contents
Next: The Sod Shock-Tube in Up: TYrolian Computational HydrOdynamics version Previous: The domain-marker and wind   Contents
2013-02-06