|
[Sponsors] |
Receiving errors while building UDF, but it loads just fine |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 29, 2017, 13:18 |
Receiving errors while building UDF, but it loads just fine
|
#1 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
Hi all,
I receive numerous errors when I compile and build my UDF codes but I have no problem loading them and using them. Some of the errors are: error: Domain undeclared (first use in this function) error: (Each undeclared identifier is reported only once error: for each function it appears in.) Why is that? Thanks, Ali |
|
August 30, 2017, 06:13 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
The error "Domain undeclared" means that you use the variable "Domain", but you did not declare this variable. Without seeing your code, I can not give more detailed information.
And when you load and use the udf anyway, you will get results for the most recent udf code that worked. So the code that you wrote, and the code that Fluent uses, will not be the same. Avoid this! |
|
August 30, 2017, 14:41 |
|
#3 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
Understood,
Thank you so much Pakk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Errors in melting of ice-particles in ice-slurry flow UDF | devshi | Fluent UDF and Scheme Programming | 3 | November 28, 2016 13:45 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 08:09 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |