![]() |
waves
Basic FE playground
|
#include <wKuttaElement.h>
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... | |
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.
KuttaElement::KuttaElement | ( | size_t | _no, |
tbox::Element *& | _surE, | ||
tbox::Element *& | _volE, | ||
std::vector< std::pair< size_t, tbox::Node * >> & | _teN, | ||
int | _sign | ||
) |
|
overridevirtual |
size_t flow::KuttaElement::nCol |
number of columns in stiffness matrix
size_t flow::KuttaElement::nDim |
dimension of volume element
size_t flow::KuttaElement::no |
ID.
size_t flow::KuttaElement::nRow |
number of rows in stiffness matrix
int flow::KuttaElement::sign |
+1 if upper element, -1 if lower element
tbox::Element* flow::KuttaElement::surE |
Surface element.
std::vector<std::pair<size_t, tbox::Node *> > flow::KuttaElement::teN |
Map of local node indices and trailing edge nodes.
tbox::Element* flow::KuttaElement::volE |
Connected volume element.