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

Phi to Phida

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 4, 2003, 10:33
Default Phi to Phida
  #1
Tim
Guest
 
Posts: n/a
Is it possible to covert PHI into PHIDA? Could anyone tell me how to do that? Thanks.
  Reply With Quote

Old   April 6, 2003, 10:17
Default Re: Phi to Phida
  #2
Song
Guest
 
Posts: n/a
I never tried this before. But I assume you can first load the case in VR editor, change the setting in VR for phi to phida and then save the case file. Give it a try!
  Reply With Quote

Old   April 7, 2003, 03:51
Default Re: Phi to Phida
  #3
Eugene
Guest
 
Posts: n/a
Try to load your case in VR Editor, change output to PHI, and restart for 2-3 iterations. And you will have phi file!
  Reply With Quote

Old   April 7, 2003, 04:41
Default Re: Phi to Phida
  #4
John Ludwig, CHAM
Guest
 
Posts: n/a
The method suggested in the first reply certainly won't work, as VR-Editor only copies existing PHI/PHIDA files to the saved names. The second won't either, as Earth isn't quite clever enough to read a PHI file and write a PHIDA. It expects input and output to be in the same format.

You can switch format from PHI->PHIDA or PHIDA->PHI using the little-known PINTO program. This is run from a DOS command prompt by the command runpin. It needs an input file Q1PIN. To convert from PHI->PHIDA the Q1PIN file should contain:

LDA=T STOP

After running, a new file called NPHIDA will have been created.

To go from PHIDA->PHI it should contain:

LFS=T STOP

After running a new file NPHI will have been created. These new files can be renamed as required.

More information on PINTO can be found in the POLIS Ecyclopaedia under P. http://www.cham.co.uk/phoenics/d_polis/d_info/pinto.htm

  Reply With Quote

Old   April 7, 2003, 12:39
Default Re: Phi to Phida
  #5
Tim
Guest
 
Posts: n/a
Thanks. However, it was able to convert a phida file to NPHI but it cannot convert a phi file into NPHIDA. I don't know where is the problem because I did replace LFS=T by LDA=T in Q1pin. I'm using PHOENICS 3.4.

More help is needed!

Ther error message is as follows.

---------------------------------------------------------

CCCC HHH PHOENICS Version 3.3.1 - PINTO

CCCCCCCC HHHHH (C) Copyright 2000

CCCCCCC HHHHHHHHHH Concentration Heat and Momentum Ltd

CCCCCCC HHHHHHHHHHHH All rights reserved.

CCCCCC HHHHHHHHHHHHH Address: Bakery House, 40 High St

CCCCCCC HHHHHHHHHHHH Wimbledon, London, SW19 5AU

CCCCCCC HHHHHHHHHH Tel: 0208-947-7651

CCCCCCCC HHHHH Facsimile: 0208-879-3497

CCCC HHH E-mail: phoenics@cham.demon.co.uk

--------------------------------------------------------- This program forms part of the PHOENICS installation for:

CHAM

---------------------------------------------------------

PINTO PROGRAM DATED 31.12.00 ERROR IN OPENING FILE: PHIDA ( LU: 39 ;IOPEN: 7 ;LREC: 1024 ;IOSTAT: 602 )

ERROR STOP REACHED CHECK DATA. < was unexpected at this time.
  Reply With Quote

Old   April 8, 2003, 04:09
Default Re: Phi to Phida
  #6
John Ludwig, CHAM
Guest
 
Posts: n/a
The IOSTAT:602 part of the error report has the following definition in the Compaq Fortran help-

severe (602): File not found FOR$IOS_F6416. An OPEN statement specified STATUS='OLD' for a specified file or a directory path that does not exist.

Is it possible that you do not have a file called phida in the directory from which you are running?

Could be your file format setting is wrong.

To convert PHI -> PHIDA you must have: # PHIDA=F in PREFIX (formatted in Options - File format) to make PINTO pick up a PHI file # LDA=T in Q1PIN to make it write an NPHIDA # a file called PHI in the working directory

To convert PHIDA -. PHI you must have # PHIDA=T in PREFIX (direct access in Options - File format) to make it pick up a PHIDA file # LFS=T in Q1PIN to make it write an NPHI # a file called PHIDA in the working directory

If this still doesn't work, send your Q1PIN, PREFIX and PHI (zipped!) to support@cham.co.uk. They will try to see what is wrong.
  Reply With Quote

Old   April 8, 2003, 10:08
Default Re: Phi to Phida
  #7
Tim
Guest
 
Posts: n/a
It works! The problem was in the PREFIX. It need be changed to PHIDA=F if I want to convert PHI into PHIDA by PINTO.

Thanks a lot!
  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
PHIDA->PHI Hu Phoenics 5 June 18, 2002 02:08


All times are GMT -4. The time now is 00:01.