Abstract
The presented work is used to develop a new numerical calculation program to determine the torsional stress in simply connected non-circular cross sections of a beam subjected to a constant torque using the finite element method. The method used is the finite element quadrilateral element with four nodes. The boundary conditions are of Dirichlet. In applications for torsion usually formulas and results for the circular section are used, although the section in the case of type real and not circular. This is due to lack of form for non-circular sections in general. Each section has its own form of the twist angle and strain which is different from one section to another. This formula is connected with the polar moment of inertia if the section is circular and different if the section is not circular. Hence, our interest is directed toward calculating polar moment of inertia and constant torque if the section is not circular. The results presented are chosen for simple sections for comparison and other complex shapes such as airfoil having a physical and practical interest. A calculation error between the theoretical results and the calculated results is done in this context.
Keywords
Introduction
In the past, researchers used the experimental method to demonstrate and validate their theories and assumptions of scientific research that does not have an analytical estimate. But when natural phenomena are too complex, dangerous, expensive, or long to reproduce in an experiment, it was necessary to create a simplified process, currently named the numerical simulation. 1
This study will then perform a numerical calculation to determine the stress distribution of cylindrical torsion beams of arbitrary non-circular section. Indeed, the complexity of this section induces that the exact solution does not exist, and of course our interest is directed toward the search for approximate numerical solutions. The finite element method was introduced and applied successfully since it adapts well to any selected section. 1
The resistance of the materials gives theoretical relationships only for torsion of the cylindrical circular sections. But for an aircraft, most of the structures are non-circular. We talk about the wing, fuselage, drift, spars, blades, blade of a helicopter, and others involving the field of mechanical engineering. 1
Traction and compression loading, bending, and torsion are the three fundamental modes of loading which can act on right prismatic beam. In this work, we study and focus on the issue of torsion. We find this latter mode of loading, alone or in combination with others, in a large number of structural elements and machine. 2
To study the torsion of a beam of non-circular section, we use the more general methods derived from the elasticity theory.1–4
Figure 1 illustrates the deformations undergone by a beam of circular cross section and the other square section subjected to a torsional moment. In general, a planar section normal to the longitudinal axis of the frame may still be plane after deformation.

Deformation due to a torsional moment in a beam of circular cross section and the other non-circular.
Equations of discretization managing the phenomenon of torsion are based on the finite element method (two-dimensional (2D)) whose main advantage is to provide a good representation of complex geometries, but relatively heavy enough volume and computation time.1,4–6
However, two main difficulties meet if the finite element method is used. The major difficulty is the optimal mesh generation and adaptation of the mathematical model equations. Another difficulty is the choice of appropriate numerical method to solve the algebraic system of equations given the large number of degrees of freedom.4,7–10
To do this, we must divide the field into small sub-domains of simple geometry known as the quadrilateral geometry through interpolation functions. A large number of finite elements are developed and implemented for the development of a numerical program to have a suitable convergence.4,5,8
Given the large size of the stiffness matrix, stored in the computer memory will be carried out using the technical of matrix bands to avoid storage boxes zero. To have a large number of zeros must be make a good numbering of mesh nodes.11–16
Similarly, solving the system of equations will be done by using the direct algorithm of Khaletski and will be modified specifically for bands and symmetric matrices.4,14–16
The solution of the problem is presented by the distribution of the flux of stress in the field which can be easily transformed to the distribution of torsional stress. A calculation of the integral of the flux stress distribution is of great interest to determine the formula for the unit angle of twist applied only to the selected section. 4
A very important parameter is represented by calculating polar moment of inertia of the selected section. The polar moment of inertia I is enters in the formula of the torsion angle unit. Note that this constant is equal to the torsion polar moment of inertia for the circular section and is different for other sections. 4
Analysis of the Prandtl equation by the finite element method
The finite element analysis is complicated by the fact that problems in two dimensions are described by partial differential equations. The contour Γ of the domain Ω in two dimensions is in general a curve.3,5
However, the finite elements have simple geometric shapes that can be used as an approximation to the data field in two dimensions. On the other hand, for 2D problems, we do not seek only an approximation of the solution for partial differential equations’ data but also an approximation of the field given by a suitable mesh finite element. 5
Therefore, we will obtain a good approximation of the error (due to the approximation of the solution) as the discretization error (due to the approximation of the domain) in the analysis of problems of finite elements in two dimensions.5,8,17
The finite element meshes for the simple elements such as 2D quadrilaterals are connected together by nodes on the contour of the element.4,9,18,19
The opportunity to represent the geometry of the collection area by finite element method makes it a valid and a practical tool for solving boundary value problems.5,6,8,17,20 This is a differential equation of second-order, linear, and elliptic type associated with the boundary conditions of the first order of Dirichlet said in an arbitrary planar domain Ω (x, y) 4
The plan reported on the section is the (xGy). To solve a problem of torsion, it suffices to calculate the values of the four unknowns Φ, τxy , τxz , and θ, using equations (1)–(3). Subsequently, Prandtl introduced the concept that we can solve the problem of torsion by calculating the value of a single unknown, called stress function Φ (x, y). This function is differentiable and is associated with the constraints according to relation (2). 4
If it is assumed that Φ = 2Gθu in equation (1), we have the following form4,5
with a = −1.
And
with
We develop the variational form of equation (4) for a typical element by multiplying the equation by a test function ν(x, y), which once assuming differentiable with respect to x and y, and then integrated into the area of the element (Ωe), we have4,5
Equation (8) is the basis of the variational form of the finite element model of equation (4).
Finite element formulation
The variational form of equation (4) indicates that the approximation of u must be chosen at least bilinear in x and y. Suppose u is approximated by the following expression4–8
Specifies the form of Nj (x, y) will be developed for the four-node quadrilateral element (see Figure 2). Substituting equation (9) in variational form (8), we obtain

