CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

residual plotting in Prostar

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2003, 09:59
Default residual plotting in Prostar
  #1
Ossi
Guest
 
Posts: n/a
Hi,

I try to plot residuals from Prostar with the button "Plot residual history" but after some time from the start of the run, it does not work anymore !? Prostar reports an error in the Case.rsi file. So it works initially but not later on which points towards a problem that some parameter needs to be increased (?) Does anybody know a solution to this !
  Reply With Quote

Old   March 11, 2003, 23:19
Default Re: residual plotting in Prostar
  #2
CJ Tune
Guest
 
Posts: n/a
Why don't you just increase the parameter ProSTAR tells you to? Just use the command MEMO.
  Reply With Quote

Old   March 12, 2003, 03:54
Default Re: residual plotting in Prostar
  #3
Ossi
Guest
 
Posts: n/a
Star does not tell me to increase any parameter, that is the problem. It reports "ERROR - Invalid file Case.rsi chosen. Format does not correspond to Star residual file." This seems to be actually a operating system error, since this is the first time I am using Linux. Previously I have never obtained this kind of message.
  Reply With Quote

Old   March 12, 2003, 09:52
Default Re: residual plotting in Prostar
  #4
Nicola
Guest
 
Posts: n/a
Perhaps this is a problem of the Linux-version. I got the same problem sometimes, but sometimes it worked fine with the same case. On Unix, it never happened. Did you ask the support?

Regards,

Nicola
  Reply With Quote

Old   March 12, 2003, 10:04
Default Re: residual plotting in Prostar
  #5
cjtune
Guest
 
Posts: n/a
Hmmm, not sure about .rsi files but I could open .mdl, .pst, and even use binary .geom and .prob files taken over from IRIX, HP-UX and Windows OS in Linux.

What OS did you get your Case.rsi from?
  Reply With Quote

Old   March 12, 2003, 10:23
Default Re: residual plotting in Prostar
  #6
Ossi
Guest
 
Posts: n/a
Linux, Red Hat 8.0, installed in pc.
  Reply With Quote

Old   March 12, 2003, 10:51
Default Re: residual plotting in Prostar
  #7
Vladimir Krejci
Guest
 
Posts: n/a
Hi Ossi, try convert residual data from binary to coded form, then add blank line at the end of the new file and finally convert this new file to binary form. It should help you.

Vladimir
  Reply With Quote

Old   March 12, 2003, 11:45
Default Re: residual plotting in Prostar
  #8
Nicola
Guest
 
Posts: n/a
After the run has finished, there was no problem to open the .rsi, but what if I want to check the residuals during calculation? There was no problem to open any file transported from Unix to Linux, neither to start a unix.mdl on a Linux Red Hat 8.0 PC. I have difficulties only in online monitoring residuals.

Nicola
  Reply With Quote

Old   March 12, 2003, 12:09
Default Re: residual plotting in Prostar
  #9
Vladimir Krejci
Guest
 
Posts: n/a
I had the same problems and solved it the way I described, I thing at least. If you want to look at residual values only, use .run file or look at a terminal which you used to start Prostar, otherwise make a copy of your actual .rsi file and do what I said in previous message with that file copied. Unfortunately, to be able to use my procedure, you should find out something about commands used for displaying of the residuals. (commands : GRES, GSTA, GDRA ...).

Regards Vladimir
  Reply With Quote

Old   March 12, 2003, 12:55
Default Re: residual plotting in Prostar
  #10
Leo
Guest
 
Posts: n/a
This procedure should work if the job is still running:

Graph menu --> Load graph data dialog box: Load star residuals and monitored values next box: choose desired .rsi file, go down to iterations and change "all" to "range." For the range, put the max iteration to be one less than the last iteration done. For example, if the job has completed 242 iterations, then the range should be 1 to 241. Hit load data, then graph data. The residuals should appear in the graphics window.

You can also change the Values to extract button from "both" to either "residual" or "monitored."
  Reply With Quote

Old   March 12, 2003, 12:56
Default Re: residual plotting in Prostar
  #11
cjtune
Guest
 
Posts: n/a
Hi Vladimir,

Sounds useful. But what command do I use to convert the binary .rsi files to coded?

Has anybody gotten STARWATCH to work on Linux before?
  Reply With Quote

Old   March 12, 2003, 13:02
Default Re: residual plotting in Prostar
  #12
cjtune
Guest
 
Posts: n/a
If you have a big screen, you can just watch the residuals as they are printed on the screen real-time...
  Reply With Quote

Old   March 12, 2003, 13:08
Default Re: residual plotting in Prostar
  #13
Vladimir Krejci
Guest
 
Posts: n/a
It is somewhere in the menues. Sorry, that I do not tell you the commands exactly, but I do not have access to graphical interface now. If I remember, it should be at the the end of file menu or better look for menu called 'convert'.

regards

Vladimir
  Reply With Quote

Old   March 12, 2003, 21:54
Default Re: residual plotting in Prostar
  #14
CJ Tune
Guest
 
Posts: n/a
Right, found it. SMCO.
  Reply With Quote

Old   March 13, 2003, 00:46
Default Re: residual plotting in Prostar
  #15
Lars Ola Liavåg
Guest
 
Posts: n/a
Hello Ossi,

I get this message (HP-UX) if I try to plot the residuals or monitoring data while the .rsi file is being updated. If I wait until the file writing is done, the problem is gone as well. Of course, it can be annoying once in a while with small models where the residuals are written every other second, but I don't really see this as a problem. If you absolutely want to check your values in the middle of the .rsi dump you can always have a look in the .run file.

Lars Ola
  Reply With Quote

Old   March 14, 2003, 08:54
Default Re: residual plotting in Prostar
  #16
allan
Guest
 
Posts: n/a
I've had this problem a lot when doing a coal combustion analysis. One can increase the amount of residual one can plot by increasing maxstor. I belive the problem to be that the residual file does not get closedproperly, whatever that means but if one uses the command: gstar,casename.rsi,flui,0,0,0,resi,1,n-1,1,n where n is the iteration the solver is on, and then gdraw 1,2 then the residuals will be plotted up to the penultimate iteration.

allan
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Residual plotting Mattijs Janssens (Mattijs) OpenFOAM Post-Processing 29 April 25, 2013 16:57
Plotting residual in paraFoam booz OpenFOAM Paraview & paraFoam 3 August 12, 2008 06:35
Real-time residual and results plotting simone Marras Main CFD Forum 6 January 29, 2007 08:57
prostar Error Pialisen CD-adapco 2 September 9, 2006 14:06
PROSTAR Emmanuel Resch CD-adapco 7 August 1, 2006 08:37


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