Hello,
I would like to ask some questions about subroutine VC13PP. I need to use some values of the gradient alone in my own fortran code and what I do is using script(velocity gradient along x):
CALL VECTOR(UG1,'=','GRADF X',IELM3,
& 1.D0,U,SVIDE,SVIDE,SVIDE,SVIDE,SVIDE,
& MESH3,MSK,MASKEL)
I think in telemac3d linear prism structure it will call vc13pp.f, but I don't understand how this subroutine works:
1. What do these coefficients mean:
XS24 = XMUL/24.Do
XS144 = XMUL/144.D0
2. When calculate derivative along X for instance, why use real coordinates of Y but the distance of Z?
! REAL COORDINATES OF THE POINTS OF THE ELEMENT (ORIGIN IN 1)
!
! Y2 = Y(I2) - Y(I1)
! Y3 = Y(I3) - Y(I1)
Y2 = Y(IELEM,2)
Y3 = Y(IELEM,3)
!
Z2 = Z(I2) - Z(I1)
Z3 = Z(I3) - Z(I1)
Z4 = Z(I4) - Z(I1)
Z5 = Z(I5) - Z(I1)
Z6 = Z(I6) - Z(I1)
3. Can I have more details about the equations which are used in calculations of W1,W2,...,W6? Basically, I want to know how base functions are used here.
Thank you very much!
Best Regards,
Yue