Author Topic: Loop command problem  (Read 7006 times)

Trust

  • New Member
  • *
  • Posts: 3
Loop command problem
« on: December 17, 2015, 05:45:16 AM »
Hello,

i've tried everything but can't get the loop command to work. Here's my input file to duplicate a simple 2x2 square mesh (similar to the example in the manual).

Code: [Select]
feap
 0 0 0 2 2 4

para
 a=0
 ma=1

loop,2
block
 cart 2 2 0 0 ma
  1 a 0
  2 2+a 0
  3 2+a 2
  4 a 2

parameter
 ma=ma+1
 a=a+2

next


mate 1
 solid
 elastic isotropic 1000 0.25

mate 2
 solid
 elastic isotropic 2000 0.25

end

batch
 plot,mesh
end

inte
stop

Please let me know what i am doing wrong

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Loop command problem
« Reply #1 on: December 17, 2015, 08:31:25 AM »
What version of the program are you using?  Your input file works with the ver 8.4 -- except for merging the parts with a TIE command.

Trust

  • New Member
  • *
  • Posts: 3
Re: Loop command problem
« Reply #2 on: December 21, 2015, 02:40:13 AM »
I am working with the latest version of FEAPpv (version 3.1)

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Loop command problem
« Reply #3 on: December 21, 2015, 07:31:07 AM »
FEAPpv does not support LOOP commands.  Only FEAP

Trust

  • New Member
  • *
  • Posts: 3
Re: Loop command problem
« Reply #4 on: December 22, 2015, 02:11:18 AM »
Okay thanks for your help! I read about the loop command in the feappv manual so i thought it would work in feappv

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Loop command problem
« Reply #5 on: December 26, 2015, 10:21:52 AM »
It will apparently be part of the next release of FEAPpv -- the manual is just a bit ahead.