FeResPost Web Site                     FeResPost Online User Manual

X.B.4.4 Local coordinate systems of CQUAD4 elements

For CQUAD4 Nastran elements, the origin of the element coordinate system is defined to be the intersection of straight lines AC and BD( A, B, C, and D being the corners of the element). As long as the four defining nodes are co-planar, this definition is sufficient. But otherwise, the two straight lines do not intersection, and a generalization of the definition of the origin has to be found. We decide that the origin of the coordinate system shall be the point closest to the two straight lines AC and BD.

The two straight lines can be defined with corresponding parameterized equations:

x1 = 1 2 + ξxA + 1 2 - ξxC,
x2 = 1 2 + ηxB + 1 2 - ηxD.

So, one has to find the parameters ξ and η that minimize x1 -x2. The vector x1 -x2 can be developed as follows:

x1 -x2 = xA -xB + xC -xD + xA -xC ξ + xD -xB η, = v3 + v1ξ + v2η,

where

v1 = xA -xC, v2 = xD -xB, v3 = xA -xB + xC -xD.

The square of the norm defined above x1 -x2 2 depends on parameters ξ and η and is given by:

f(ξ,η) = v32 + 2v 3 v1ξ + 2v3 v2η + v12ξ2 + v 22η2 + 2v 1 v2ξη.

This function must be stationary at the optimum point. Therefore its first derivatives wrt ξ and η must be zero:

f,ξ(ξ,η) = f,η(ξ,η) = 0.

This leads to a system of two linear equations with the two unknowns ξ and η:

v3 v1 + v12ξ + v 1 v2η = 0,
v3 v2 + v1 v2ξ + v22η = 0.

These two equations may be rewritten as follows:

v1 v3 + v1ξ + v2η = 0,
v2 v3 + v1ξ + v2η = 0,

Or simply

v1 x1 -x2 = 0,
v2 x1 -x2 = 0.

This equation simply means that the vector connecting the two optimum points is perpendicular to both lines AC and BD. Finally, after resolution of the system of equations and various substitutions, on finds the origin of coordinate system at:

x0 = x1 + x2 2 , = xA + xB + xC + xD 4 + xA -xC 2 ξ + xB -xD 2 η.