Quadrilateral element has four nodes decomposed into two triangles.
as
and
Equation (10) represents the mathematical model of the finite element for equation (4).4,5
An examination of variational form (8) and stiffness matrix of the finite element equations in equation (11) shows that the function N(x, y) must be at least a bilinear function in x and y. So, there is a correspondence between the number of nodes in the element and the number of terms in the polynomial approximation of a dependent variable.
For 2D problems, the correspondence between the number of nodes (which is equal to the number of terms of polynomial approximations) and the degree of polynomial is not unique. In our case, the polynomial
contains four terms (linearly independent), linear in x and y. This approximation requires an element with four nodes, where one chooses a quadrilateral with nodes at vertices as shown in Figure 2. One can use approximation (14) instead of following approximation (13). It also contains four constants generalized and is symmetrical. But in our study, we are interested in relation (14)4–6,8,17,20
Functions of interpolations
We must rewrite approximation (13) so that it satisfies the conditions of the nodes’ vertices of a quadrilateral by
we put
Let [L] = [H]−1, inverse matrix of the matrix [H]
with
Then relation (13) becomes
Interpolation functions {N} in equation (18) are then given by
Stiffness matrix of a quadrilateral element
The calculation of the matrices [K (e)] and the force vector {F (e)} of the element in equation (11) is done by replacing relation (20) in expressions (11) and (13) and then making a direct integration using the results given by relation (20) for a quadrilateral explained below. The quadrilateral element is considered as the union of two triangles as shown in Figure 2. This consideration is made only to calculate the integrals I 00, I 10, I 01, I 11, I 20, I 02, and xG , yG of a quadrilateral.
The relations for Imn (m = 0, 1, 2), (n = 0, 1, 2) in equation (20) and the values of xG and yG of any triangle shown as number (1) in Figure 2 are presented in Zienkiewicz et al. 4 and Reddy 5
Using these relations, we can calculate the integrals and the position xG , yG center of gravity of the quadrilateral element as follows
where
and
The polar moment of inertia IP of a quadrilateral is therefore equal to the sum of the moments of inertia with respect to axes x and y passing through the center of gravity of the section. In this case, we should use the formula to allow Huygens transform quadratic moments of inertia of any axis to an axis passing through the center of gravity of the section.
In equation (7), the torsional constant C is equal to the polar moment of inertia IP for a circular section and different for a non-circular section.
Using equations (11) and (12), with the functions of interpolation (19) and after integration by using expressions (21)–(26), we have the following results
The stiffness matrix of a quadrilateral element has rank 4 × 4 and the force vector has rank 4. For the finite element, we will have the following matrix form
The elemental stiffness matrix is singular. We note that the elemental stiffness matrix must be singular.
A problem is encountered during the determination of the coefficients of the stiffness matrix. This is the calculation of the matrix [L] as the inverse of the matrix [H] for each finite element mesh. Since the rank of this matrix is small (equal to 4), the problem is reduced. For information, the number of mathematical operations that makes the inversion procedure of a matrix of order 4 × 4 is about 300 operations.4,20,21
Assembly of elementary stiffness matrices
The assembly is the operation which consists in building the global matrix [K] and global vector {F} for the entire domain from the elementary matrices [K (e)] and elementary vectors {f (e)} of the finite elements. To represent the assembly of finite element matrices, we illustrate the procedure considering that the mesh is built by two quadrilaterals.

