|
[Sponsors] |
October 16, 2003, 07:35 |
void udf function expected
|
#1 |
Guest
Posts: n/a
|
Hi to all! I have read the new "udf problem too" posted by Guevara from Friday 7 March 2003. And like to him, I have meet with similar problem. I wrote my udf and successfully compiled in Fluent 6.1, but when I wanted to start the initialization field and iterations I couldn't. I received an error message: "Error Object: () chip-exec: p_source_m0: wrong return type: void udf function expected". One of pieces from my udf:
DEFINE_SOURCE(p_source_m0, c, t, dS, eqn) { real source_m0; source_m0 = C_R(c,t)*C_UDSI(c,t,12); return source_m0; } If anybody can help me, I will be very grateful. Best regards Paulina |
|
October 18, 2003, 13:39 |
Re: void udf function expected
|
#2 |
Guest
Posts: n/a
|
This could be due to your Fluent case and data file may have been linked to the some older UDFs (linked at the last compilation). If there is a difference in the names of the UDFs stored in the case file and the current compilation, you will see this kind of error. Or the UDFs stored in the Fluent case file is missing, for some reason, you will get this error too.
Solution: Open your case file, let it spit all the error messages, then go to the place where enabled the UDF and UNSELECT them.... Now, re-link the new UDFs. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Can anybody help me to solve the list errors while compiling Openfoam 15 on Opensuse 103 32bit | coompressor | OpenFOAM Installation | 0 | November 12, 2008 20:53 |
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 |