CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Please check this UDF.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2006, 12:27
Default Please check this UDF.
  #1
Josh
Guest
 
Posts: n/a
When I run this UDF, the following messege appears:

iter time/iter chip-exec: charge_density: wrong return type: void udf function expecteddensity

The UDF is shown below:

#include "udf.h" #define QM -5e-6 DEFINE_SOURCE(charge_density,c,t,dS,eqn) { real density; density=QM; printf("density", density); return density; }
  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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 03:07
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
DEFINE_DPM_OUTPUT macro UDF HELP Puneet FLUENT 3 November 28, 2003 11:55
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc jx FLUENT 1 November 6, 2003 18:23


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