Assembling two quadrilateral elements.
From this mesh, we note the correspondence between the global values and the nodal values of the elements4,5
For element (1), one has:
For element (2), we have:
Outside the stiffness matrices and vectors elemental of elements (1) and (2), we see numbers (1, 3, 4, and 2) for element (1) and numbers (3, 5, 6, and 4) for element (2) in this order as shown in Figure 3.
These numbers correspond to the location of the boxes in each matrix and vector in the global stiffness matrix and force vector. So for the entire domain, we have the following result
Matrix (39) is the global stiffness matrix of the entire domain. It is of rank 6 × 6, as the number of nodes in the domain is equal to 6. We note here that each node contains a single degree of freedom (an unknown). Equation (40) represents the force vector of the entire domain. It is of rank 6.
Grid generation
The implementation of the finite element method requires the use of the powerful numerical methods to solve the algebraic system which results from it. These equations will be solved in a discrete field, while passing from a medium continues in a discretized medium. In this paragraph, one deals with the problem of grid generation for the 2D fields.4,9,19 Therefore, one will develop an algebraic method that gives a structured grid, whose cells are of form quadrilaterals. It is named as standard grid “H.”
Procedure of grid generation
We are interested in the 2D simply connected domain. The general form is represented in Figure 4. To generate the grid inside this domain, and among the several existing techniques and according to the method of resolution of the algebraic system of equation, as well as the manner of consideration of the shape of the matrix of rigidity, it is very interesting to apply the idea of generation of grid in the rectangular areas for this type of problem.

Boundary of a simply connected domain.
Therefore, we obtain four sides which are AD, AB, BC, and CD, respectively. If we make continuous changes in each side, one can render lines straight. Consider the subdivision by Nx and Ny nodes on the horizontal x-axis and vertical y-axis, respectively.
Generation of nodes on the boundary of the domain
In the general case, it is not easy to make a universal method that will be applied for any curves, but we try to adapt to each complex forms a suitable procedure. The choice of points A, B, C, and D affects the shape of the four sides of the domain.
Consider the sides AB and CD. We look at what divides the segment [xA , xB ] in Nx nodes, then determine yi (i = 1, 2, …, Nx ) or the corresponding to divide the segment [yA , yB ] in Nx nodes, and then determine xi (i = 1, 2, …, Nx ). To take decisions, we try to calculate the following values
One makes calculation between the maximum value of xdis and ydis by
If dmax
= xdis
, we propose the values of xi
(i = 1, 2, …, Nx
) and then determine yi
using the function that passes through points A and B. It is assumed that in fact the choice of xi
then calculate yi
. Then the segment [xA
, xB
] is divided into Nx
nodes with points A and B included. For simplicity, we chose a subdivision not constant, and if the side is curved in the vicinity of point A or B, or any area, it is recommended to use a condensation process node, the procedure of which will be presented in the next section.
The coordinates of the points on this side are given by
For the CD side, and by analogy with the AB side, we have the following results
where FDC (x) is the function of the side DC.
The generation of hard node edges AD and BC is the same approach as the sides AB and DC. We will have for the AD side
For the side BC, we have
Finally, we obtain a diagram as presented in Figure 5. The example shown is for Nx = 10 and Ny = 6.

Nodes’ generation on the boundary of the domain.
Stretching function
The stretching function is used for one-dimensional (1D) distributed point along a boundary area where the area requires a specific resolution. In this case, the gradient of the solution is high.4,22
If the stretching function is applied to the side EA in Figure 6, the normalized variable is given by

