#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | viscbb (nel, fp, tbnorm, a1, expc, expm, ksi, tauref, dgamma) |
◆ viscbb()
| subroutine viscbb |
( |
integer, intent(in) | nel, |
|
|
intent(in) | fp, |
|
|
intent(in) | tbnorm, |
|
|
intent(in) | a1, |
|
|
intent(in) | expc, |
|
|
intent(in) | expm, |
|
|
intent(in) | ksi, |
|
|
intent(in) | tauref, |
|
|
intent(out) | dgamma ) |
Definition at line 32 of file viscbb.F.
33
34
35
36#include "implicit_f.inc"
37
38
39
40 INTEGER, INTENT(IN) :: NEL
41
42 my_real,
INTENT(IN) :: a1,expc, expm , ksi ,tauref
43
44 my_real,
DIMENSION(NEL),
INTENT(IN) :: tbnorm
45
46 my_real,
DIMENSION(NEL, 3,3) ,
INTENT(IN) :: fp
47
48
49
50 my_real,
DIMENSION(NEL),
INTENT(OUT) :: dgamma
51
52
53
54
55
56
57 INTEGER I
58
60 . temp, lpchain(nel), ip1(nel)
61
62
63 DO i=1,nel
64 ip1(i) = fp(i,1,1)**2 +
65 . fp(i,2,2)**2 +
66 . fp(i,3,3)**2
67 lpchain(i) = sqrt(
max(zero,third*ip1(i)))
68
69 temp =
max(em20,lpchain(i) - one +ksi)
70 dgamma(i) = a1* exp(expc*log(temp))* ((tbnorm(i)**expm)/
max(em20, tauref**expm))
71 ENDDO
72
73 RETURN