|
OpenImpala
Image-based parallel transport property solver
|
Boundary condition abstraction for tortuosity and transport solvers. More...
#include <AMReX_BLassert.H>#include <AMReX_Print.H>#include <AMReX_REAL.H>#include <algorithm>#include <cmath>#include <cstdio>#include <memory>#include <string>Go to the source code of this file.
Classes | |
| class | OpenImpala::BoundaryCondition |
| Abstract base class for boundary conditions. More... | |
| class | OpenImpala::DirichletExternalBC |
| Applies Dirichlet BC at domain boundary faces perpendicular to the flow direction. More... | |
| class | OpenImpala::DirichletPhaseBoundaryBC |
| Applies Dirichlet BC at active cells adjacent to inactive cells near the domain boundary. More... | |
| class | OpenImpala::NeumannBC |
| Zero-flux Neumann BC — no stencil modification needed. More... | |
| class | OpenImpala::PeriodicBC |
| Periodic BC — requires HYPRE periodic grid setup. More... | |
Namespaces | |
| namespace | OpenImpala |
| namespace | OpenImpala::bc_detail |
Enumerations | |
| enum class | OpenImpala::BCType { OpenImpala::DirichletExternal , OpenImpala::DirichletPhaseBoundary , OpenImpala::Neumann , OpenImpala::Periodic } |
| Boundary condition types for transport solvers. More... | |
Functions | |
| std::unique_ptr< BoundaryCondition > | OpenImpala::createBC (BCType type) |
| Create a BoundaryCondition object from a BCType enum. | |
| BCType | OpenImpala::parseBCType (const std::string &bc_str) |
| Convert a case-insensitive string to BCType. | |
Variables | |
| constexpr int | OpenImpala::bc_detail::CELL_ACTIVE = 1 |
| constexpr int | OpenImpala::bc_detail::CELL_INACTIVE = 0 |
| constexpr int | OpenImpala::bc_detail::NSTENCIL = 7 |
| constexpr amrex::Real | OpenImpala::bc_detail::SMALL_REAL = 1.0e-15 |
| constexpr int | OpenImpala::bc_detail::STN_C = 0 |
| constexpr int | OpenImpala::bc_detail::STN_MX = 1 |
| constexpr int | OpenImpala::bc_detail::STN_MY = 3 |
| constexpr int | OpenImpala::bc_detail::STN_MZ = 5 |
| constexpr int | OpenImpala::bc_detail::STN_PX = 2 |
| constexpr int | OpenImpala::bc_detail::STN_PY = 4 |
| constexpr int | OpenImpala::bc_detail::STN_PZ = 6 |
Boundary condition abstraction for tortuosity and transport solvers.
Provides an abstract BoundaryCondition base class with box-level applyBC() that modifies HYPRE stencil/RHS/initial-guess arrays for boundary cells. Concrete implementations handle different BC strategies (Dirichlet at domain faces, Dirichlet at phase boundaries, Neumann, Periodic).
Runtime selection via BCType enum and parseBCType() string conversion, following the SolverConfig.H pattern.