|
[Sponsors] |
October 25, 2013, 05:49 |
interpret Error????
|
#1 |
New Member
hadi
Join Date: May 2013
Posts: 10
Rep Power: 13 |
Hi
I have been a udf as follow: #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=0.2601*exp(-6.147e-05*C_P(c,t)) + 0.5091*exp(-0.0007079*C_P(c,t)); } end_c_loop_all(c,t) return; } After trying to interpret it, error reports was seen as follow: Error: line 10: invalid type for pointer dereference: float. How eliminate these error? Anyhelp would be appreciated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
c++ libraries and solver compiling | vaina74 | OpenFOAM Installation | 13 | February 3, 2012 18:43 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |