OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
bulkfakeigeo3.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine bulkfakeigeo3 (elbuf_tab, iparg, pm, kxig3d, igrsurf, stifint)

Function/Subroutine Documentation

◆ bulkfakeigeo3()

subroutine bulkfakeigeo3 ( type(elbuf_struct_), dimension(ngroup), target elbuf_tab,
integer, dimension(nparg,ngroup) iparg,
pm,
integer, dimension(nixig3d,*) kxig3d,
type (surf_), dimension(nsurf) igrsurf,
stifint )

Definition at line 29 of file bulkfakeigeo3.F.

30C-----------------------------------------------
31C M o d u l e s
32C-----------------------------------------------
33 USE elbufdef_mod
34 USE groupdef_mod
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C C o m m o n B l o c k s
41C-----------------------------------------------
42#include "com01_c.inc"
43#include "com04_c.inc"
44#include "param_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER IPARG(NPARG,NGROUP),
49 . KXIG3D(NIXIG3D,*)
50C REAL
52 . pm(npropm,*),stifint(*)
53 TYPE(ELBUF_STRUCT_), TARGET, DIMENSION(NGROUP) :: ELBUF_TAB
54 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER :: J, K, N, NG, IEL, ITEL, NUMFAKECP, ITSURF
59 my_real :: av1,cv1, vol(numelig3d), vnige(numfakenodigeo), bnige(numfakenodigeo)
60 TYPE(G_BUFEL_) ,POINTER :: GBUF
61C-----------------------------------------------------------------------
62C
63C isogeometric elements :
64c
65 DO ng=1,ngroup
66 IF (iparg(5,ng) == 101) THEN
67 DO itel=1,iparg(2,ng)
68 gbuf => elbuf_tab(ng)%GBUF
69 vol(itel+iparg(3,ng)) = gbuf%VOL(itel)
70 ENDDO
71 ENDIF
72 ENDDO
73
74 vnige = 0
75 bnige = 0
76c
77 DO itsurf=1,nsurf
78 IF(igrsurf(itsurf)%NSEG_IGE>0) THEN !we are on an isogeometric surface
79 DO j=1,igrsurf(itsurf)%NSEG_IGE
80 iel=igrsurf(itsurf)%ELEM_IGE(j)
81 av1 = vol(iel)/56
82 cv1 = pm(32,kxig3d(1,iel))*av1
83 DO k=1,4
84 numfakecp=igrsurf(itsurf)%NODES_IGE(j,k)
85 vnige(numfakecp-numnod)=vnige(numfakecp-numnod)+av1
86 bnige(numfakecp-numnod)=bnige(numfakecp-numnod)+cv1
87 ENDDO
88 ENDDO
89 ENDIF
90 ENDDO
91c
92 DO n=1,numfakenodigeo
93 bnige(n)=bnige(n)/max(em30,vnige(n))
94 stifint(numnod+n)=stifint(numnod+n)+bnige(n)*(2.*vnige(n))**third
95 ENDDO
96
97Cnote: the volume can be distributed differently depending on whether the points are at the corners, in the middle
98Cor on an edge, with px, py, pz you can find the place of each one
99CThis is for 20-node elements, there are 3/192 * volume at corners and 14/192 * volume at the mid-nodes
100C
101Cnote: it seems that numfakenodigeo is too large here and so the arrays are too large and end with 0
102
103 RETURN
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21