|
[Sponsors] |
March 22, 2016, 09:43 |
Visual C++ and Fluent
|
#1 |
New Member
Rafau
Join Date: Aug 2013
Posts: 20
Rep Power: 12 |
Hello everyone!
I have gone through many threads, but I have not found clear solution -.- Could you describe me step by step what should i do to compile udf's in fluent (not just adding udfs, but setting compiler Visual C++). Should I change sth in udf.bat file etc.? Ansys 14.5 Windows 7, 64bit Best Regards Rafal |
|
March 23, 2016, 03:10 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
UDFs for Fluent are written in c. Not in c++. Although historically related, these are different languages, so they use different compilers.
|
|
March 23, 2016, 03:17 |
|
#3 |
New Member
Rafau
Join Date: Aug 2013
Posts: 20
Rep Power: 12 |
I know it is in C ;-) I just mentioned for i.e. the compiler Visual C++.
I do not know how to attach a complier to fluent. |
|
March 23, 2016, 03:23 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
Ah excuse me, I assumed that "visual c++" could compile c++, I see I am wrong.
If I google for "how to setup compiler for fluent", I get many explanations. Which one did you try? |
|
March 25, 2016, 10:59 |
|
#5 |
New Member
ami
Join Date: Dec 2015
Posts: 8
Rep Power: 10 |
Hello,
To comiple your UDF, you should go to Define=>User defined=> Fonctions=> Compiled =>Add (select your UDF from Sources files)=> Click on "Build"=> Click on "Load". I hope it can help you |
|
Tags |
visual c++. compiler. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two questions on Fluent UDF | Steven | Fluent UDF and Scheme Programming | 7 | March 23, 2018 03:22 |
problem of running parallel Fluent on linux cluster | ivanbuz | FLUENT | 15 | September 23, 2017 19:12 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 22:56 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
What the differences flow equation of Fluent 6.3 and Fluent 12.1 | opehterinar81 | FLUENT | 0 | August 19, 2011 11:55 |