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

new user for help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2010, 22:30
Red face new user for help
  #1
New Member
 
tanzhen
Join Date: Dec 2010
Posts: 1
Rep Power: 0
kakayaofabiao is on a distinguished road
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!
kakayaofabiao is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:59.