|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Go to the source code of this file.
Functions | |
| PetscErrorCode | Validate_DrivenFlowConfiguration (UserCtx *user) |
| (Private) Validates all consistency rules for a driven flow (channel/pipe) setup. | |
| PetscErrorCode | Create_WallNoSlip (BoundaryCondition *bc) |
| Configures a BoundaryCondition object to behave as a no-slip, stationary wall. | |
| PetscErrorCode | Create_InletConstantVelocity (BoundaryCondition *bc) |
| Configures a BoundaryCondition object to behave as a constant velocity inlet. | |
| PetscErrorCode | Create_InletParabolicProfile (BoundaryCondition *bc) |
| (Handler Constructor) Populates a BoundaryCondition object with Parabolic Inlet behavior. | |
| PetscErrorCode | Create_OutletConservation (BoundaryCondition *bc) |
| (Handler Constructor) Populates a BoundaryCondition object with Outlet Conservation behavior. | |
| PetscErrorCode | Create_PeriodicGeometric (BoundaryCondition *bc) |
| PetscErrorCode Validate_DrivenFlowConfiguration | ( | UserCtx * | user | ) |
(Private) Validates all consistency rules for a driven flow (channel/pipe) setup.
This function enforces a strict set of rules to ensure a driven flow simulation is configured correctly. It is called by the main BoundarySystem_Validate dispatcher.
The validation rules are checked in a specific order:
DRIVEN_ handler is active. If not, the function returns immediately.INLET, OUTLET, or FARFIELD boundary conditions exist anywhere in the domain, as they are physically incompatible with a pressure-driven flow model.mathematical_type PERIODIC.DRIVEN_ handler type.| user | The UserCtx for a single block. |
Definition at line 27 of file BC_Handlers.c.
| PetscErrorCode Create_WallNoSlip | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object to behave as a no-slip, stationary wall.
| bc | A pointer to the generic BoundaryCondition object to be configured. |
Configures a BoundaryCondition object to behave as a no-slip, stationary wall.
A no-slip wall is simple and requires only the Apply method:
Initialize is NULL)PreStep and PostStep are NULL)Apply)Destroy is NULL)| bc | A pointer to the generic BoundaryCondition object to be configured. |
Definition at line 132 of file BC_Handlers.c.
| PetscErrorCode Create_InletConstantVelocity | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object to behave as a constant velocity inlet.
Definition at line 348 of file BC_Handlers.c.
| PetscErrorCode Create_InletParabolicProfile | ( | BoundaryCondition * | bc | ) |
(Handler Constructor) Populates a BoundaryCondition object with Parabolic Inlet behavior.
Allocates the private data structure and wires all lifecycle function pointers. Actual parameter parsing and geometry computation are deferred to Initialize.
| bc | The BoundaryCondition object to populate. |
Definition at line 762 of file BC_Handlers.c.
| PetscErrorCode Create_OutletConservation | ( | BoundaryCondition * | bc | ) |
(Handler Constructor) Populates a BoundaryCondition object with Outlet Conservation behavior.
Definition at line 1195 of file BC_Handlers.c.
| PetscErrorCode Create_PeriodicGeometric | ( | BoundaryCondition * | bc | ) |
Definition at line 1733 of file BC_Handlers.c.