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

Go to the source code of this file.

Functions/Subroutines

subroutine deformationplasticitys (inpc, textpart, elcon, nelcon, nmat, ntmat_, ncmat_, irstrt, istep, istat, n, iperturb, iline, ipol, inl, ipoinp, inp, ipoinpc)
 

Function/Subroutine Documentation

◆ deformationplasticitys()

subroutine deformationplasticitys ( character*1, dimension(*)  inpc,
character*132, dimension(16)  textpart,
real*8, dimension(0:ncmat_,ntmat_,*)  elcon,
integer, dimension(2,*)  nelcon,
integer  nmat,
integer  ntmat_,
integer  ncmat_,
integer  irstrt,
integer  istep,
integer  istat,
integer  n,
integer, dimension(2)  iperturb,
integer  iline,
integer  ipol,
integer  inl,
integer, dimension(2,*)  ipoinp,
integer, dimension(3,*)  inp,
integer, dimension(0:*)  ipoinpc 
)
22 !
23 ! reading the input deck: *DEFORMATION PLASTICITY
24 !
25  implicit none
26 !
27  character*1 inpc(*)
28  character*132 textpart(16)
29 !
30  integer nelcon(2,*),nmat,ntmat,ntmat_,istep,istat,
31  & n,key,i,iperturb(2),iend,ncmat_,irstrt,iline,ipol,inl,
32  & ipoinp(2,*),inp(3,*),ipoinpc(0:*)
33 !
34  real*8 elcon(0:ncmat_,ntmat_,*)
35 !
36  ntmat=0
37  iperturb(1)=3
38  iperturb(2)=1
39  write(*,*) '*INFO reading *DEFORMATION PLASTICITY: nonlinear'
40  write(*,*) ' geometric effects are turned on'
41  write(*,*)
42 !
43  if((istep.gt.0).and.(irstrt.ge.0)) then
44  write(*,*) '*ERROR reading *DEFORMATION PLASTICITY:'
45  write(*,*) ' *DEFORMATION PLASTICITY'
46  write(*,*) ' should be placed before all step definitions'
47  call exit(201)
48  endif
49 !
50  if(nmat.eq.0) then
51  write(*,*) '*ERROR reading *DEFORMATION PLASTICITY:'
52  write(*,*) ' *DEFORMATION PLASTICITY'
53  write(*,*) ' should bepreceded by a *MATERIAL card'
54  call exit(201)
55  endif
56 !
57  do i=2,n
58  write(*,*)
59  & '*WARNING reading *DEFORMATION PLASTICITY:'
60  write(*,*) ' parameter not recognized:'
61  write(*,*) ' ',
62  & textpart(i)(1:index(textpart(i),' ')-1)
63  call inputwarning(inpc,ipoinpc,iline,
64  &"DEFORMATION PLASTICITY%")
65  enddo
66 !
67  nelcon(1,nmat)=-50
68 !
69  iend=5
70  do
71  call getnewline(inpc,textpart,istat,n,key,iline,ipol,inl,
72  & ipoinp,inp,ipoinpc)
73  if((istat.lt.0).or.(key.eq.1)) return
74  ntmat=ntmat+1
75  nelcon(2,nmat)=ntmat
76  if(ntmat.gt.ntmat_) then
77  write(*,*) '*ERROR reading *DEFORMATION PLASTICITY:'
78  write(*,*) ' increase ntmat_'
79  call exit(201)
80  endif
81  do i=1,iend
82  read(textpart(i)(1:20),'(f20.0)',iostat=istat)
83  & elcon(i,ntmat,nmat)
84  if(istat.gt.0) call inputerror(inpc,ipoinpc,iline,
85  &"DEFORMATION PLASTICITY%")
86  enddo
87  read(textpart(6)(1:20),'(f20.0)',iostat=istat)
88  & elcon(0,ntmat,nmat)
89  if(istat.gt.0) call inputerror(inpc,ipoinpc,iline,
90  &"DEFORMATION PLASTICITY%")
91  enddo
92 !
93  return
subroutine inputwarning(inpc, ipoinpc, iline, text)
Definition: inputwarning.f:20
subroutine getnewline(inpc, textpart, istat, n, key, iline, ipol, inl, ipoinp, inp, ipoinpc)
Definition: getnewline.f:21
subroutine inputerror(inpc, ipoinpc, iline, text)
Definition: inputerror.f:20
Hosted by OpenAircraft.com, (Michigan UAV, LLC)