Distribution of nodes according to equation (56).
with
where η represents x or y.
We can even give the distribution on the interval [0, 1] by η* with equal subintervals. The used stretching function is given by4,22
Once the value of s is obtained, it is required to specify the distribution of x and y. For example
For values of P > 1.0, it is possible to condense the nodes to point A.
Typical distributions of points on the EA segment for different values of P and Q are shown in Figure 6.
Generation of internal nodes
We now proceed with the presentation of the method used for the generation of internal nodes. The procedure involves first to determine the x-abscissa xi of all points by ignoring the order and by interpolating between the left and right sides (see Figure 7). We proceed by following the determination of ordinates yi of these nodes by interpolation between the top and bottom sides of the domain (see Figure 8). We follow the same approach presented for the generation of boundary points. Details of the procedure are given in Zienkiewicz et al. 4

Illustration of the procedure for determining the abscissa.

Illustration of the procedure for determining the ordinates.
Numbering of nodes
The numbering of nodes plays a very important role in the storage of matrices, especially if the rank of the matrix becomes higher.4,14–16 For any order N × N of matrix, it is necessary to store N 2 boxes, which is impossible for high values of N. The need for computer memory is important for our problem, which forces us to think of a technique to solve a high-order system of equations, to make the resolution of the physical problem with good required precision. 4
If we look at the field, we can make the stiffness matrix full of zero which condenses to a known region and the non-zero elements to condense the main diagonal of the matrix. This is called as band matrices.4,10–16 In addition, the mathematical formulation by finite element gives a symmetric matrix.
The result of the application of mathematical operations between two real numbers, one of which is 0, is known to start again without a computer calculation. So, there is no need to book a whole box to store a 0. As the number of zeros may be important, it remains to indicate their positions in the stiffness matrix. This matrix is characterized by the value of the half-bandwidth. The number of zeros in the matrix increases as the value of the half-bandwidth decreases. 4
It should be noted that one can find the band of the zero elements. But if we want to work with band matrices, we cannot eliminate these items from the store because working with this type of matrix and the decomposition into two triangular matrices is also band. Note that if we calculate the number of zeros that are in the band part, we can find some numbers to a number that exceeds half or even 90%. 4
The width of the half-band is equal to the maximum difference one (problem intervals) between the numbers of two nodes of the same element, multiplied by the number of degrees of freedom of the nodes (in our case, each node contains 1 degree of freedom). If we have a rectangular area formed by NE quadrilateral elements, the value of the half-band B of the matrix before applying the boundary conditions is given by (Figure 9).

Finite element quadrilateral with four nodes.
Let
Therefore, the value of B is given by
Consider a rectangular area to be discretized in 15 quadrilaterals as shown in the following figure elements (Figure 10).

Elements’ numbering.
The numbering of the elements is not a problem on the value of the half-band of the stiffness matrix. Both numbering nodes are considered for this example. For each case, we will build the stiffness matrix of the whole area and that regardless of the boundary conditions. It should be noted that for this example, the number of nodes is 24, then the stiffness matrix [K] is of rank (24 × 24).
Case 1
We will number the nodes along the horizontal axis from left to right and climb along the vertical y-axis as shown in Figure 11.

Example of numbering of nodes (case 1).
We found in this case B = 8.
Case 2
We will now number the nodes along the vertical y-axis from the bottom to the top and then move along the horizontal x-axis from left to right (see Figure 12).

