|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Turbulent supersonic inflow boundary condition (specific to the 3D Navier-Stokes system). More...
#include <stdlib.h>#include <stdio.h>#include <math.h>#include <basic.h>#include <arrayfunctions.h>#include <boundaryconditions.h>#include <mpivars.h>Go to the source code of this file.
Functions | |
| int | BCTurbulentSupersonicInflowU (void *b, void *m, int ndims, int nvars, int *size, int ghosts, double *phi, double waqt) |
Turbulent supersonic inflow boundary condition (specific to the 3D Navier-Stokes system).
Definition in file BCTurbulentSupersonicInflow.c.
| int BCTurbulentSupersonicInflowU | ( | void * | b, |
| void * | m, | ||
| int | ndims, | ||
| int | nvars, | ||
| int * | size, | ||
| int | ghosts, | ||
| double * | phi, | ||
| double | waqt | ||
| ) |
Applies the turbulent supersonic inflow boundary condition: The inflow consists of a mean supersonic inflow on which turbulent flow fluctuations are added. This boundary condition is specific to the 3D Navier-Stokes system (NavierStokes3D).
Note: Some parts of the code may be hardcoded for use with the shock-turbulence interaction problem (for which this boundary condition was written).
| b | Boundary object of type DomainBoundary |
| m | MPI object of type MPIVariables |
| ndims | Number of spatial dimensions |
| nvars | Number of variables/DoFs per grid point |
| size | Integer array with the number of grid points in each spatial dimension |
| ghosts | Number of ghost points |
| phi | The solution array on which to apply the boundary condition |
| waqt | Current solution time |
Definition at line 21 of file BCTurbulentSupersonicInflow.c.