CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   About UDF of Inlet and Periodic B.C. (http://www.cfd-online.com/Forums/fluent/29191-about-udf-inlet-periodic-b-c.html)

JI Lucheng December 27, 2001 21:46

About UDF of Inlet and Periodic B.C.
 
Hi, Every one

My aim is to use UDF in defining a unsteady inlet B.C. but the first try with example given in manual failed. The problem is as follows, CPP -ID:\FLUENT.INC\fluent5.4/src -ID:\FLUENT.INC\fluent5.4/cortex/src -ID:\FLUENT.INC\fluent5.4/client/src -ID:\FLUENT.INC\fluent5.4/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" profile_v.c Error: profile_v.c: line 1: parse error. The UDF routine is directly from "Parabolic inlet profile in turbine vane " in user manual. Can you tell me what was the reason and how to correct it.

Next I want to modify periodic B.C to Time-Delay Periodic B.C., Is it able to be realized? How to do?

Thanks

Ji Lucheng

H.S.Fang December 27, 2001 22:24

Re: About UDF of Inlet and Periodic B.C.
 
Hi,I have met this problem.Later I find that I compiling the provile_v.c.txt instead of provile_v.c because of the hidden txt.

JI Lucheng December 28, 2001 20:18

Re: About UDF of Inlet and Periodic B.C.
 
Fang,

Thank you for your reply.

I have solved the first problem. Just put *.c file into *.cas Directory. The most difficult problem is how to change periodic B.C to Time-Delay or Phase-Delay Periodic B.C.? Can you give me help?

Ji


All times are GMT -4. The time now is 02:43.