Example of numbering of nodes (case 2).
It may be noted in this case that the width of the half-band equals B = 6. We deduce from both numbering as case 2 is an optimal numbering for which the non-zero cells condense as much as possible to the main diagonal.
Node filtering
Sometimes it is very efficient to use the filter option called nodes. In some cases, the size of grid cells is not homogeneous. There is a large cell size and other very small. Especially, for points close to the boundary. To make the cell sizes of same magnitude, it repositions the internal mesh points several times using the procedure described by the following equation (60) 4
Connection of the finite element mesh
According to the discretization of the domain into small elements, we obtain a set of points and finite elements. Each element has its own stiffness matrix [K (e)] and force vector {f (e)}. The problem is to assemble these elementary matrices for the entire domain. To get results, we have to know the numbers of nodes of each element. So, we must declare a matrix of order (NE × 4). We denote this matrix by NUMNT. For example, both previous numbering, the vector NUMNT (NE, 4), will be filled as follows:
The four values in each row of the vector NUMNT represent the numbers of rows and columns of the matrix of the overall stiffness matrix before applying boundary conditions.
Preparation of the system of equations
In this section, we will present the necessary steps and the technique developed for the preparation of the system of algebraic equations. More precisely, the stiffness matrix [K] of the overall matrix and the force vector {f} correspond. Our problem here is to prepare the system of equations before and after the introduction of the boundary conditions, in addition, as a vector. 4
The rank of the stiffness matrix of the system before the introduction of the boundary conditions is equal to NN, and after the introduction of the boundary conditions becomes number of remaining degree of freedom (NDDLR), less than NN, which will be reduced by number of eliminated degree of freedom (NDDLE). We note here that the stiffness matrix is singular and that before the introduction of the boundary conditions removes the singularity of the matrix and makes it regular. The problem here is that the numbers of rows and columns removed in the stiffness matrix before introducing the boundary conditions during the phase of implementation of these are the numbers of nodes in the border area. To get to the removal of these rows and columns, we must declare a vector of integer type, of rank NN, named, for example, ICL, to indicate each domain node by its presence or absence in the final stiffness matrix by a code. The code used here are the two digits 0 and 1.
If ICL(I) = 1, then the node number “I” will be present in the final matrix.
If ICL(I) = 0, then the node number “I” is absent in the final matrix.
Can be drawn from this filling, the number of boxes containing “1” is the same for both cases and is equal to 8 for these examples. This number is the rank of the final stiffness matrix after the application of boundary conditions.
After we did the filling of the vector “ICL,” where the knowledge of rows and columns was removed from the stiffness matrix after the introduction of boundary conditions, we have to know otherwise. That is to say, the number of node in the mesh corresponding to the row or column of the final stiffness matrix. The form of the stiffness matrix of the two cases’ numbering after the introduction of boundary conditions has the following form, and that after removing the rows and columns with the numbers of nodes in the border area. The rank of the matrix is (8 × 8). We can look exactly the numbers of lines remaining as columns as presented in Figure 13.

Forms of the matrix [K] of the two cases’ numbering after application of boundary conditions.
If we do a little comparison in the change of the value of B in case 1 and case 2, we note that the value of B is changed. It decreases or remains the same. For case 1, the new value becomes 6. For case 2, it becomes 4.
Numerical solution of system of algebraic equations
This section is devoted to solving the problem numerically. We implemented a program in FORTRAN language in this context. The work was limited to symmetric band matrices [K]. These two properties led us to store the upper (or lower) of the matrix, by eliminating the zeros which are on the outside of the band, in a single-column vector, which gives the equivalence of boxes for matrix [K] in the vector {vk}.
The calculation is simple and it is to give every time we fall into a cell of the matrix K(i, j), its position in the vector {vk} from a certain recurrence formula that varies with the way storage. If once we fall into a K(i, j) box above the diagonal (at the top) but outside of the band, the calculation will be ignored as this box is actually 0 and it has no change statement. If once we fall into a K(i, j) box below the diagonal (in the bottom), it is sufficient to use only the property K(i, j) = K (j, i) (storing the upper part was chosen in the program), and the treatment is as a K(i, j) with the two previous cases.
Methods of storing a matrix as a vector
Consider a matrix [K] of order (N × N) symmetric and band. The problem is how to store the boxes of the matrix band in a vector {vk}. We propose in our work is the storage as diagonal. The principle is presented as follows. We take a matrix [K] of order (7 × 7) and symmetric and the bandwidth B = 4 and that for fixed ideas. 4
The method chosen storage is represented by the direction of the arrows, that is to say, diagonal by diagonal, as shown in Figure 14.

