|
[Sponsors] | |||||
|
|
|
#1 |
|
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; } |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |