PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
Loading...
Searching...
No Matches
BC_Handlers.h
Go to the documentation of this file.
1#ifndef BC_HANDLERS_H
2#define BC_HANDLERS_H
3
4#include "variables.h"
5#include "Boundaries.h" // This gives us access to the BoundaryCondition struct definition
6#include "logging.h"
7
8
9//================================================================================
10//
11// HANDLER "CONSTRUCTOR" FUNCTION DECLARATIONS
12//
13// Each function is responsible for populating a BoundaryCondition struct
14// with the correct function pointers for its specific behavior. They are
15// implemented in BC_Handlers.c and called by the factory in Boundaries.c.
16//
17//================================================================================
18
19/**
20 * @brief Configures a BoundaryCondition object to behave as a no-slip, stationary wall.
21 * @param bc A pointer to the generic BoundaryCondition object to be configured.
22 */
24
25/**
26 * @brief Configures a BoundaryCondition object to behave as a constant velocity inlet.
27 */
29
31
33
34//PetscErrorCode Create_OutletConservation(BoundaryCondition *bc);
35
36
37
38#endif // BC_HANDLERS_H
PetscErrorCode Create_InletConstantVelocity(BoundaryCondition *bc)
Configures a BoundaryCondition object to behave as a constant velocity inlet.
PetscErrorCode Create_NogradCopyGhost(BoundaryCondition *bc)
PetscErrorCode Create_InletParabolicProfile(BoundaryCondition *bc)
PetscErrorCode Create_WallNoSlip(BoundaryCondition *bc)
Configures a BoundaryCondition object to behave as a no-slip, stationary wall.
Logging utilities and macros for PETSc-based applications.
The "virtual table" struct for a boundary condition handler object.
Definition variables.h:251
Main header file for a complex fluid dynamics solver.