CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Is possile to load transient files automatically ? (https://www.cfd-online.com/Forums/cfx/21971-possile-load-transient-files-automatically.html)

veera December 23, 2005 09:37

Is possile to load transient files automatically ?
 
Hi Everybody, I have transient results for 300 time steps. And I want to take results for each substep (Example: pressure at outlet for each time step). It is very difficult to load each file and take result.

So Is there any process to take the results automatically without loading files manually, As we take animation by loading the first and last time step.

Thanks Satish

TB December 25, 2005 02:57

Re: Is possile to load transient files automatical
 
If you are looking for quantitative result, write a loop using PERL language in command window and save result as text file. Refer to Post user manual for details.

veera December 26, 2005 01:58

Re: Is possile to load transient files automatical
 
Hi TB,

Thanks, I will try that.

Satish

veera December 26, 2005 09:13

Re: Is possile to load transient files automatical
 
Thanks TB,

I got it. But the results are getting printed in CFX window. I am copying from there at the end. Is there any possibility to save directly in stecifird file.

Thanks Satish

TB December 26, 2005 14:25

Re: Is possile to load transient files automatical
 
I'm not sure what variable you're trying to export but I normally use two different approaches to output the results: 1. Use command "print" to save the results in a text file 2. Use CFX supplied function: EXPORT (see user manual for details)

Joe December 31, 2005 03:31

Re: Is possile to load transient files automatical
 
Yes you can use perl-commands to write out values to a ASCII file. Use for instance:

!open (FIL, ">ascii.dat") or die $!;

!print FIL $value." \n";

!close(FIL);

Regards Joe

veera January 2, 2006 01:40

Re: Is possile to load transient files automatical
 
Thanks TB and Joe.

My problem got solved with your help.

Regards veera


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