Nov 17, 2008 #1 maxibonne Mechanical Joined Oct 5, 2008 Messages 29 Location MT I was wondering whether it is possible to output all the iterations of a *do loop in the output file? Currently my Ansys is set to only output the first iteration.. Is it possible to change? thanks
I was wondering whether it is possible to output all the iterations of a *do loop in the output file? Currently my Ansys is set to only output the first iteration.. Is it possible to change? thanks
Nov 19, 2008 #2 jgeren Aerospace Joined Aug 18, 2008 Messages 7 Location US Yup, just use the /nopr after the *do command exp. /output,test,out,,append *do,i,1,100,1 /nopr x%i%=i *enddo would output x1=1 x2=2 ... x100=100 Upvote 0 Downvote
Yup, just use the /nopr after the *do command exp. /output,test,out,,append *do,i,1,100,1 /nopr x%i%=i *enddo would output x1=1 x2=2 ... x100=100
Nov 19, 2008 #3 jgeren Aerospace Joined Aug 18, 2008 Messages 7 Location US Whoops, I meant to say /gopr, NOT /nopr Upvote 0 Downvote
Nov 19, 2008 Thread starter #4 maxibonne Mechanical Joined Oct 5, 2008 Messages 29 Location MT Thanks! What is the use of the '%' sign? Why doesn't xi=i work? Upvote 0 Downvote
Dec 18, 2008 #5 cbrn Mechanical Joined Jun 28, 2005 Messages 1,066 Location IT The "%" is a marker which tells Ansys that the following is a parameter and not the prosecution of a variable name. Upvote 0 Downvote
The "%" is a marker which tells Ansys that the following is a parameter and not the prosecution of a variable name.