CFD Online URL
[Sponsors]
Home > Forums > CD-adapco

Howto manually merge a pst-file?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 21, 2005, 08:35
Default Howto manually merge a pst-file?
  #1
DrA
Guest
 
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, 09:15
Default Re: Howto manually merge a pst-file?
  #2
Kalle
Guest
 
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, 09:57
Default Re: Howto manually merge a pst-file?
  #3
Hubert Janocha
Guest
 
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

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
Calculation of Drag Coefficient manually PRASHANT GHADGE FLUENT 4 December 13, 2012 16:31
HOWTO use fieldAverage alesch OpenFOAM Running, Solving & CFD 6 October 22, 2012 02:51
MotionUBoundaryPatch assignment HowTo bfa OpenFOAM Running, Solving & CFD 22 November 24, 2011 12:52
Accessing the SVN Repository Howto philippose OpenFOAM Installation 3 August 31, 2007 16:39
temperature gradient howto tomasz bednarz FLUENT 0 April 27, 2006 01:35


All times are GMT -4. The time now is 07:35.