#include <stdio.h>
#include <stdlib.h>
#include "../../util/source/useful.h"
#include "../../util/source/logfile.h"
#include "../../gas_models/source/gas.h"
#include "../../flux_calc/source/flux_calc.h"
#include "../../mb_cns/source/cns_case_id.h"
#include "../../mb_cns/source/cns_work_vector.h"
#include "../../mb_cns/source/cns_debug_level.h"
#include "../../mb_cns/source/cns_cell.h"
#include "../../mb_cns/source/cns_echo.h"
#include "../../mb_cns/source/cns_bc_defs.h"
#include "./e_block.h"
Go to the source code of this file.
Functions | |
| int | filtered_derivatives (struct block_data_3D *A) |
| Compute the derivatives of velocity and temperature at primary cell vertices. | |
| int | filtered_derivatives_east (struct block_data_3D *A) |
| Computes east boundary derivatives. | |
| int | filtered_derivatives_west (struct block_data_3D *A) |
| Computes west boundary derivatives. | |
| int | filtered_derivatives_north (struct block_data_3D *A) |
| Computes north boundary derivatives. | |
| int | filtered_derivatives_south (struct block_data_3D *A) |
| Computes south boundary derivatives. | |
| int | filtered_derivatives_top (struct block_data_3D *A) |
| Computes top boundary derivatives. | |
| int | filtered_derivatives_bottom (struct block_data_3D *A) |
| Computes bottom boundary derivatives. | |
| int | filtered_derivatives_edge (struct block_data_3D *A) |
| Computes edge (non-corner) cell derivatives. | |
| int | filtered_derivatives_corners (struct block_data_3D *A) |
| Computes corner cell derivatives. | |
| int | copy_filtered_to_edge (struct cell_vertex *a, struct cell_vertex *b) |
| int | copy_filtered_to_corner (struct cell_vertex *a, struct cell_vertex *b) |
| int | copy_2_filtered_to_corner (struct cell_vertex *a, struct cell_vertex *b, struct cell_vertex *c) |
| int | copy_3_filtered_to_corner (struct cell_vertex *a, struct cell_vertex *b, struct cell_vertex *c, struct cell_vertex *d) |
|
||||||||||||||||
|
Copies the average contents of state a and state b to state c.
|
|
||||||||||||||||||||
|
Copies the average contents of state a ,state b and state c to state d.
|
|
||||||||||||
|
Copies the contents of state a into state b.
|
|
||||||||||||
|
Copies the contents of state a to state b.
|
|
|
Compute the derivatives of velocity and temperature at primary cell vertices.
Currently it is assumed that for secondary cells, the west, south and bottom interface area vectors are in the opposite direction to unit vectors i, j, k. |
|
|
Computes bottom boundary derivatives.
|
|
|
Computes corner cell derivatives.
It may be better to... (1) include logic to check if walls are present and pick the appropriate near-by values of derivatives. (2) include a proper exchange of ghost-cell data so that the calculation of the half-cell derivatives may extend right to the corners. These things are left for another day. Revisions... --------- 1.0 : initial code 1.1 : take into account boundary conditions |
|
|
Computes east boundary derivatives.
|
|
|
Computes edge (non-corner) cell derivatives.
It may be better to... (1) include logic to check if walls are present and pick the appropriate near-by values of derivatives. (2) include a proper exchange of ghost-cell data so that the calculation of the half-cell derivatives may extend right to the corners. These things are left for another day. Revisions... --------- 1.0 : initial code 1.1 : take into account boundary conditions |
|
|
Computes north boundary derivatives.
Ghost cell and cell centered values are averaged to obtain an approximation of the filtered interface values. |
|
|
Computes south boundary derivatives.
Ghost cell and cell centered values are averaged to obtain an approximation of the filtered interface values. |
|
|
Computes top boundary derivatives.
|
|
|
Computes west boundary derivatives.
|
1.4.4