Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
ForceFunctor Struct Reference

Traction of the fluid on boundary faces, t = p n - tau . n with n pointing out of the fluid. Pressure is the adjacent cell's; on walls the velocity gradient is corrected with the wall velocity as in the viscous flux. More...

Classes

struct  value_type
 

Public Member Functions

KOKKOS_INLINE_FUNCTION void init (value_type &sum) const
 
KOKKOS_INLINE_FUNCTION void join (value_type &dst, const value_type &src) const
 
KOKKOS_INLINE_FUNCTION void operator() (const uint32_t k, value_type &total) const
 

Public Attributes

Kokkos::View< uint32_t * > faces
 
Kokkos::View< rtype *[N_DIM]> normals
 
Kokkos::View< rtype *[N_DIM]> face_coords
 
Kokkos::View< rtype *[N_DIM]> cell_coords
 
Kokkos::View< int32_t *[2]> cells_of_face
 
Kokkos::View< rtype *[N_CONSERVATIVE]> W
 
Kokkos::View< rtype *[N_CONSERVATIVE][N_DIM]> gradients
 
BoundaryData boundaries
 
Euler physics
 
bool viscous
 
Kokkos::View< rtype *[3]> mixture_transport
 
bool axisymmetric = false
 

Detailed Description

Traction of the fluid on boundary faces, t = p n - tau . n with n pointing out of the fluid. Pressure is the adjacent cell's; on walls the velocity gradient is corrected with the wall velocity as in the viscous flux.

Member Function Documentation

◆ init()

KOKKOS_INLINE_FUNCTION void ForceFunctor::init ( value_type &  sum) const
inline

◆ join()

KOKKOS_INLINE_FUNCTION void ForceFunctor::join ( value_type &  dst,
const value_type &  src 
) const
inline

◆ operator()()

KOKKOS_INLINE_FUNCTION void ForceFunctor::operator() ( const uint32_t  k,
value_type &  total 
) const
inline

Member Data Documentation

◆ axisymmetric

bool ForceFunctor::axisymmetric = false

◆ boundaries

BoundaryData ForceFunctor::boundaries

◆ cell_coords

Kokkos::View<rtype *[N_DIM]> ForceFunctor::cell_coords

◆ cells_of_face

Kokkos::View<int32_t *[2]> ForceFunctor::cells_of_face

◆ face_coords

Kokkos::View<rtype *[N_DIM]> ForceFunctor::face_coords

◆ faces

Kokkos::View<uint32_t *> ForceFunctor::faces

◆ gradients

Kokkos::View<rtype *[N_CONSERVATIVE][N_DIM]> ForceFunctor::gradients

◆ mixture_transport

Kokkos::View<rtype *[3]> ForceFunctor::mixture_transport

◆ normals

Kokkos::View<rtype *[N_DIM]> ForceFunctor::normals

◆ physics

Euler ForceFunctor::physics

◆ viscous

bool ForceFunctor::viscous

◆ W

Kokkos::View<rtype *[N_CONSERVATIVE]> ForceFunctor::W

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