|
[Sponsors] |
October 25, 2013, 04:52 |
interpret UDF 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 |
[OpenFOAM] an error in Calculator's equation | immortality | ParaView | 12 | June 29, 2021 00:10 |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 20:30 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 05:07 |