OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
princ_u.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| princ_u ../engine/source/materials/mat/mat001/princ_u.F
25!||--- called by ------------------------------------------------------
26!|| m1ismstr10_pon ../engine/source/materials/mat/mat001/m1ismstr10_pon.F
27!||--- calls -----------------------------------------------------
28!|| valpvecop_v ../engine/source/materials/mat/mat033/sigeps33.F
29!||====================================================================
30 SUBROUTINE princ_u(
31 1 NEL , ES1 , ES2 ,ES3 ,ES4 ,
32 2 ES5 ,ES6 ,EV , DIRPRV )
33C-----------------------------------------------
34C I M P L I C I T T Y P E S
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G L O B A L P A R A M E T E R S
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C C O M M O N
43C-----------------------------------------------
44C----------------------------------------------------------------
45C I N P U T A R G U M E N T S
46C----------------------------------------------------------------
47 INTEGER NEL
48 my_real
49 . es1(mvsiz), es2(mvsiz), es3(mvsiz),
50 . es4(mvsiz), es5(mvsiz), es6(mvsiz),
51 . ev(mvsiz,3),dirprv(mvsiz,3,3)
52C----------------------------------------------------------------
53C L O C A L V A R I B L E S
54C----------------------------------------------------------------
55 INTEGER I,J,K
56 my_real
57 . av(mvsiz,6),evv(mvsiz,3)
58C----------------------------------------------------------------
59C--------- [B]=[F][F]^t -1 strain-----
60 DO i=1,nel
61 av(i,1) = es1(i)
62 av(i,2) = es2(i)
63 av(i,3) = es3(i)
64 av(i,4) = es4(i)
65 av(i,5) = es5(i)
66 av(i,6) = es6(i)
67 ENDDO
68C
69C for a simple precision executing
70c IF (IRESP==1) THEN
71c CALL VALPVECDP(AV,EVV,DIRPRV,NEL)
72c ELSE
73c CALL VALPVEC(AV,EVV,DIRPRV,NEL)
74c ENDIF
75 CALL valpvecop_v(av,evv,dirprv,nel)
76
77 DO i=1,nel
78 ev(i,1)=half*log(evv(i,1)+ one)
79 ev(i,2)=half*log(evv(i,2)+ one)
80 ev(i,3)=half*log(evv(i,3)+ one)
81 ENDDO
82C----------------
83C
84 RETURN
85 END
subroutine princ_u(nel, es1, es2, es3, es4, es5, es6, ev, dirprv)
Definition princ_u.F:33
subroutine valpvecop_v(sig, val, vec, nel)
Definition sigeps33.F:2565