Section print SOF SOM

Hi,

I’m aware that section print SOF SOM is not very accurate as mentioned in the manual:

“Since the section forces are obtained by integration of the stresses at the in-
tegration points of the faces, which are obtained by interpolation from the stress
values at the facial nodes (which in turn are determined through extrapolation
from the integration point values inside the volumetric elements and subsequent
averaging over the elements to which the node belongs) they will not be accu-
rate at locations where the stress jumps, such as at interfaces between different
materials.”

But I’m starting to question if the deviation between Normal and Shear component in this problem is not due to some other deep reason.

The attached example puts the model under an uniaxial Stress state in which all the integration points have the same stress state. There should not be Interpolation, extrapolation error. However, the Sof SOM are still wrong with respect the expected value. Normal=Shear.

Total Surface normal direction is correct but once projected to the surface (45º) is suddently normal and shear splits incorrectly.?¿? (3.540794E+01 6.128758E+01)

Any insight is welcome and apreciated.

*NODE
1,0.0005,0,0.001
2,0.0005,0.001,0.001
3,0.0005,0.001,0
4,-0.0005,0,0
5,-0.0005,0,0.001
6,-0.0005,0.001,0.001
7,-0.0005,0.001,0
8,-0.0005,-0.001,0.001
9,-0.0005,-0.002,0.001
10,-0.0005,-0.001,0.001
11,-0.0005,-0.002,0
12,0.0005,0,0
13,0.0005,-0.002,0.001
14,0.0005,-0.001,0.001
15,0.0005,-0.001,0
16,-0.0005,-0.002,0
17,-0.0005,-0.001,0
18,0.0005,-0.002,0
19,0.0005,-0.002,0
20,0.0005,-0.001,0.001
21,0.0005,0,0.0005
22,0.0005,0.0005,0.001
23,0.0005,0.0005,0.0005
24,0,0,0
25,0,0,0.001
26,0,0.001,0.001
27,-0.0005,0,0.0005
28,-0.0005,0.0005,0.001
29,-0.0005,0.0005,0.0005
30,0.0005,0.001,0.0005
31,0.0005,0.0005,0
32,0,0.001,0
33,-0.0005,0.001,0.0005
34,-0.0005,0.0005,0
35,0.0005,-0.001,0.0005
36,0.0005,-0.0015,0
37,0.0005,-0.0015,0.0005
38,0,-0.001,0.001
39,0,-0.001,0
40,0,-0.002,0
41,-0.0005,-0.001,0.0005
42,-0.0005,-0.0015,0
43,-0.0005,-0.0015,0.0005
44,0.0005,-0.002,0.0005
45,0.0005,-0.0015,0.001
46,0.0005,-0.0015,0.0005
47,0,-0.002,0
48,0,-0.002,0.001
49,0,-0.001,0.001
50,-0.0005,-0.002,0.0005
51,-0.0005,-0.0015,0.001
52,-0.0005,-0.0015,0.0005
53,0.0005,-0.001,-0.0005
54,0.0005,-0.001,-0.001
55,0.0005,-0.002,-0.0005
56,0.0005,-0.002,-0.001
57,-0.0005,-0.002,-0.0005
58,-0.0005,-0.002,-0.001
59,-0.0005,-0.001,-0.0005
60,-0.0005,-0.001,-0.001
61,0.0005,0.001,-0.0005
62,0.0005,0.001,-0.001
63,0.0005,0,-0.0005
64,0.0005,0,-0.001
65,-0.0005,0,-0.0005
66,-0.0005,0,-0.001
67,-0.0005,0.001,-0.0005
68,-0.0005,0.001,-0.001
69,0.0005,-0.0015,-0.001
70,0,-0.002,-0.001
71,-0.0005,-0.0015,-0.001
72,0,-0.001,-0.001
73,0.0005,0.0005,-0.001
74,0,0,-0.001
75,-0.0005,0.0005,-0.001
76,0,0.001,-0.001
*ELEMENT,TYPE=C3D15
1,12,1,2,4,5,6,21,22,23,27,28,29,24,25,26
2,2,3,12,6,7,4,30,31,23,33,34,29,26,32,24
3,14,15,18,10,17,16,35,36,37,41,42,43,38,39,40
4,19,13,20,11,9,8,44,45,46,50,51,52,47,48,49
*ELEMENT,TYPE=C3D20
5,15,18,16,17,54,56,58,60,36,40,42,39,69,70,71,
72,53,55,57,59
6,3,12,4,7,62,64,66,68,31,24,34,32,73,74,75,
76,61,63,65,67
*ELSET,ELSET=ALLELEM
1
2
3
4
5
6
*SURFACE,NAME=MASTER
3,S5
*SURFACE,NAME=SLAVE
4,S5
*SURFACE,NAME=MERGED
1,S5
*SURFACE,NAME=CONTACTS
3,S5
*ORIENTATION,NAME=O1
0,-1,1,0,1,1
0,0
*MATERIAL,NAME=STEEL_ORTHO
*ELASTIC,TYPE=ENGINEERINGCONSTANTS
100000000000,100000000000,100000000000,0,0,0,50000000000,50000000000
50000000000
*DENSITY
7850
*SOLID SECTION,ELSET=ALLELEM,MATERIAL=STEEL_ORTHO,ORIENTATION=O1
*BOUNDARY
13,1,,0
54,3,,0
56,1,,0
56,2,,0
56,3,,0
58,3,,0
58,2,,0
60,3,,0
62,3,,0
64,1,,0
64,2,,0
64,3,,0
66,3,,0
66,2,,0
68,3,,0
69,3,,0
70,3,,0
70,2,,0
71,3,,0
72,3,,0
73,3,,0
74,3,,0
74,2,,0
75,3,,0
76,3,,0
*CONTACT PAIR,INTERACTION=SI_3,TYPE=SURFACE TO SURFACE,ADJUST=0.03741657386774
SLAVE,MASTER
*SURFACE INTERACTION,NAME=SI_3
*SURFACE BEHAVIOR,PRESSURE-OVERCLOSURE=TIED
2000000000000,1
*FRICTION
1,2000000000000
*STEP,NLGEOM=YES,INC=100
*STATIC
1,1,1E-06,0
*CLOAD
1,3,-8.333333333333
2,3,-8.333333333333
5,3,-8.333333333333
6,3,-8.333333333333
22,3,33.33333333333
25,3,33.33333333333
26,3,33.33333333333
28,3,33.33333333333
13,3,-8.333333333333
20,3,-8.333333333333
9,3,-8.333333333333
8,3,-8.333333333333
45,3,33.33333333333
48,3,33.33333333333
49,3,33.33333333333
51,3,33.33333333333
*NODE FILE,GLOBAL=YES
U,RF
*EL FILE,GLOBAL=NO
S,NOE,ENER,E
*CONTACT FILE
CSTR,CDIS
*SECTION PRINT,SURFACE=Contacts,NAME=Reaction_forces1
SOF,SOM
*SECTION PRINT,SURFACE=Merged,NAME=Reaction_forces2
SOF,SOM
*EL PRINT, ELSET=ALLELEM,GLOBAL=NO
S
*END STEP

