waves
Basic FE playground
flow::WakeElement Class Reference

Kutta element. More...

#include <wWakeElement.h>

Inheritance diagram for flow::WakeElement:
Collaboration diagram for flow::WakeElement:

Public Member Functions

 WakeElement (size_t _no, tbox::Element *&_surUpE, tbox::Element *&_surLwE, tbox::Element *&_volUpE, tbox::Element *&_volLwE, std::vector< std::pair< size_t, tbox::Node * >> &_wkN)
 
virtual void write (std::ostream &out) const override
 

Public Attributes

size_t no
 ID. More...
 
tbox::Element * surUpE
 Surface element "+" side. More...
 
tbox::Element * surLwE
 Surface element "-" side. More...
 
tbox::Element * volUpE
 Connected volume elements "+" side. More...
 
tbox::Element * volLwE
 Connected volume elements "-" side. More...
 
size_t nRow
 number of rows in stiffness matrix More...
 
size_t nColUp
 number of columns in in stiffness matrix "+" side More...
 
size_t nColLw
 number of columns in in stiffness matrix "-" side More...
 
size_t nDim
 dimension of volume element More...
 
std::vector< std::pair< size_t, tbox::Node * > > wkN
 map between local index and contributing wake global nodes More...
 
std::map< size_t, size_t > vsMap
 map between surface node and volume node indices More...
 

Private Member Functions

void mapNodes ()
 Map the wake nodes to their local volume node indices. More...
 

Detailed Description

Kutta element.

Made up of two surface elements on the wake and the connected volume elements. Only Line2 (surface) and Tri3 (volume) elements are curently implemented. Since Tri3 or Tetra4 are used, the evalutaion of the volume integrals is performed at dummy Gauss point #0. If volume elements with non-constant shape function derivatives are used, those derivates should be recomputed at the true surface element Gauss points.

Authors
Adrien Crovato

Constructor & Destructor Documentation

◆ WakeElement()

WakeElement::WakeElement ( size_t  _no,
tbox::Element *&  _surUpE,
tbox::Element *&  _surLwE,
tbox::Element *&  _volUpE,
tbox::Element *&  _volLwE,
std::vector< std::pair< size_t, tbox::Node * >> &  _wkN 
)

Member Function Documentation

◆ mapNodes()

void WakeElement::mapNodes ( )
private

Map the wake nodes to their local volume node indices.

◆ write()

void WakeElement::write ( std::ostream &  out) const
overridevirtual

Member Data Documentation

◆ nColLw

size_t flow::WakeElement::nColLw

number of columns in in stiffness matrix "-" side

◆ nColUp

size_t flow::WakeElement::nColUp

number of columns in in stiffness matrix "+" side

◆ nDim

size_t flow::WakeElement::nDim

dimension of volume element

◆ no

size_t flow::WakeElement::no

ID.

◆ nRow

size_t flow::WakeElement::nRow

number of rows in stiffness matrix

◆ surLwE

tbox::Element* flow::WakeElement::surLwE

Surface element "-" side.

◆ surUpE

tbox::Element* flow::WakeElement::surUpE

Surface element "+" side.

◆ volLwE

tbox::Element* flow::WakeElement::volLwE

Connected volume elements "-" side.

◆ volUpE

tbox::Element* flow::WakeElement::volUpE

Connected volume elements "+" side.

◆ vsMap

std::map<size_t, size_t> flow::WakeElement::vsMap

map between surface node and volume node indices

◆ wkN

std::vector<std::pair<size_t, tbox::Node *> > flow::WakeElement::wkN

map between local index and contributing wake global nodes


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