Bounce back boundary handling for moving obstacles.
This boundary condition implements the bounce back scheme to model a no-slip boundary condition for moving obstacles
#include <SimpleBB.h>
Public Member Functions | |
SimpleBB (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField_T *const pdfField, const FlagField_T *const flagField, BodyField *const bodyField, const flag_t domain, const StructuredBlockStorage &blockStorage, const IBlock &block) | |
void | pushFlags (std::vector< FlagUID > &uids) const |
void | beforeBoundaryTreatment () const |
void | afterBoundaryTreatment () const |
template<typename Buffer_T > | |
void | packCell (Buffer_T &, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
template<typename Buffer_T > | |
void | registerCell (Buffer_T &, const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t) |
void | registerCell (const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t, const BoundaryConfiguration &) |
void | registerCells (const flag_t, const CellInterval &, const BoundaryConfiguration &) |
template<typename CellIterator > | |
void | registerCells (const flag_t, const CellIterator &, const CellIterator &, const BoundaryConfiguration &) |
void | unregisterCell (const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t) const |
void | treatDirection (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const stencil::Direction dir, const cell_idx_t nx, const cell_idx_t ny, const cell_idx_t nz, const flag_t mask) |
![]() | |
Boundary (const BoundaryUID &boundaryUID) | |
void | setMask (const flag_t mask) |
flag_t | getMask () const |
const BoundaryUID & | getUID () const |
Static Public Member Functions | |
static shared_ptr< BoundaryConfiguration > | createConfiguration (const Config::BlockHandle &) |
Private Types | |
using | PDFField_T = lbm::PdfField< LatticeModel_T > |
using | Stencil_T = typename LatticeModel_T::Stencil |
using | flag_t = typename FlagField_T::flag_t |
using | BodyField = Field< pe::BodyID, 1 > |
Private Attributes | |
const FlagUID | uid_ |
flag_t | domainMask_ |
PDFField_T *const | pdfField_ |
BodyField *const | bodyField_ |
const FlagField_T *const | flagField_ |
const StructuredBlockStorage & | blockStorage_ |
const IBlock & | block_ |
real_t | lengthScalingFactor_ |
real_t | forceScalingFactor_ |
Additional Inherited Members | |
![]() | |
const BoundaryUID | boundaryUID_ |
flag_t | mask_ |
bool | maskSet_ |
|
private |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |