CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Post-process: how to extract Graph Registers' data (https://www.cfd-online.com/Forums/siemens/52951-post-process-how-extract-graph-registers-data.html)

Jiaying Xu June 27, 2002 11:46

Post-process: how to extract Graph Registers' data
 
Hello, forum,

I am using STAR-CD v3.15 on SGI-IRIX64 6.5.

As the graphics plotted by PROSTAR is normally ugly (For example, PROSTAR is not able to create vertical text for Y axis title. Maybe it's because I don't know how), I want to use third-party softwares to do graphics.

My problem is: how can I extract out the data in Graph Registers? It seems I can only cut and paste a single datum at a time. Is there any way I can export, or cut & paste, the whole datum sheet? Better still, to do a culumn a time?

Help is appreciated.

JY

Remove "nospam." if to reply privately.

Ulf June 27, 2002 12:17

Re: Post-process: how to extract Graph Registers'
 
Hi,with the command "sdata", you will be able to save your graph register data into a file. Regards Ulf

Jiaying Xu June 27, 2002 19:21

Re: Post-process: how to extract Graph Registers'
 
Ulf, Thanks for your response.Yes, I read the help info for sdata. It claims to do the job, but I still have difficulty with it.

First, it seems not able to write the whole cloumns. The message in the Output window looks everything is okey, but actually the data writing is not complete. In my case, I have 17 registers and each register has 320 data (so 17 columns by 320 rows). I am writing the register #4 and #9. But every time I can only write 249 rows of data. I really don't know why.

Secondly, if I want to write register #1, #4, #9, how can I do it? The available options can only work for equally increment columns. Any idea for this?

Thirdly, how to specify the user format? I typed strings like "2(1X,F10.6)", or "1X,F10.6,1X,F10.6", etc, PRO-STAR takes "2(1X" and "1X" as commands, so consequently, it does not recognise them.

Help, please!

JY

Ulf June 28, 2002 02:24

Re: Post-process: how to extract Graph Registers'
 
Hi again, What happens if you save each column as one file, i.e. for your 17 colums you will end up with 17 files. Regards Ulf

Joern Beilke June 28, 2002 03:51

Re: Post-process: how to extract Graph Registers'
 
increase the value of MXSTOR using prosize or the memory command in prostar

memory maxstor 200000 $ memory write

Jiaying Xu June 28, 2002 07:57

Re: Post-process: how to extract Graph Registers'
 
Probably found the reason: it seems the procedure of writing out data is only finished when I exit the PRO-STAR. Anyone experienced can confirm me if I am right about this? This is a bit strange, isn't it?

Still haven't figured out how to specify the user format. Need I do a full FORTRAN statement? The tutorial and command guide don't help.

Thanks,

JY

Jamie June 28, 2002 08:51

Re: Post-process: how to extract Graph Registers'
 
exiting prostar will automatically close any open files. You can also close them manually (so that you don't have to exit) by typing

close,filename

on the command line

Jiaying Xu June 28, 2002 08:54

Re: Post-process: how to extract Graph Registers'
 
Good to know that, thanks, Jamie.

Jiaying Xu June 28, 2002 09:04

Re: Post-process: how to extract Graph Registers'
 
I don't think it is because the parameter MXSTOR is not large enough. I can see all my data when I open the graph register window. Actually, I have MXSTOR=20000 for my 17 x 320 data. Must be some other reason that I can't write them completely. Thanks. Jiaying.

Jiaying Xu June 28, 2002 09:51

Re: Post-process: how to extract Graph Registers'
 
Now, solved the problem with the command "close", and the user format works now. (Still don't know why did not work before, :) ).

Thank you all.

Vladimir Krejci June 30, 2002 11:58

Re: Post-process: how to extract Graph Registers'
 
Hi JY,

maybe there is the same limitation as for the coded saving. It means you can save only 9 of the registers.

Regards

Vladimir

Jing July 17, 2002 04:38

Re: Post-process: how to extract Graph Registers'
 
If you want to use the third-party software to do the graphics, I think the convinient way is outputting the data from the POSDATA user subroutine according to the specified format. Just use the subroutine flexibly and combine with the ICTID or cell number defination, you are able to output data in any specified region and with specified format.

Good Luck!


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