|
[Sponsors] |
December 13, 2010, 22:30 |
new user for help
|
#1 |
New Member
tanzhen
Join Date: Dec 2010
Posts: 1
Rep Power: 0 |
i am a new user of fluent CDF, i made and run a CDF and the error occured as follow:
cpp -IC:\Fluent.Inc\fluent6.2.16/src -IC:\Fluent.Inc\fluent6.2.16/cortex/src -IC:\Fluent.Inc\fluent6.2.16/client/src -IC:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" C:\Documents and Settings\Administrator\velocity_inlet.c Error: C:\Documents and Settings\Administrator\velocity_inlet.c: line 1: parse error. i do not know how to deal with it, and the CDF as follow: #include"udf.h" DEFINE_PROFILE(velocity_inlet,thread,position) { real x[ND_ND]; real y; face_t f; begin_f_loop(f,thread) { F_CENTROID(x,f,thread); y=x[1] F_PROFILE(f,thread,position)=0.5-y*y/(0.02*0.02)*0.5; } end_f_loop(f,thread) } thank you! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
user routine, user funcion, or fortran compile effect on the memroy? | princeps11 | CFX | 1 | May 13, 2009 18:37 |
CFX 10 User Routine NOT in Fortran | Andre | CFX | 14 | August 8, 2006 23:03 |
particle user routines | Felix | CFX | 1 | July 24, 2006 12:32 |
User Surface, Calculator | Christian Bruzzese | CFX | 3 | November 15, 2005 10:13 |
CFX5 and user FORTRAN | Worth | CFX | 9 | December 25, 2003 01:43 |