ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Protected Attributes | List of all members

Bondary condition corresponding wall with given velocity for uncompressible. More...

#include <aslLBGKBC.h>

Inheritance diagram for asl::BCConstantVelocity:
Inheritance graph
[legend]
Collaboration diagram for asl::BCConstantVelocity:
Collaboration graph
[legend]

Public Member Functions

 BCConstantVelocity (SPLBGK nm, const acl::VectorOfElements &v)
 
virtual void init ()
 Builds the necesery internal data and kernels. More...
 
- Public Member Functions inherited from asl::BCLBGKCommon
 BCLBGKCommon (SPLBGK nm)
 
virtual void execute ()
 Executes the numerical procedure. More...
 
- Public Member Functions inherited from asl::BCond
 BCond (const Block &b)
 
 BCond (const Block &b, const VectorTemplate *const t)
 
void addPoint (AVec< int > a, int d=0, double fr=0)
 
const BlockgetBlock ()
 
const VectorTemplategetVT ()
 
- Public Member Functions inherited from asl::NumMethod
virtual ~NumMethod ()
 

Protected Attributes

acl::VectorOfElements velocity
 
- Protected Attributes inherited from asl::BCLBGKCommon
SPLBGK num
 
std::vector< acl::SPKernelkernels
 
acl::SPKernelMerger km
 
AVec< int > directionGroupsShifts
 
AVec< int > directionGroupsSizes
 
- Protected Attributes inherited from asl::BCond
Block block
 
const VectorTemplate *const templ
 
std::vector< int > indices
 
std::vector< int > directions
 
std::vector< double > fractions
 
std::vector< int > neighbourIndices
 
acl::SPVectorOfElementsData indicesACL
 
acl::SPVectorOfElementsData neighbourIndicesACL
 
acl::SPVectorOfElementsData directionsACL
 
acl::SPVectorOfElementsData fractionsACL
 

Additional Inherited Members

- Protected Member Functions inherited from asl::BCLBGKCommon
void sortDirections ()
 
- Protected Member Functions inherited from asl::BCond
void loadIndicesToACL ()
 
void loadNeighbourIndicesToACL ()
 
void loadDirectionsToACL ()
 
void loadfractionsACL ()
 

Detailed Description

Bondary condition corresponding wall with given velocity for uncompressible.

velocity value is valid for both tagential and normal components.

\[ \vec v =\vec v_0,\; \nabla P = 0 \]

\[ f^{ghost}_i = f^{bulk}_{\tilde i} + 2 \frac{\vec v \dot c_i}{c^2_s} \]

Definition at line 99 of file aslLBGKBC.h.

Constructor & Destructor Documentation

◆ BCConstantVelocity()

asl::BCConstantVelocity::BCConstantVelocity ( SPLBGK  nm,
const acl::VectorOfElements v 
)

Member Function Documentation

◆ init()

virtual void asl::BCConstantVelocity::init ( )
virtual

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

Member Data Documentation

◆ velocity

acl::VectorOfElements asl::BCConstantVelocity::velocity
protected

Definition at line 102 of file aslLBGKBC.h.


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