CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   CFX TASCflow - while-endwhile loop ina macro (http://www.cfd-online.com/Forums/cfx/19875-cfx-tascflow-while-endwhile-loop-ina-macro.html)

Deepak Ganga September 6, 2003 22:21

CFX TASCflow - while-endwhile loop ina macro
 
Hello

I am trying to write a macro that will write rsf files at a number of locations for each time step of a transient solution.

I used 2 While-EndWhile statements, one within the other:-

while (logical expression) command1 ... command 4 while (logical Expression) cammand5 ... command8 endwhile endwhile

When I ran the macro, the commands for the outer loop were completed but the commands for the inner loop were only completed for the last run of the outer loop.

I defined and used the parameter ii in the logic statement of the outer loop and defiined parameter jj for the inner loop, but the parameter jj was not recognised.

Any Ideas??

Deepak


All times are GMT -4. The time now is 02:23.