waves
Basic FE playground
flow::KuttaElement Class Reference

Kutta finite element. More...

#include <wKuttaElement.h>

Inheritance diagram for flow::KuttaElement:
Collaboration diagram for flow::KuttaElement:

Public Member Functions

 KuttaElement (size_t _no, tbox::Element *&_surE, tbox::Element *&_volE, std::vector< std::pair< size_t, tbox::Node * >> &_teN, int _sign)
 
virtual void write (std::ostream &out) const override
 

Public Attributes

size_t no
 ID. More...
 
tbox::Element * surE
 Surface element. More...
 
tbox::Element * volE
 Connected volume element. More...
 
size_t nRow
 number of rows in stiffness matrix More...
 
size_t nCol
 number of columns in stiffness matrix More...
 
size_t nDim
 dimension of volume element More...
 
std::vector< std::pair< size_t, tbox::Node * > > teN
 Map of local node indices and trailing edge nodes. More...
 
int sign
 +1 if upper element, -1 if lower element More...
 

Detailed Description

Kutta finite element.

Made up of one surface element at the trailing edge and the connected volume element. Only Line2 (surface) and Tri3 (volume) elements are curently implemented. Since Tri3 are used, the evaluation 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. Kutta works well in 2D, but fails in 3D unless the geometry follows strict restrictions (thin and sharp TE, simple planform, same mesh elements on TE suction and pressure side, ...). Kutta contribution is therefore disabled for 3D cases.

Authors
Adrien Crovato

Constructor & Destructor Documentation

◆ KuttaElement()

KuttaElement::KuttaElement ( size_t  _no,
tbox::Element *&  _surE,
tbox::Element *&  _volE,
std::vector< std::pair< size_t, tbox::Node * >> &  _teN,
int  _sign 
)

Member Function Documentation

◆ write()

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

Member Data Documentation

◆ nCol

size_t flow::KuttaElement::nCol

number of columns in stiffness matrix

◆ nDim

size_t flow::KuttaElement::nDim

dimension of volume element

◆ no

size_t flow::KuttaElement::no

ID.

◆ nRow

size_t flow::KuttaElement::nRow

number of rows in stiffness matrix

◆ sign

int flow::KuttaElement::sign

+1 if upper element, -1 if lower element

◆ surE

tbox::Element* flow::KuttaElement::surE

Surface element.

◆ teN

std::vector<std::pair<size_t, tbox::Node *> > flow::KuttaElement::teN

Map of local node indices and trailing edge nodes.

◆ volE

tbox::Element* flow::KuttaElement::volE

Connected volume element.


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