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

compile UDF in journal file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 27, 2009, 17:34
Default compile UDF in journal file
  #1
Member
 
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 8
ivanbuz is on a distinguished road
Anyone knows how to compile a UDF (build the UDF library) in a journal file?

I know I can use GUI functions if there is a GUI, but I submit the job to HPC where fluent runs without a GUI, so the GUI functions do NOT work.

In the text-command-list documentation, I can only find the command to open a user-defined function library, but I need the command to build the library.

Hope to hear from you guys soon! Thanks in advance!
ivanbuz is offline   Reply With Quote

Old   September 28, 2009, 07:34
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Try:
Code:
/define/user-defined/compiled-functions compile yes
library_name
udf_name.c
etc.c
Good luck.
Bernhard is offline   Reply With Quote

Old   September 28, 2009, 14:56
Default
  #3
Member
 
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 8
ivanbuz is on a distinguished road
excellent! Thanks a lot!
ivanbuz is offline   Reply With Quote

Reply

Tags
build, udf compilation

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
journal file with variable in a while loop? Ralf Schmidt FLUENT 41 November 18, 2014 11:05
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
What case file for what UDF? Alex FLUENT 1 March 20, 2006 05:33
Gambit Journal File Scripts, Public Database Needed? Jonas Larsson Main CFD Forum 13 March 2, 1999 08:25


All times are GMT -4. The time now is 14:10.