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

UDF errors:

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2013, 10:14
Default UDF errors:
  #1
New Member
 
hadi
Join Date: May 2013
Posts: 10
Rep Power: 12
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


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
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
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 03:22.