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

Go to the source code of this file.

Functions/Subroutines

subroutine identifytransform (nelement, label, nelemload, sideload, nload, loadid)
 

Function/Subroutine Documentation

◆ identifytransform()

subroutine identifytransform ( integer  nelement,
character*20  label,
integer, dimension(2,*)  nelemload,
character*20, dimension(*)  sideload,
integer  nload,
integer  loadid 
)
21 !
22 ! checks whether a transformation was applied to a given face,
23 ! and if so, which one (only for CFD)
24 !
25  implicit none
26 !
27  character*20 label,sideload(*)
28 !
29  integer nelemload(2,*),nelement,nload,id,loadid
30 !
31  loadid=0
32 !
33  call nident2(nelemload,nelement,nload,id)
34  if(id.gt.0) then
35 !
36 ! it is possible that several *DLOAD, *FILM or
37 ! *RADIATE boundary conditions are applied to one
38 ! and the same element
39 !
40  if(nelemload(1,id).eq.nelement) then
41  do
42  if (sideload(id).eq.label) then
43  loadid=id
44  elseif(sideload(id).lt.label) then
45  exit
46  endif
47  id=id-1
48  if((id.eq.0).or.(nelemload(1,id).ne.nelement)) then
49  exit
50  endif
51  enddo
52  endif
53  endif
54 !
55  return
subroutine nident2(x, px, n, id)
Definition: nident2.f:27
Hosted by OpenAircraft.com, (Michigan UAV, LLC)