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

Go to the source code of this file.

Functions/Subroutines

subroutine gasmechbc (vold, nload, sideload, nelemload, xload, mi)
 

Function/Subroutine Documentation

◆ gasmechbc()

subroutine gasmechbc ( real*8, dimension(0:mi(2),*)  vold,
integer  nload,
character*20, dimension(*)  sideload,
integer, dimension(2,*)  nelemload,
real*8, dimension(2,*)  xload,
integer, dimension(*)  mi 
)
21 !
22  implicit none
23 !
24  character*20 sideload(*)
25 !
26  integer i,nload,node,nelemload(2,*),mi(*)
27 !
28  real*8 vold(0:mi(2),*),xload(2,*)
29 !
30 ! updating the boudary conditions in a mechanical
31 ! calculation coming from a previous thermal calculation
32 !
33 ! updating the pressure boundary conditions
34 !
35  do i=1,nload
36  if(sideload(i)(3:4).eq.'NP') then
37  node=nelemload(2,i)
38  xload(1,i)=vold(2,node)
39  endif
40  enddo
41 !
42  return
Hosted by OpenAircraft.com, (Michigan UAV, LLC)