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

How to uncompress PHI file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2002, 09:34
Default How to uncompress PHI file
  #1
Hu
Guest
 
Posts: n/a
Could anyone tell me how to uncompress the PHI file that has been compressed by runcmp.bat. There is no help document regarding how to uncompress PHI file (which has been renamed as CPHI) in CHAM website. I tried to use runcmp.bat again but it requires a parameter to perform uncompressingt task, otherwise it would only do compressing. Please help.
  Reply With Quote

Old   April 24, 2002, 10:32
Default Re: How to uncompress PHI file
  #2
Jeremy Wu
Guest
 
Posts: n/a
There is an input file called q1cmp where you can specify uncompress or compress. Which PHOENICS version are you using ?
  Reply With Quote

Old   April 24, 2002, 13:02
Default Re: How to uncompress PHI file
  #3
Hu
Guest
 
Posts: n/a
Thank you, Jeremy. I am using PHOENICS 3.2 (non-recompilable) and 3.4 (recompilable). The problem is what should I do to the q1cmp? Is it just simply to add a line "uncompress" or "compress"? Is there any parameters I have to add? It seems 'q1cmp' is generated automatically be 'runcmp.bat' because it cannot be found if not using it.
  Reply With Quote

Old   April 25, 2002, 04:52
Default Re: How to uncompress PHI file
  #4
Jeremy Wu
Guest
 
Posts: n/a
I will send you a q1cmp file where you can see that there is '*' sign in front of compress (or uncompress) The '*' sign is used to de-activate the command. If you want to uncompress CPHI, then put an '*' sign in front of compress, and remove the '*' sign from the uncompress line.
  Reply With Quote

Old   April 25, 2002, 20:21
Default Re: How to uncompress PHI file
  #5
Hu
Guest
 
Posts: n/a
Many thanks for your help! May I ask one more question? What is the unit of the csize (kb? Mb?) I have seen there is a statement 'csize=1000', does it mean the maximum compressed phi file is 1000kb? What are the special cases of csize=1.2 and csize=1.44?

Cheers.
  Reply With Quote

Old   April 26, 2002, 05:35
Default Re: How to uncompress PHI file
  #6
Jeremy Wu
Guest
 
Posts: n/a
As descrived in the q1cmp file, the unit of csize is Kb. However, if you specify 1.44 or 1.2, then the program will take it 1440kb or 1200kb as there are statements in the code something like:

if(csize.eq.1.44) then

maxk=1440

elseif(csize.eq.1.2)

maxk=1200

endif

  Reply With Quote

Old   October 10, 2002, 06:18
Default Re: How to uncompress PHI file
  #7
Ramesh Avvari
Guest
 
Posts: n/a
Hello... dont complicate things to compress the phi file... it can be simply done by changing the option to yes \ no in compress = ? in cham.ini file... open file, open cham.ini file and just type no for compress = ?/ thats all... u will get phi in numerical ascii format in uncompressed file. but the file size will be big.

Ramesh Avvari
  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
PLOT3D ASCII solution file to MATLAB data file Sandeep Rana Main CFD Forum 4 June 11, 2010 09:48
ParaView exiting while trying to save image file or movie file 21kalee OpenFOAM Paraview & paraFoam 3 January 23, 2008 17:01
file/write-profile ... journal file MM FLUENT 5 November 30, 2006 04:07
Changing gambit file without change of case file?? Asghari FLUENT 2 August 28, 2006 13:48
converting a solidworks file into a fluent file rhaul FLUENT 2 June 23, 2006 16:04


All times are GMT -4. The time now is 08:40.