Diagonal storage.
It may be noted in this example that the required dimension of the vector {vk} is equal to NN = 22. Now, if we want to generalize for matrix [K] of order (N × N) symmetric with width of half-band B, we have
We now proceed to the determination of the storage formula of the matrix elements [K] (the elements of the upper band only) in the vector {vk}, that is to say, the equivalent of a box of the matrix [K] in the vector {vk}.
For boxes K(i, j), its position in the vector {vk} is (L) with
where
The method of storage of matrix band vector form saves us in memory in the following order
Instead of storing N 2 cases, it only stores NN boxes. For an order of values NDCE and NN, we propose the following example:
N = 100
It is clear from this example that more than half the width of the band is smaller than the number of cases increasing rapidly.
Algorithm for solving the system of equations
It is necessary to solve the problem, after completing the stiffness matrix [K] and the global vector {F}, to determine the vector {u} solution to the following system of equations4,10–13,20,21
We chose the method of direct numerical solution of Khaletski. 4 For a symmetric band matrix, the algorithm for solving system (64) is presented in Zienkiewicz et al. 4 Let the matrix [K] as a product of two lower triangular matrices [L] = [Lij ] and the upper triangular matrix [H] = [Hij ] have unit diagonal, that is to say
It will result in two systems of equations with a triangular matrix
we put
then
If the matrix [K] is symmetric, we can show that
The matrix [K] has the following general form
The matrix [L], which belongs to the decomposition of the matrix [K], has the same structure as [K] except that it is triangular. After removal operations on zeros (the external elements of the band), the elements of the matrix [L] can be calculated by the following equations 4
Similarly, the vector {y} from equation (67) and the vector {u} from equation (66) can be calculated by the following algorithm 4
and
The diagonal elements of the matrix [K] are all positive and non-zero. Similarly, it is a positive definite matrix.
Calculation of parameters of interest
After determining the solution vector {u} in each node of the mesh, our interest is directed toward the computation of some interesting parameters.
The surface area has been divided into small finite elements’ simple quadrilateral shape. Then, the total area of this section will be approximated by the sum of all areas of the surfaces of the finite elements. We can therefore write
The center of gravity of this section consisting of small quadrilateral element is given by
The polar inertia IP of the complete section relative to the axis passing through the center of gravity of the section can be calculated by the following equation. Then
The values of A and xG and yG are given by equations (73) and (74), respectively. The expressions of I 20 and I 02 in equation (75) are given by equations (24) and (25), respectively.
Constant of torsion
The calculation of the torsional constant C of the section of the field discretized into NE quadrangles can be calculated using equation (7). We can consider the integral as follows
The function u(x, y) of the finite element is given by formula (18) and the interpolation functions are provided by equation (19). Substituting these two equations in equation (76), we have
Substituting the result obtained by equation (77) in equation (6), we can easily deduce the value of the torsion angle unit.
Stress of torsion
After determining the flow distribution u of twist, the torsional constant C, and unit twist angle θ, we can determine the distribution of torsional stress in both x and y directions for each node of the computational domain using equations (5). Using relations (18) and (19) into equation (5), we have
where i = 1, 2, …, NN
where i = 1, 2, …, NN
For each mesh point, we have two components of torsional stress appointed by τxz and τyz . The resultant is then given by the following relationship. This constraint works in the section of the beam in the directions well determined
It is interesting to determine the value and position of the maximum stress τ of the problem, to locate the dangerous section and the dangerous point which causes the rupture, or to make a design of a working structure under less stress to allowable stress breaking.
The calculation of the relative error made between the exact solution and the approximated numerical solution can be calculated by the following equation
The word parameter in equation (81) may indicate the polar moment of inertia, torsional constant, the maximum stress, and all other parameters of the problem.
Results and comments
The first part of the results is to obtain and display the obtained H-type meshes in simple configurations and other complex. The second part is devoted to the presentation of the results on solving the Poisson equation in selected configurations.
Results of the mesh generation
Figure 15 shows a type of quadrilateral mesh in a circular domain. Here, we took an example for Nx = 30 and Ny = 30. Therefore, the number of nodes is equal to 900 and the number of quadrilaterals is equal to 841.

Quadrilateral mesh in a circle with Nx = 30 and Ny = 30.
Figures 16–27 present a mesh areas in regular polygons inscribed in a circle, each having a number of sides equal to 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, and 14. In Figure 16, the field is an equilateral triangle. Figure 17 shows a quadrilateral mesh in a square domain. Figure 18 shows a mesh in a pentagon area. The mesh shown in Figures 19–23 is the hexagon, heptagon, octagon, nanogone, and decagon, respectively. Similarly, an area of a regular polygon with 11, 12, 13, and 14 sides were presented in Figures 24–27, respectively.

Quadrilateral mesh in an equilateral triangle with Nx = 30 and Ny = 30.

