#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "variables_global.h"
#include "prototypes.h"
Go to the source code of this file.
Functions | |
int | make_ic (int x, int y, int z) |
int | calculate_pressure (int x, int y, int z, double temperature) |
int | initiate_domain (int x, int y, int z) |
int | initiate_domain_dom (int x, int y, int z) |
int | initiate_domain_marker (int x, int y, int z) |
int | make_sod_ic (int x, int y, int z) |
int | make_kh_instabilities (int x, int y, int z) |
int | insert_pressure (int x, int y, int z) |
int calculate_pressure | ( | int | x, |
int | y, | ||
int | z, | ||
double | temperature | ||
) |
int initiate_domain | ( | int | x, |
int | y, | ||
int | z | ||
) |
The form of the obstacle is defined in this function example of just a round thing.
Definition at line 112 of file make_ic.c.
References dom, obstacle_density, obstacle_temperature, pre, rho, vx, vy, vz, x, y, and z.
Referenced by main().
int initiate_domain_dom | ( | int | x, |
int | y, | ||
int | z | ||
) |
int initiate_domain_marker | ( | int | x, |
int | y, | ||
int | z | ||
) |
int insert_pressure | ( | int | x, |
int | y, | ||
int | z | ||
) |
int make_ic | ( | int | x, |
int | y, | ||
int | z | ||
) |
An initial model is build in this function. If the parameter file defines strat_const_atmos a stratified atmosphere is build. If the parameter is set to zero a constant pressure/density distribution is realized.
Definition at line 19 of file make_ic.c.
References boundary::back, bound, boundary::down, boundary::front, gasconstant, grav_acc, inflow_velocity, boundary::left, pre, rho, boundary::right, small, starting_flow, strat_const_atmos, boundary::up, vx, vy, vz, x, y, ymax, and z.
Referenced by main().
int make_kh_instabilities | ( | int | x, |
int | y, | ||
int | z | ||
) |
A simple Kelvin Helmholtz Instability Setup
Definition at line 271 of file make_ic.c.
References dimension, pre, rho, vx, vy, vz, x, xmax, y, z, and zmax.
Referenced by main().
int make_sod_ic | ( | int | x, |
int | y, | ||
int | z | ||
) |
A Sod Shock Tube is generated here
Definition at line 196 of file make_ic.c.
References dimension, pre, rho, vx, vy, vz, x, y, and z.
Referenced by main().