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

PROBLEM COMPILING!!! PLEASE HELP!

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2005, 07:28
Default PROBLEM COMPILING!!! PLEASE HELP!
  #1
Toni Cominceanu
Guest
 
Posts: n/a
I HAVE A PROBLEM AND I DO NOT KNOW WHAT TO DO. I WANT TO PUT A SINUSOIDAL VARIABLE VELOCITY_INLET. I WROTE THIS IN C++: " /************************************************** ********************/ /* unsteady.c */ /* UDF for specifying a transient velocity profile boundary condition */ /************************************************** ********************/

#include "udf.h"

DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; begin_f_loop(f, thread)

{

real t = RP_Get_Real("flow-time");

F_PROFILE(f, thread, position) = 0.0 + 90.0*sin(188.5*t);

} end_f_loop(f, thread) } " AND WHEN I PUT THE NAME "unsteady.c" IN INTERPRETED UDFs UNDER SOURCE FILE IN FLUENT 6.012 IT SAY THIS: "cpp -IC:\FLUENT.INC\fluent6.0/src -IC:\FLUENT.INC\fluent6.0/cortex/src -IC:\FLUENT.INC\fluent6.0/client/src -IC:\FLUENT.INC\fluent6.0/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" unsteady.c error: udf compiler: cannot execute cpp -IC:\FLUENT.INC\fluent6.0/src -IC:\FLUENT.INC\fluent6.0/cortex/src -IC:\FLUENT.INC\fluent6.0/client/src -IC:\FLUENT.INC\fluent6.0/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" unsteady.c "

WHAT CAN I DO, PLEASE TELL ME. I NEED TO MAKE A DIRECTORY AND SAVE "unsteady.c" THERE, OR WHAT... I DON'T KNOW WHAT TO DO.

THANKS!
  Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
my problem wuth UDF compiling m.beh FLUENT 3 November 22, 2011 01:47
Problem in Compiling the solver m.maneshi OpenFOAM Running, Solving & CFD 4 November 3, 2010 03:07
Problem compiling OpenFoamTurbo troy OpenFOAM 2 July 12, 2010 10:08
problem in compiling UDF ammi reddy FLUENT 1 December 1, 2006 07:45
UDF compiling problem in Windows Mazyar FLUENT 1 April 26, 2006 01:48


All times are GMT -4. The time now is 20:33.