FEAP User Forum

FEAP => FEAPpv => Topic started by: Trust on December 17, 2015, 05:45:16 AM

Title: Loop command problem
Post by: Trust 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
Title: Re: Loop command problem
Post by: Prof. R.L. Taylor 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.
Title: Re: Loop command problem
Post by: Trust on December 21, 2015, 02:40:13 AM
I am working with the latest version of FEAPpv (version 3.1)
Title: Re: Loop command problem
Post by: Prof. R.L. Taylor on December 21, 2015, 07:31:07 AM
FEAPpv does not support LOOP commands.  Only FEAP
Title: Re: Loop command problem
Post by: Trust 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
Title: Re: Loop command problem
Post by: FEAP_Admin 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.