Quadrilateral mesh in a square with Nx = 20 and Ny = 20.

Quadrilateral mesh in a regular pentagon with Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular hexagon with Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular heptagon with Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular octagon with Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular nanogone with Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular decagon with Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular polygon with 11 sides and Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular polygon with 12 sides and Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular polygon with 13 sides and Nx = 30 and Ny = 30.

Quadrilateral mesh in a regular polygon with 14 sides and Nx = 30 and Ny = 30.
A mesh field in a form of a semicircle is presented in Figure 28, and in Figure 29, the area is a quarter circle.

Quadrilateral mesh in a half-circle with Nx = 30 and Ny = 30.

Quadrilateral mesh in a quarter circle with Nx = 30 and Ny = 30.
Figure 30 shows a quadrilateral mesh in an area of an astroid. This area is a type of mathematical field.

Quadrilateral mesh in an astroid with Nx = 30 and Ny = 30.
In Figure 31, the area concerned is that of an ellipse. In Figure 32, the domain is of a symmetrical diamond. This type of domain is interested in the wings of supersonic aircraft, where the airfoil should be pointed at the leading edge as the figure shows.

Quadrilateral mesh in an ellipse with Nx = 30 and Ny = 30.

Quadrilateral mesh in a symmetrical diamond with Nx = 15 and Ny = 15.
In these figures, we chose Nx = 30 and Ny = 30. Then, the number of nodes equals 900 nodes, and therefore, the number of quadrilateral elements is equal to 841.
The difference between the presented meshes is only the boundary that varies. Meshes’ simple configuration can be found to build and the other as complex polygons and the airfoil.
In our application, we used several types of airfoils affecting all airlines. Part mesh generation is necessary to make the resolution of the Poisson equation.
The example shown in Figures 33 and 34 is the RAE 2822 airfoil with asymmetric camber. This area is of great interest to researchers interested in aerodynamics and elasticity. For example, if we can search and study the problem of torsion of helicopter blades, the propeller blades of the engine, the compressor blades, and other cases, it is necessary to generate this kind of mesh. Assume that we want to determine the area and geometric characteristics (position of the center of gravity, moments, and products of inertia) as a wing profile that will serve us for a study of strength and stiffness, we are still interested in this type of mesh. In Figure 35, we did not take an orthonormal mark in order to visualize the internal cells.

Quadrilateral mesh in the RAE 2822 airfoil with Nx = 10 and Ny = 10.

Quadrilateral mesh in the RAE 2822 airfoil with Nx = 30 and Ny = 30.

