CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens

Howto manually merge a pst-file?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2005, 07:35
Default Howto manually merge a pst-file?
Posts: n/a
Hello dear starcd-colleagues!

As the subject states, how do I manually merge a pst-file from a parallel run? The automatic merge of the pstt and pst-files failed due to the pstt-file being to large (2 GB on each node... my bad...) In version 3150A there existed a command to do this but I can't seem to find a similair command in v3240, which is what I'm using.

Hope anyone of you can help me.

Kind regards DrA
  Reply With Quote

Old   November 21, 2005, 08:15
Default Re: Howto manually merge a pst-file?
Posts: n/a
The following command: $STAR/bin/mergepst will do the trick (make sure that you have sourced your STAR intallation before).
  Reply With Quote

Old   December 6, 2005, 08:57
Default Re: Howto manually merge a pst-file?
Hubert Janocha
Posts: n/a
Yes, that's right. In the new starcd version v3.2x mergepst and mergepstt are no longer in the environment path, but still there (start a search: find /usr/starcd -name "mergepst*")

mergepstt will fail again when you ty it manually, because of the 2GB limitation on 32bit machines.

I do it this way:

- use the "Backup Frequency" in NavCenter for every wanted timestep intervall (e.g. every 5 timesteps). Star writes out a <case>.pst_xxxx (xxxx=timestep) file in each cpu-domain.

- use the mergepst binary to merge this domain-<case>.pst_xxxx-file together timestep for timestep. (Be sure to use the new mergepst, and NOT that one of v3150A !!!)

Possibly you become a little mad for this job. You can write a small c-shell script, containing a loop (over all wanted timesteps) doing that for you (use "if" and "goto" commands).

With this method you can run millions of cells and many many thousends timestep without getting a problem with 2GB.

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of Drag Coefficient manually PRASHANT GHADGE FLUENT 4 December 13, 2012 15:31
HOWTO use fieldAverage alesch OpenFOAM Running, Solving & CFD 6 October 22, 2012 01:51
MotionUBoundaryPatch assignment HowTo bfa OpenFOAM Running, Solving & CFD 22 November 24, 2011 11:52
Accessing the SVN Repository Howto philippose OpenFOAM Installation 3 August 31, 2007 15:39
temperature gradient howto tomasz bednarz FLUENT 0 April 27, 2006 00:35

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