CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

compiled or interpreted udf

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 17, 2005, 14:25
Default compiled or interpreted udf
  #1
Aireen
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?
  Reply With Quote

Old   August 17, 2005, 14:57
Default Re: compiled or interpreted udf
  #2
shiva
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
  Reply With Quote

Old   August 17, 2005, 23:19
Default Re: compiled or interpreted udf
  #3
Aireen
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.
  Reply With Quote

Old   August 18, 2005, 12:56
Default Re: compiled or interpreted udf
  #4
shiva
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
  Reply With Quote

Old   August 19, 2005, 11:45
Default Re: compiled or interpreted udf
  #5
Aireen
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.
  Reply With Quote

Old   August 19, 2005, 11:49
Default Re: compiled or interpreted udf
  #6
Aireen
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.
  Reply With Quote

Old   August 19, 2005, 16:12
Default Re: compiled or interpreted udf
  #7
shiva
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.
  Reply With Quote

Old   August 22, 2005, 11:11
Default Re: compiled or interpreted udf
  #8
Aireen
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.
  Reply With Quote

Old   August 23, 2005, 16:31
Default Re: compiled or interpreted udf
  #9
Aireen
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).
  Reply With Quote

Old   August 23, 2005, 23:59
Default Re: compiled or interpreted udf
  #10
Alper Albayraq
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

  Reply With Quote

Old   August 24, 2005, 10:55
Default Re: compiled or interpreted udf
  #11
Aireen
Guest
 
Posts: n/a
I am using Microsoft Visual Studio .NET 2003
  Reply With Quote

Old   August 25, 2005, 00:54
Default Re: compiled or interpreted udf
  #12
Alper Albayraq
Guest
 
Posts: n/a
Hi

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

regards, Alper
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
UDF - Interpreted works and compiled doesn't AlwaysLearning FLUENT 5 August 30, 2006 05:44
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 15:19


All times are GMT -4. The time now is 00:23.