CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF errors:

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 23, 2013, 10:14
Default UDF errors:
  #1
New Member
 
hadi
Join Date: May 2013
Posts: 10
Rep Power: 3
h.iraji is on a distinguished road
hi all , I've been trying to interpret my udf and I see these errors :

line 10: invalid type conversion: double -> pointer to double.

for this UDF :
#include "udf.h"
#include "mem.h"
DEFINE_GEOM(deforming,domain,dt,position)
{
cell_t c;
Thread *t;
real *position;
begin_c_loop_all(c,t)
{
position=1.6-0.368*exp(-0.1231*(C_P(c,t)/1000));
}
end_c_loop_all(c,t)
return;
}
?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????/

Last edited by h.iraji; October 24, 2013 at 04:21.
h.iraji is offline   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
multiphase UDF errors! alexsatan Fluent Multiphase 0 October 14, 2013 05:01
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
AMI speed performance danny123 OpenFOAM 19 October 24, 2012 07:44
Errors when Compiling UDF: error C2040/error C2099 Julian K. FLUENT 1 December 21, 2008 00:23
errors in interpreted udf for two macro Asghari FLUENT 0 August 7, 2006 02:29


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