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 |
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.
|
Re: Is possile to load transient files automatical
Hi TB,
Thanks, I will try that. Satish |
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 |
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)
|
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 |
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. |