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

PRINT VALUE FROM UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2002, 08:02
Default PRINT VALUE FROM UDF
  #1
Pravesh Kumar
Guest
 
Posts: n/a
Hi I am using UDF for the momentum exchange terms using DEFINE_EXCHANGE_PROPERTY for multiphase flow.I want to print the value of these interaction term calculated by UDF. Plz Help.

  Reply With Quote

Old   October 8, 2002, 08:55
Default Re: PRINT VALUE FROM UDF
  #2
Alexandre
Guest
 
Posts: n/a
use Message("text"); in a compiled udf
  Reply With Quote

Old   October 8, 2002, 09:05
Default Re: PRINT VALUE FROM UDF
  #3
Pravesh Kumar
Guest
 
Posts: n/a
I am using INTERPRETED UDF then how to print calculated by UDF.

  Reply With Quote

Old   October 8, 2002, 09:18
Default Re: PRINT VALUE FROM UDF
  #4
Alexandre
Guest
 
Posts: n/a
printf ?

or compile it !
  Reply With Quote

Old   October 9, 2002, 01:23
Default Re: PRINT VALUE FROM UDF
  #5
Pravesh Kumar
Guest
 
Posts: n/a
hi It is printing continuously for all the time steps but i want to print it only once just to cross check it with hand calculation.
  Reply With Quote

Old   October 9, 2002, 01:53
Default Re: PRINT VALUE FROM UDF
  #6
Alexandre
Guest
 
Posts: n/a
It is printing each time the udf is called e.g. in each cell, which is whath you asked.
  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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
DEFINE_DPM_OUTPUT macro UDF HELP Puneet FLUENT 3 November 28, 2003 11:55
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


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