#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 | |
| double | get_rrm_data (struct block_data_3D *A, int rrm_block, double u_rrm_read[], double v_rrm_read[], double w_rrm_read[], double T_rrm_read[], double rho_rrm_read[], double u_read[], double v_read[], double w_read[], double T_read[], double rho_read[]) |
| Apply Recycling and Rescaling Method of Stolz (2003) to inlet ghost cells. | |
| int | rrm (struct block_data_3D *A, struct flow_state *freestream, double u_rrm_read[], double v_rrm_read[], double w_rrm_read[], double T_rrm_read[], double rho_rrm_read[], double u_read[], double v_read[], double w_read[], double T_read[], double rho_read[], double delta) |
| double | delta_calc (struct block_data_3D *A, int i_r) |
| Calculate boundary layer thickness at x_r. | |
| double | interpolate (double y_want, struct block_data_3D *A, int *loc, int i_r, int k) |
| Calculate required cell j by linear interpolation. | |
| double | weight (double eta) |
| Calculates weighting fuction for supplied eta. | |
| double | spanwise_average (struct block_data_3D *A, int i_r, double u[], double v[], double w[], double T[], double rho[]) |
| Calculate spanwise average of u, v, w, rho and T at x_r. | |
| double | spanwise_time_average (struct block_data_3D *A, int i_r, double u[], double v[], double w[], double T[], double rho[], double mu[]) |
| Calculate spanwise average of u, v, w, rho and T at x_r. | |
| double ** | allocate_array (int nny, int nnz) |
| Routine for allocation of memory for arrays used in rrm(). | |
| int | initialise_rrm_memory (int nny, int nnz) |
| Routine to call allocate_array() for desired arrays. | |
| int | free_rrm_memory (void) |
| Routine to call free_array() for desired arrays. | |
|
||||||||||||
|
Routine for allocation of memory for arrays used in rrm().
|
|
||||||||||||
|
Calculate boundary layer thickness at x_r.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Apply Recycling and Rescaling Method of Stolz (2003) to inlet ghost cells.
|
|
||||||||||||
|
Routine to call allocate_array() for desired arrays.
|
|
||||||||||||||||||||||||
|
Calculate required cell j by linear interpolation.
|
|
||||||||||||||||||||||||||||||||
|
Calculate spanwise average of u, v, w, rho and T at x_r.
|
|
||||||||||||||||||||||||||||||||||||
|
Calculate spanwise average of u, v, w, rho and T at x_r.
|
|
|
Calculates weighting fuction for supplied eta.
|
1.4.4