|
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) |
| Configures a BoundaryCondition object for a parabolic inlet profile. | |
| PetscErrorCode | Create_OutletConservation (BoundaryCondition *bc) |
| Configures a BoundaryCondition object for conservative outlet treatment. | |
| PetscErrorCode | Create_PeriodicGeometric (BoundaryCondition *bc) |
| Configures a BoundaryCondition object for geometric periodic coupling. | |
| PetscErrorCode | Create_PeriodicDrivenConstant (BoundaryCondition *bc) |
| Configures a BoundaryCondition object for periodic driven-flow forcing. | |
| 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. |
(Private) Validates all consistency rules for a driven flow (channel/pipe) setup.
Local to this translation unit.
Definition at line 15 of file BC_Handlers.c.
| PetscErrorCode Create_WallNoSlip | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object to behave as a no-slip, stationary wall.
| bc | A |
Configures a BoundaryCondition object to behave as a no-slip, stationary wall.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/BC_Handlers.h.
Definition at line 114 of file BC_Handlers.c.
| PetscErrorCode Create_InletConstantVelocity | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object to behave as a constant velocity inlet.
| bc | Parameter bc passed to Create_InletConstantVelocity(). |
Configures a BoundaryCondition object to behave as a constant velocity inlet.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/BC_Handlers.h.
Definition at line 323 of file BC_Handlers.c.
| PetscErrorCode Create_InletParabolicProfile | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object for a parabolic inlet profile.
The constructed handler computes inlet velocity as a profile function of transverse coordinates, typically used for laminar channel/pipe initialization.
| bc | A pointer to the generic BoundaryCondition object to be configured. |
Configures a BoundaryCondition object for a parabolic inlet profile.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/BC_Handlers.h.
Definition at line 721 of file BC_Handlers.c.
| PetscErrorCode Create_OutletConservation | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object for conservative outlet treatment.
The constructed handler applies outlet updates that preserve the solver's global mass/flux consistency assumptions.
| bc | A pointer to the generic BoundaryCondition object to be configured. |
Configures a BoundaryCondition object for conservative outlet treatment.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/BC_Handlers.h.
Definition at line 1129 of file BC_Handlers.c.
| PetscErrorCode Create_PeriodicGeometric | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object for geometric periodic coupling.
This constructor wires periodic boundary callbacks that exchange values across opposite faces according to the configured periodic directions.
| bc | A pointer to the generic BoundaryCondition object to be configured. |
Configures a BoundaryCondition object for geometric periodic coupling.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/BC_Handlers.h.
Definition at line 1646 of file BC_Handlers.c.
| PetscErrorCode Create_PeriodicDrivenConstant | ( | BoundaryCondition * | bc | ) |
Configures a BoundaryCondition object for periodic driven-flow forcing.
This constructor wires the periodic callbacks that enforce a prescribed driving strategy (for example constant target flux) on a periodic direction pair.
| bc | A pointer to the generic BoundaryCondition object to be configured. |
Configures a BoundaryCondition object for periodic driven-flow forcing.
Local to this translation unit.
Definition at line 1699 of file BC_Handlers.c.