CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   compiled or interpreted udf (https://www.cfd-online.com/Forums/fluent/37600-compiled-interpreted-udf.html)

Aireen August 17, 2005 15:25

compiled or interpreted udf
 
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?

shiva August 17, 2005 15:57

Re: compiled or interpreted udf
 
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

Aireen August 18, 2005 00:19

Re: compiled or interpreted udf
 
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.

shiva August 18, 2005 13:56

Re: compiled or interpreted udf
 
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

Aireen August 19, 2005 12:45

Re: compiled or interpreted udf
 
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.

Aireen August 19, 2005 12:49

Re: compiled or interpreted udf
 
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.

shiva August 19, 2005 17:12

Re: compiled or interpreted udf
 
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.

Aireen August 22, 2005 12:11

Re: compiled or interpreted udf
 
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.

Aireen August 23, 2005 17:31

Re: compiled or interpreted udf
 
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).

Alper Albayraq August 24, 2005 00:59

Re: compiled or interpreted udf
 
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


Aireen August 24, 2005 11:55

Re: compiled or interpreted udf
 
I am using Microsoft Visual Studio .NET 2003

Alper Albayraq August 25, 2005 01:54

Re: compiled or interpreted udf
 
Hi

I aslo could compile with visual c++ 6. Thank you very much. See you in other problem.

regards, Alper


All times are GMT -4. The time now is 13:44.