ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
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.
 
 BCConstantVelocity (SPLBGK nm, const acl::VectorOfElements &v)
 
virtual void init ()
 Builds the necesery internal data and kernels.
 
- Public Member Functions inherited from asl::BCLBGKCommon
 BCLBGKCommon (SPLBGK nm)
 
virtual void execute ()
 Executes the numerical procedure.
 
 BCLBGKCommon (SPLBGK nm)
 
virtual void execute ()
 Executes the numerical procedure.
 
- 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 ()
 
 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 ()
 
virtual ~NumMethod ()
 

Protected Attributes

acl::VectorOfElements velocity
 
- Protected Attributes inherited from asl::BCLBGKCommon
SPLBGK num
 
std::vector< acl::SPKernelkernels
 
acl::SPKernelMerger km
 
AVec< intdirectionGroupsShifts
 
AVec< intdirectionGroupsSizes
 
- Protected Attributes inherited from asl::BCond
Block block
 
const VectorTemplate *const templ
 
std::vector< intindices
 
std::vector< intdirections
 
std::vector< doublefractions
 
std::vector< intneighbourIndices
 
acl::SPVectorOfElementsData indicesACL
 
acl::SPVectorOfElementsData neighbourIndicesACL
 
acl::SPVectorOfElementsData directionsACL
 
acl::SPVectorOfElementsData fractionsACL
 

Additional Inherited Members

- Protected Member Functions inherited from asl::BCLBGKCommon
void sortDirections ()
 
void sortDirections ()
 
- Protected Member Functions inherited from asl::BCond
void loadIndicesToACL ()
 
void loadNeighbourIndicesToACL ()
 
void loadDirectionsToACL ()
 
void loadfractionsACL ()
 
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() [1/2]

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

◆ BCConstantVelocity() [2/2]

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

Member Function Documentation

◆ init() [1/2]

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

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ init() [2/2]

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 files: