OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i12tid3.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"
#include "scr03_c.inc"
#include "com04_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i12tid3 (x, irect, crst, msr, nsv, iloc, irtl, nsn, itab, alp, id, titr)

Function/Subroutine Documentation

◆ i12tid3()

subroutine i12tid3 ( dimension(3,numnod), intent(in) x,
integer, dimension(4,*), intent(in) irect,
dimension(2,*), intent(inout) crst,
integer, dimension(*), intent(in) msr,
integer, dimension(*), intent(in) nsv,
integer, dimension(*), intent(in) iloc,
integer, dimension(*), intent(in) irtl,
integer, intent(in) nsn,
integer, dimension(*), intent(in) itab,
intent(in) alp,
integer, intent(in) id,
character(len=nchartitle), intent(inout) titr )

Definition at line 34 of file i12tid3.F.

39C-----------------------------------------------
40C M o d u l e s
41C-----------------------------------------------
42 USE message_mod
44 USE message_mod
45 USE format_mod , ONLY : fmw_7i_2f
46C-----------------------------------------------
47C D e s c r i p t i o n
48C-----------------------------------------------
49C TIED/SLIDING INTERFACE TYPE 12
50C (FLUID/FLUID)
51C COMPUTATION OF S,T (secnd node coordinates)
52C check if secnd is facing a main segment
53C-----------------------------------------------
54C I m p l i c i t T y p e s
55C-----------------------------------------------
56#include "implicit_f.inc"
57C-----------------------------------------------
58C D u m m y A r g u m e n t s
59C-----------------------------------------------
60 INTEGER,INTENT(IN) :: NSN,ID
61 INTEGER,INTENT(IN) :: IRECT(4,*) , MSR(*), NSV(*), ILOC(*), IRTL(*),ITAB(*)
62 my_real,INTENT(IN) :: x(3,numnod), alp
63 my_real,INTENT(INOUT) :: crst(2,*)
64 CHARACTER(LEN=NCHARTITLE),INTENT(INOUT) :: TITR
65C-----------------------------------------------
66C C o m m o n B l o c k s
67C-----------------------------------------------
68#include "units_c.inc"
69#include "scr03_c.inc"
70#include "com04_c.inc"
71C-----------------------------------------------
72C L o c a l V a r i a b l e s
73C-----------------------------------------------
74 INTEGER :: II, I, J, K, L, JJ, NN, IER
75 my_real :: n1, n2, n3, ss, tt
76 my_real :: xx1(4),xx2(4),xx3(4),xs1,ys1,zs1,xc,yc,zc
77C-----------------------------------------------
78C S o u r c e L i n e s
79C-----------------------------------------------
80 DO ii=1,nsn
81 !secnd node data
82 i = nsv(ii) !itab(i) is user node_id
83 j = iloc(ii)
84 k = msr(j)
85 l = irtl(ii) !main segment
86 xs1 = x(1,i)
87 ys1 = x(2,i)
88 zs1 = x(3,i)
89 !main segment data
90 DO jj=1,4
91 nn = msr(irect(jj,l)) !itab( MSR(IRECT(JJ,L)) ) are main segment nodes
92 xx1(jj) = x(1,nn)
93 xx2(jj) = x(2,nn)
94 xx3(jj) = x(3,nn)
95 END DO
96
97 CALL inist3(n1,n2,n3,ss,tt,ier,alp,xx1,xx2,xx3,xs1,ys1,zs1,xc,yc,zc)
98 IF(ipri>=1)WRITE(iout,fmt=fmw_7i_2f) itab(i),itab(k),l,(itab(msr(irect(jj,l))),jj=1,4),ss,tt
99 IF(ier==-1)THEN
100 CALL ancmsg(msgid=1247,
101 . msgtype=msgerror,
102 . anmode=anstop,
103 . i1=itab(i),i2=itab(k),i3=l,
104 . i4=itab(msr(irect(1,l))),
105 . i5=itab(msr(irect(2,l))),
106 . i6=itab(msr(irect(3,l))),
107 . i7=itab(msr(irect(4,l))),
108 . prmod=msg_cumu)
109 ELSE IF(ier==1)THEN
110 CALL ancmsg(msgid=1248,
111 . msgtype=msgwarning,
112 . anmode=aninfo_blind,
113 . i1=itab(i),i2=l,
114 . i3=itab(msr(irect(1,l))),
115 . i4=itab(msr(irect(2,l))),
116 . i5=itab(msr(irect(3,l))),
117 . i6=itab(msr(irect(4,l))),
118 . r1=ss,r2=tt,
119 . prmod=msg_cumu)
120 ENDIF
121 crst(1,ii) = ss
122 crst(2,ii) = tt
123 END DO !II=1,NSN
124 CALL ancmsg(msgid=1247,
125 . msgtype=msgerror,
126 . anmode=anstop,
127 . i1=id,
128 . c1=titr,
129 . prmod=msg_print)
130 CALL ancmsg(msgid=1248,
131 . msgtype=msgwarning,
132 . anmode=aninfo_blind,
133 . i1=id,
134 . c1=titr,
135 . prmod=msg_print)
136
137 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine inist3(n1, n2, n3, ssc, ttc, ier, alp, xx1, xx2, xx3, xs1, ys1, zs1, xc, yc, zc)
Definition inist3.F:33
initmumps id
integer, parameter nchartitle
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889