CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   CFX TASCflow - while-endwhile loop ina macro (

Deepak Ganga September 6, 2003 22:21

CFX TASCflow - while-endwhile loop ina macro

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??


All times are GMT -4. The time now is 06:11.