CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
linscal10.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine linscal10 (scal, konl, scall, idim, shp)
 

Function/Subroutine Documentation

◆ linscal10()

subroutine linscal10 ( real*8, dimension(0:idim,*)  scal,
integer, dimension(*)  konl,
real*8  scall,
integer  idim,
real*8, dimension(4,*)  shp 
)
20 !
21 ! calculates a linear approximation to the quadratic interpolation
22 ! of the temperatures in a C3D10 element. A
23 ! quadratic interpolation of the temperatures leads to quadratic
24 ! thermal stresses, which cannot be handled by the elements
25 ! displacement functions (which lead to linear stresses). Thus,
26 ! the temperatures are approximated by a linear function.
27 !
28  implicit none
29 !
30  integer konl(*),idim
31 !
32  real*8 scal(0:idim,*),scall,shp(4,*)
33 !
34  scall=
35  & (shp(4,1)+(shp(4,5)+shp(4,7)+shp(4,8))/2.d0)*scal(0,konl(1))
36  & +(shp(4,2)+(shp(4,5)+shp(4,6)+shp(4,9))/2.d0)*scal(0,konl(2))
37  & +(shp(4,3)+(shp(4,6)+shp(4,7)+shp(4,10))/2.d0)*scal(0,konl(3))
38  & +(shp(4,4)+(shp(4,8)+shp(4,9)+shp(4,10))/2.d0)*scal(0,konl(4))
39 !
40  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)