CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   about ufile (https://www.cfd-online.com/Forums/siemens/54895-about-ufile.html)

Bono September 28, 2005 05:02

about ufile
 
hello, every one! I am trying using ufile in the output part, but when I launch the calculation, there are always errors like these: PNP: **WARNING** The "parm.inc" include file is not required in the "ufile/posdat.f" user coding file. PNP: **WARNING** The "parm.inc" include file is not required in the "ufile/uasi.f" user coding file. PNP: ***ERROR*** Compilation error in user file "ufile/posdat.f". PNP: ==> Please check the compilation error messages. Is it that because I did not install fortran compiler on my pc or of other reasons? please help me. I run star in windows system, but when I use the same ufile in unix system it is allright. Can anyone give me some advice? thanks in advance!


Richard September 28, 2005 07:01

Re: about ufile
 
Probably you have the statement "include 'parm.inc'" in your subroutine. From v3.2 onwards, you do not need this and the compilation will fail. I don't know why it would work on unix but not windows, unless you are using v3.15 on unix and v3.2x on windows.

Bono September 28, 2005 21:42

Re: about ufile
 
Thanks Richard for your response. I am using STAR_CD 3.22 on windows. Another question, do I have to install fortran compiler on my PC? I think the STAR itself has the complier. When using FLUENT, I do not have to install C compiler at all, and the udf still works well.

Richard September 29, 2005 03:35

Re: about ufile
 
No, you need a fortran compiler if you want to use user subroutines. Check which one you need - only certain ones are OK.

Jamie October 3, 2005 17:10

Re: about ufile
 
The Absoft fortran compiler is needed only if you are using subroutines, so in this case you need it.

limingtiger November 2, 2005 20:26

Re: about ufile
 
is compaq visual fortran 6 suitable for star-cd 3.15?


All times are GMT -4. The time now is 16:41.