My Project
T6Element.h
1 #pragma once
2 #include "TriangularElement.h"
3 
5 class T6Element :
6  public TriangularElement
7 {
8 public:
9  T6Element();
10  ~T6Element();
11 
15  void calculateConstants();
16 
29  MatrixXd getShapefunction(double zeta1, double zeta2, double zeta3);
30  /*
31  \brief Returns a matrix with the shape functions for the T6 element
32 
33  \f$
34  \begin{equation}
35  \textbf{N`} =
36  \begin{bmatrix}
37  0 & 0 & 0 & 0 & 0 & 0 & -\zeta_1 (2\zeta_1 -1) & -\zeta_2(\zeta_2-1) & -\zeta_3(\zeta_3-1) & -4\zeta_1 \zeta_2 & -4\zeta_2\zeta_3 & -4 \zeta_1 \zeta_3 \\
38  \zeta_1 (2\zeta_1 -1) & \zeta_2(2\zeta_2-1) & \zeta_3(2\zeta_3-1) & 4\zeta_1 \zeta_2 & 4\zeta_2\zeta_3 & 4 \zeta_1 \zeta_3 & 0 & 0 & 0 & 0 & 0 & 0 \\
39  \end{bmatrix}
40  \end{equation}
41  \f$
42  \return MatrixXd(2, 12);
43  */
44  MatrixXd getNMatrix(double zeta1, double zeta2, double zeta3);
45 
56 
76  void calculateBMatrix(double zeta1, double zeta2, double zeta3);
77 
79 
87  void T6Element::computeTau();
88 
89 };
90 
MatrixXd getNMatrix(double zeta1, double zeta2, double zeta3)
Returns a matrix of matrices with shape functions.
Definition: T6Element.cpp:124
void calculateConstants()
Calculates the constant vectors and matrices for the element; i.e. G, xCoordinates, and yCoordinates.
Definition: T6Element.cpp:101
void checkBMatrix()
A method used for verification of the B matrix calculations.
Definition: T6Element.cpp:151
MatrixXd getShapefunction(double zeta1, double zeta2, double zeta3)
Calculates shapefunctions.
Definition: T6Element.cpp:117
void calculateElementLoadShearX()
Calculates the initial load vector for shear along X.
Definition: T6Element.cpp:43
void calculateStiffnessMatrix()
Calculates element stiffness matrix K.
Definition: T6Element.cpp:194
void computeTau()
Calculates shear stresses at nodes using initialStrain and elementsDisplacement.
Definition: T6Element.cpp:207
void calculateElementLoadShearY()
Calculates the initial load vector for shear along Y.
Definition: T6Element.cpp:71
void calculateElementLoadTorsion()
Calculates the initial load vector for torsion.
Definition: T6Element.cpp:14
Class for implementation of T6 elements.
Definition: T6Element.h:5
T6Element()
Constructor.
Definition: T6Element.cpp:5
void calculateBMatrix(double zeta1, double zeta2, double zeta3)
Calculates the B matrix for T3 elements.
Definition: T6Element.cpp:132
Definition: TriangularElement.h:8