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

Go to the source code of this file.

Functions/Subroutines

subroutine lecm85_void (iin, iout, uparam, maxuparam, nuparam, nuvar, ifunc, maxfunc, nfunc, parmat)

Function/Subroutine Documentation

◆ lecm85_void()

subroutine lecm85_void ( integer iin,
integer iout,
uparam,
integer maxuparam,
integer nuparam,
integer nuvar,
integer, dimension(maxfunc) ifunc,
integer maxfunc,
integer nfunc,
parmat )

Definition at line 26 of file lecm85_void.F.

28C-----------------------------------------------
29C I m p l i c i t T y p e s
30C-----------------------------------------------
31#include "implicit_f.inc"
32C----------+---------+---+---+--------------------------------------------
33C VAR | SIZE |TYP| RW| DEFINITION
34C----------+---------+---+---+--------------------------------------------
35C IIN | 1 | I | R | INPUT FILE UNIT (D00 file)
36C IOUT | 1 | I | R | OUTPUT FILE UNIT (L00 file)
37C UPARAM | NUPARAM | F | W | USER MATERIAL PARAMETER ARRAY
38C MAXUPARAM| 1 | I | R | MAXIMUM SIZE OF UPARAM
39C NUPARAM | 1 | I | W | SIZE OF UPARAM =< MAXUPARAM
40C NUVAR | 1 | I | W | NUMBER OF USER ELEMENT VARIABLES
41C----------+---------+---+---+--------------------------------------------
42C IFUNC | NFUNC | I | W | FUNCTION NUMBER ARRAY
43C MAXFUNC | 1 | I | R | MAXIMUM SIZE OF IFUNC
44C NFUNC | 1 | I | W | SIZE OF IFUNC =< MAXFUNC
45C----------+---------+---+---+--------------------------------------------
46C (STIFINT)| | Replaced by PARMAT(1)
47C PARMAT | 3 | F | W | 1)STIFNESS MODULUS FOR INTERFACE
48C |(in v31) | | | (AND INITIAL TIME STEP COMPUTATION)
49C | | | | 2)YOUNG MODULUS (only needed for shells)
50C | | | | 3)POISSON'S RATIO (only needed for shells)
51C | | | | 4... Possible future use
52C----------+---------+---+---+--------------------------------------------
53C
54C This subroutine read the user material parameters.
55C The material cards that are common for all materials
56C (card 1 to 7 in version 2.2) have previously been read.
57C The NUPARAM material datas have to bee stored in UPARAM array.
58C If some standard radioss functions (time function or
59C x,y function) are needed, this NFUNC function numbers have to
60C bee stored in IFUNC array.
61C-----------------------------------------------
62C D u m m y A r g u m e n t s
63C-----------------------------------------------
64 INTEGER IIN,IOUT,MAXUPARAM,NUPARAM,NUVAR,MAXFUNC,NFUNC,
65 . IFUNC(MAXFUNC)
66 my_real uparam(maxuparam),parmat(*)
67C-----------------------------------------------
68C L o c a l V a r i a b l e s
69C-----------------------------------------------
70 my_real e,nu,a11,a12,a44
71C=======================================================================
72C
73C EXAMPLE : ELASTIC LAW
74C
75C=======================================================================
76C
77 READ(iin,'(2f16.0)')E,NU
78 A11 = E * (ONE - NU) / (ONE + NU) / (ONE - TWO*NU)
79 A12 = E * NU / (ONE + NU) / (ONE - TWO*NU)
80 A44 = E / TWO / (ONE+NU)
81C
82.OR. IF(NU<ZERONU>=HALF)THEN
83 WRITE(IOUT,*)' ** error : wrong nu VALUE'
84 ENDIF
85 NUPARAM = 7
86 IF(NUPARAM>MAXUPARAM)THEN
87 WRITE(IOUT,*)' ** error : nuparam gt maxuparam'
88 WRITE(IOUT,*)' nuparam =',NUPARAM,
89 . ' maxuparam =',MAXUPARAM
90 ELSE
91C used in sigeps29 (solid 2d,3d)
92 UPARAM(1) = A11
93 UPARAM(2) = A12
94 UPARAM(3) = A44
95 UPARAM(4) = E/(ONE-NU*NU)
96 UPARAM(5) = NU*E/(ONE - NU*NU)
97 UPARAM(6) = HALF*E/(ONE + NU)
98
99 UPARAM(7) = E
100 ENDIF
101C
102 NUVAR = 0
103 NFUNC = 0
104C used for interface (solid+shell)
105 PARMAT(1) = A11
106C used for shell
107 PARMAT(2) = E
108 PARMAT(3) = NU
109C
110 WRITE(IOUT,1000)
111 WRITE(IOUT,1100)E,NU
112C
113 1000 FORMAT(
114 & 5X,' elastic user law ',/,
115 & 5X,' ---------------- ',//)
116 1100 FORMAT(
117 & 5X,'e . . . . . . . . . . . . . . . . . . .=',E12.4/
118 & 5X,'nu. . . . . . . . . . . . . . . . . . .=',E12.4//)
119C
120 RETURN
#define my_real
Definition cppsort.cpp:32