VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
NoSlipBC Class Reference

A class provides an interface for no-slip boundary condition in grid generator. More...

#include <NoSlipBC.h>

Inheritance diagram for NoSlipBC:
BC

Public Member Functions

 NoSlipBC ()
 
 NoSlipBC (const short &secondaryBcOption)
 
void init (const D3Q27Interactor *const &interactor, const real &time=0) override
 
void update (const D3Q27Interactor *const &interactor, const real &time=0) override
 
void adaptBCForDirection (const D3Q27Interactor &, SPtr< BoundaryConditions > bc, const real &, const real &, const real &, const real &q, const int &fdirection, const real &=0) override
 
void adaptBC (const D3Q27Interactor &, SPtr< BoundaryConditions > bc, const real &, const real &, const real &, const real &=0) override
 
- Public Member Functions inherited from BC
 BC ()=default
 
 BC (const short &secondaryBcOption)
 
virtual ~BC ()=default
 
bool isTimeDependent ()
 
virtual short getSecondaryBcOption ()
 
virtual void setSecondaryBcOption (const short &val)
 
void setBCStrategy (SPtr< BCStrategy > bcStrategy)
 

Additional Inherited Members

- Protected Attributes inherited from BC
short secondaryBcOption { 0 }
 
char type { 0 }
 
char bcStrategyKey { 0 }
 
- Static Protected Attributes inherited from BC
static const char TIMEDEPENDENT = 1 << 0
 
static const char TIMEPERIODIC = 1 << 1
 
static char keyCounter = 0
 

Detailed Description

A class provides an interface for no-slip boundary condition in grid generator.

Definition at line 41 of file NoSlipBC.h.

Constructor & Destructor Documentation

◆ NoSlipBC() [1/2]

NoSlipBC::NoSlipBC ( )
inline

Definition at line 44 of file NoSlipBC.h.

◆ NoSlipBC() [2/2]

NoSlipBC::NoSlipBC ( const short secondaryBcOption)
inline

Definition at line 45 of file NoSlipBC.h.

Member Function Documentation

◆ adaptBC()

void NoSlipBC::adaptBC ( const D3Q27Interactor ,
SPtr< BoundaryConditions bc,
const real ,
const real ,
const real ,
const real = 0 
)
inlineoverridevirtual

Implements BC.

Definition at line 57 of file NoSlipBC.h.

◆ adaptBCForDirection()

void NoSlipBC::adaptBCForDirection ( const D3Q27Interactor ,
SPtr< BoundaryConditions bc,
const real ,
const real ,
const real ,
const real q,
const int fdirection,
const real = 0 
)
inlineoverridevirtual

Implements BC.

Definition at line 50 of file NoSlipBC.h.

◆ init()

void NoSlipBC::init ( const D3Q27Interactor *const interactor,
const real time = 0 
)
inlineoverridevirtual

Implements BC.

Definition at line 47 of file NoSlipBC.h.

◆ update()

void NoSlipBC::update ( const D3Q27Interactor *const interactor,
const real time = 0 
)
inlineoverridevirtual

Implements BC.

Definition at line 48 of file NoSlipBC.h.


The documentation for this class was generated from the following file: