|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Does anyone know, what the different between compiled and interpreted udf is? I can interpret my udf but can't compile it. Can I just do one of those?
|
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
u can check the udf manual..given below is the link
http://fluentusers.com/fluent/doc/or...f/main_pre.htm if it still doesnt help, mail me the code..lets see we can do something. Sai Muppur |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
I am still trying to compile the udf example given in the fluent tutorial. I am getting confused. How to determine which udf should be compiled or interpreted.
|
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
what is the case u r trying to set up and whats the purpose of the UDF in the model? Then i will be able to help u.
Shiva |
|
![]() |
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
Initially, I am trying to simulate a simple phenomena, a ball drop in the air until it reach it's terminal velocity. Later, I would like to simulate a water droplet falling and hitting a flat surface and simulate the spreading phenomena. Thanks.
|
|
![]() |
![]() |
![]() |
#6 |
Guest
Posts: n/a
|
I checked in Fluent manual it says, for GRID_MOTION macro, it can only be executed as compiled UDF. I am stucked with this compile problem for about 3 weeks!!! I am using window XP and Visual C++ Toolkit 2003 as my compiler. I've set my environment and declare my working folder as sharing as per recommended by Fluent. I am still getting 'nmake' is not recognized as internal or external command. Thanks for yr help.
|
|
![]() |
![]() |
![]() |
#7 |
Guest
Posts: n/a
|
good..atleast u now know its shud be compiled for sure. next thing is to make sure what macro to use. mebbe in ur case define c.g motion is more appropriate. not sure though. finally, did u start fluent from ur working directory only before compiling it? that is as important as having the compiler itself. in case u have problem, go to programs ----> fluent inc ----> environment, then click modify. then it shud allow u to open fluent from a command prompt in whatever directory u r. hope, all this helps. if u r working in a company get the admin to install visual studio .net on ur machine which is much much easier to handle.
|
|
![]() |
![]() |
![]() |
#8 |
Guest
Posts: n/a
|
I've set the environment and started my fluent from the compiler command prompt. Previously I am using microsoft visual c++ toolkit 2003 (compiler) that I downloaded free from the internet. Today I want to try to install visual studio.net. I hope after this, it could compile.
|
|
![]() |
![]() |
![]() |
#9 |
Guest
Posts: n/a
|
Thanks to all of you. Now my fluent is working fine. I install Microsoft visual c++ (b4 this I was using microsoft visual c++ toolkit 2003).
|
|
![]() |
![]() |
![]() |
#10 |
Guest
Posts: n/a
|
Hi Aireen
If you remember I have the same problem of you. Can you say me what exactly have you done? Please give the exect version of Microsoft visual c++ ? thank you for your help, Alper |
|
![]() |
![]() |
![]() |
#11 |
Guest
Posts: n/a
|
I am using Microsoft Visual Studio .NET 2003
|
|
![]() |
![]() |
![]() |
#12 |
Guest
Posts: n/a
|
Hi
I aslo could compile with visual c++ 6. Thank you very much. See you in other problem. regards, Alper |
|
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF - Interpreted works and compiled doesn't | AlwaysLearning | FLUENT | 9 | October 30, 2018 00:52 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 21:38 |
compiled and interpreted udf | mateus | FLUENT | 1 | May 11, 2011 06:09 |
DEFINE_CG_MOTION Interpreted or Compiled? | Aussie Shane | FLUENT | 0 | April 20, 2006 04:50 |
compiled vs. interpreted UDF | co2 | FLUENT | 1 | January 22, 2004 14:19 |