CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ANSYS (http://www.cfd-online.com/Forums/ansys/)
-   -   How to write a shell for batch export? (http://www.cfd-online.com/Forums/ansys/68687-how-write-shell-batch-export.html)

zeitistgeld September 29, 2009 03:09

How to write a shell for batch export?
 
Any body knows how to export transient trn files in batch mode using shell? I have a lot of trn files to export to cngs files and then import to tecplot for post processing. Thanks? The point is how to write the loop sentences?

los October 2, 2009 08:20

Which OS are you using? If it is Windows you may use "goto", it will be something like this:

:startloop

"code to execute"

if "conditional" goto endloop
goto startloop

:endloop


you can use for too.. here is some commands on windows: http://ss64.com/nt/


All times are GMT -4. The time now is 00:50.