CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   PHI->Tecplt.dat (https://www.cfd-online.com/Forums/phoenics/51412-phi-tecplt-dat.html)

hyw May 5, 2002 04:10

PHI->Tecplt.dat
 
When I want to transfer my *.PHI file to *.dat using PHOTEC.exe, it could not run with the large size PHI file, my PHI is 40MB, I don't think it's a large file,but no problem with other small phi files, I don't know why, anyone can tell me the reasons? Thanks.

Hu May 10, 2002 10:55

Re: PHI->Tecplt.dat
 
The default maximum number of nodes ((nx+1)*(ny+1)*(nz+1))=150000, which is too small for a bit more complicated geometry. I've met the same problem. I tried to recompile 'Tec.for' but it seems there is a relation between 'tec.for' and 'main.for'. My 'main.for' was compiled for the RAM size of 256M, so the 'tec.for' cannot allocate memory more than 256M, otherwise it will give an error message.

You will have to compile 'tec.for' and then link it with 'bldtec.bat'. You will get a new copy of tecexe.exe after you have done this.

Probably the people in CHAM are too busy to drop by. So I'm not sure if what I've mentioned above is correct. Hope this may help.

Regards.


Hu May 10, 2002 14:13

Re: PHI->Tecplt.dat
 
Oops, I was wrong. There is no connection between 'Tec.for' and 'Main.for'. However, an error message still exists when the maximum node number exceeds 3600000.

hyw May 12, 2002 01:34

Re: PHI->Tecplt.dat
 
Dear Hu, Thanks for your knid help, I'll try.

hyw May 12, 2002 02:20

Re: PHI->Tecplt.dat
 
Could you tell me how to link the "tec.for" with "bldtec.dat", following your suggestion, maybe I have met the same trouble with you,"unresolved external symbol _TECMAIN@240' How did you do about this? Thanks


Hu May 12, 2002 08:50

Re: PHI->Tecplt.dat
 
You have to compile 'tec.for' before you can link it with 'bldtec.bat'. Therefore you need a Digital Fortran compiler. Using the compiler to generate 'tec.obj' only and then you can link the new 'tec.obj' with 'bldtec.bat' for a new copy of 'tecexe.exe'. Remember to backup your original copy of these files when you are doing this.

Good luck!

hyw May 27, 2002 03:10

Re: PHI->Tecplt.dat
 
Thank you for your kind help.

Mehdi BEN HAJ June 29, 2002 09:06

Re: PHI->Tecplt.dat
 
Sear,

You can ask Mr:

* nitin <nitinkd@yahoo.com> or

* Baizh.sun <cdybz@263.net>

I sent them a fortran program which done by my self. It transfer the PHI file to tec.dat file .

Also you must open and correct your .dat files with EDIT on msdos command.


hyw July 19, 2002 03:14

Re: PHI->Tecplt.dat
 
Thanks.


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