|
[Sponsors] |
April 22, 2002, 09:34 |
How to uncompress PHI file
|
#1 |
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.
|
|
April 24, 2002, 10:32 |
Re: How to uncompress PHI file
|
#2 |
Guest
Posts: n/a
|
There is an input file called q1cmp where you can specify uncompress or compress. Which PHOENICS version are you using ?
|
|
April 24, 2002, 13:02 |
Re: How to uncompress PHI file
|
#3 |
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.
|
|
April 25, 2002, 04:52 |
Re: How to uncompress PHI file
|
#4 |
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.
|
|
April 25, 2002, 20:21 |
Re: How to uncompress PHI file
|
#5 |
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. |
|
April 26, 2002, 05:35 |
Re: How to uncompress PHI file
|
#6 |
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 |
|
October 10, 2002, 06:18 |
Re: How to uncompress PHI file
|
#7 |
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 |
|
|
|
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 |
[OpenFOAM] ParaView exiting while trying to save image file or movie file | 21kalee | ParaView | 3 | January 23, 2008 16:01 |
file/write-profile ... journal file | MM | FLUENT | 5 | November 30, 2006 03: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 |