I’m aplying 100N in vertical direction.

EL FILE,GLOBAL=NO is breaking *SECTION PRINT correctness. Without ,GLOBAL=NO , section forces are right, equal and in overall balance with the external load.

area, normal force (+ = tension), shear force (size), torque and bending moment (size)

1.414920E-06  7.067556E+01  7.074613E+01  1.141419E-14  1.249913E-07

I think the problem could be that SECTION PRINT is using the stresses expresed in the Local coordinate system during the integration and interpolation and components end up mixed.?¿?

In my opinion normal force (+ = tension) should be independent of the Local coordinate system and it is not.

I have question AI about that possible explanation:

Your hypothesis is correct: *SECTION PRINT appears to use stress components expressed in the local material coordinate system together with a surface normal expressed in the global coordinate system.

This is not merely a theoretical possibility. The relevant operations are visible in three source files in the repository.

1. resultsprint.f: selection of the coordinate system

Source: resultsprint.f

The relevant code is:

if((norien.gt.0).and.(filab(3)(6:6).eq.'L')) then
   iorienloc=1
else
   iorienloc=0
endif

cflag=filab(3)(5:5)

call extrapolate(stx,stn,ipkon,inum,kon,lakon,nfield,nk,
     & ne,mi(1),ndim,orab,ielorien,co,iorienloc,cflag,
     & vold,iforce,ielmat,thicke,ielprop,prop)

This is executed specifically when SOF is requested.

The important detail is that iorienloc=1 when local-coordinate output is requested and an orientation exists. The resulting nodal stresses are stored in stn.

2. extrapolate.f: transformation of the stress tensor

Source: extrapolate.f

The code explicitly transforms the stress tensor:

call transformatrix(orab(1,iorien),coords(1,j),a)

b(1,1)=yi(1,j,i)
b(2,2)=yi(2,j,i)
b(3,3)=yi(3,j,i)
b(1,2)=yi(4,j,i)
b(1,3)=yi(5,j,i)
b(2,3)=yi(6,j,i)

It then performs the tensor transformation:

imagen

and stores the six transformed components in yiloc. These are subsequently extrapolated to the nodes.

So far, this is correct: the stress tensor is being represented in the local coordinate system.

3. printoutface.f: the critical problem

Source: printoutface.f

This routine interpolates the nodal stresses:

t(1,1)=t(1,1)+
     & shp2(4,i1)*stn(1,konl(ifaceq(i1,ig)))

t(1,2)=t(1,2)+
     & shp2(4,i1)*stn(4,konl(ifaceq(i1,ig)))

It does the same for all six tensor components.

Then comes the critical operation:

df(i1)=(t(i1,1)*xsj2(1)+
     &   t(i1,2)*xsj2(2)+
     &   t(i1,3)*xsj2(3))*weight

Here:

  • t contains the stress tensor interpolated from stn.
  • xsj2 contains the surface normal multiplied by the surface Jacobian, calculated from the global nodal coordinates.

The code therefore calculates:

imagen

But if stn contains local-coordinate stresses, the operation is mathematically inconsistent.

It should instead calculate either:

imagen

or transform the normal into the local coordinate system and consistently transform the resulting traction back to global coordinates.

4. My conclusion

Potential source-code bug identified

The source code supports the following diagnosis:

  1. resultsprint.f selects local stress output when GLOBAL=NO is active.
  2. extrapolate.f transforms the stress tensor into local coordinates.
  3. printoutface.f uses those components directly with a global surface normal.

It is the type of coordinate-system inconsistency you suspected.

It could produce incorrect section forces and an erroneous normal/shear force ratio. The numerical error will depend on the orientation of the material coordinate system relative to the global system.