Variation in the torsion parameters IP , C, and τmax /(2Mt ) versus the number of nodes of the discretization for the square.
Effect of discretization on the convergence
We consider the example of the square inscribed in a circle of radius R = 1.00 (see Figure 17). In this case, the length of each side is equal to
Table 1 presents the results obtained on the polar moment of inertia, torsional constant, and the value of the maximum torque stress depending on the discretization. We clearly notice the convergence of these parameters to the exact solution.
Effect of discretization on the results for the square.
According to Table 2, the relative error obtained decreases as the number of nodes increases. So, for discretization Nx = Ny = 300 knots, it will be an error that stabilizes at εI = 0.05%, εC = 1.21%, and ετ = 6.66% for IP , C, and τmax , respectively.
Errors obtained from the discretization of the square area.
About the obtained error of 6.66% on the maximum stress, here the stress is obtained from the derivative of the primary solution which is the flow of twist, which is itself a first-order approximation. If we calculate the relative error on the flow of torsion, we will get an error ε = 0.02% for the discretization of Nx = Ny = 300 nodes. This error influences and will give us another error on the maximum stress. In addition, the finite element used affects the error obtained. Similarly, the error depends on the discretization, given the large number of mathematical operations performed. It gave us an error of 6.66%, which is an acceptable error.
Figure 35 shows the effect of the discretization on the convergence of the problem, especially the torsional constant, the polar moment of inertia, and the maximum stress of torsion for the square section. Note that if we increase the number of nodes NN of the discretization, we will clear the convergence of these parameters. In this case, we took Nx = Ny since the dimension along the x-axis is the same as the dimension along the y-axis of the square section (see Figure 17).
The second example chosen is the geometry of an airfoil. The selected profile is the RAE 2822 with asymmetric camber. The definition of the geometry is presented by 65 points as shown in Table 3.23,24 The points of Table 3 are used to determine the analytical function of the extrados and the intrados of using cubic spline interpolation. As the dimension along the vertical axis is about 10 times lower with respect to the longitudinal dimension, it takes Nx = Ny /5. The exact solution in this case does not exist for the parameters shown in Table 3.
Defining points of the surface of the airfoil RAE 2822.
According to Table 4, we can estimate from the discretization that IP = 0.00389, C = 0.25 × 10−3, and τmax /Mt = 452.
Effect of discretization on the results for the airfoil RAE 2822.
It was noted that the maximum torsional stress is applied on the boundary to the nearest center of gravity issue. Tables 5–7 present the results of our numerical calculation program on the torsional parameters for the wings and profiles for other interesting sections.
References to airfoil and the parameters of the torsion airfoil calculated by the numerical program.
Parameters of the twist for various sections calculated by the numerical program.
Parameters of the twisting for regular polygons calculated by the numerical program.
From Tables 5–7, we note that the torsional constant C is different to polar moment of inertia, and it is equal only to the circular section. This result demonstrates that the formulas of torsion for circular section beings cannot be applied to determine the angle and torsional stress for non-circular sections. For information, the strength of the materials use the formulas of circular section to solve the problems of non-circular cross sections due to lack of formulas for non-circular sections.
The selected data for an ellipse are that the dimension along the horizontal axis is equal to a = 1.00 and the dimension in the vertical axis is b = 0.50.
The exact formula for polar moment of inertia for regular polygons of n (n ≥ 3) sides inscribed in a circle of radius R is given by1,4
Similarly, the value of the torsion constant and the maximum torsional stress for some regular polygons appear in Table 8.1,4
Exacts of torsional parameters for regular polygons. 1
The errors obtained for these parameters are presented in Table 9. Note that the error is very small for a discretization Nx = Ny = 200. If we increase the number of nodes in the discretization, we will see an error lower than that presented in Table 9.
Errors obtained on torsional parameters for some regular polygons.
For the circular section, we obtained an error approximately 0.01% for all parameters for discretization Nx = Ny = 200. Note that we did not find the exact solution for sections of airfoils in the literature.
Conclusion
This work allows us to make the determination of the torsional stress in any non-circular sections by the finite element method using a four-node quadrilateral element and make applications for airfoil used in aeronautics. The following points can be drawn from this work:
The problem can be seen as the mathematical resolution of the Poisson equation in a 2D simply connected domain by the finite element method with Dirichlet boundary conditions.
Various fields have been presented in this work involving many disciplines implicitly.
Section must be set in the center mark of the section.
All airfoils considered are presented in the tabulated values. The cubic spline interpolation is used in this case to obtain an analytic function of the upper and lower surfaces.
Condensation nodes to the leading edge of the airfoil are used to refine the points to the edge having the large curvature in this region.
An optional filter node is used to reposition the internal nodes of the mesh to solve the problem of cell sizes obtained.
Comparing the results to determine the accuracy of the developed program was made for the square domain, the exact solution exists.
The maximum stress is shown on the boundary closest to the center of gravity points.
The torsional constant is equal to the value of polar moment of inertia for circular section, and it is different for the non-circular case.
We cannot apply the torsion formulas of circular section to determine the angle and torsional stress for non-circular sections. This is the case for the strength of the materials’ discipline.
Solving the system of equations obtained is done with the technique of matrix bands when storing the upper part of the band matrix is considered in a vector because the stiffness matrix is symmetric and wide.
The algorithm for solving the used system of equations is Khaletski designed specifically for the direct solution of systems of equations. Transfer boxes between the matrix and the corresponding vector are done by the diagonal-by-diagonal manner.
The numerical program developed can solve a very high-order equation system, which can reach millions or even higher.
Problems with the Neumann boundary conditions and Cauchy are left as future work.
As future work, we can do the calculation extension for doubly or even multi-connected domain.
Footnotes
Appendix 1
Acknowledgements
The authors acknowledge Khaoula, AbdelGhani Amine, Ritadj Zebbiche and Mouza Ouahiba for granting time to prepare this article.
Academic Editor: Michal Kuciej
Declaration of conflicting interests
The authors declare that there is no conflict of interest.
Funding
This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.
