OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
repla3.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine repla3 (xk, dpx, tf, npf, iecrou, ifunc, ifv, epla, nel)

Function/Subroutine Documentation

◆ repla3()

subroutine repla3 ( xk,
dpx,
tf,
integer, dimension(*) npf,
integer, dimension(mvsiz) iecrou,
integer, dimension(mvsiz) ifunc,
integer, dimension(mvsiz) ifv,
epla,
integer, intent(in) nel )

Definition at line 35 of file repla3.F.

39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C G l o b a l P a r a m e t e r s
45C-----------------------------------------------
46#include "mvsiz_p.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER, INTENT(IN) :: NEL
54 INTEGER NPF(*),IECROU(MVSIZ),IFV(MVSIZ)
55C REAL
57 . xk(*), dpx(*), tf(*),epla(mvsiz)
58C-----------------------------------------------
59C L o c a l V a r i a b l e s
60C-----------------------------------------------
61 INTEGER IFUNC(MVSIZ), I, NPOINT
62C REAL
64 . xki, fp
65C-----------------------------------------------
66 DO i=1,nel
67 IF(ifunc(i)/=0.AND.iecrou(i)==3)THEN
68 npoint=(npf(ifunc(i)+1)-npf(ifunc(i)))/2
69C-------------------------------------
70C ELASTO PLASTIQUE (TENSION COMPRESSION COUPLEE 6 DOF COUPLES)
71C-------------------------------------
72 CALL interp(tf(npf(ifunc(i))),dpx(i),npoint,fp,xki)
73 fp = fp * xk(i) / max( em20, (xk(i) - xki) )
74 fp = max(abs(fp), em20)
75 dpx(i) = dpx(i) + epla(i) / fp
76 ENDIF
77 ENDDO
78C
79 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine interp(tf, tt, npoint, f, tg)
Definition interp.F:35
#define max(a, b)
Definition macros.h:21