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

UDF query

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2008, 04:06
Default UDF query
  #1
carno
Guest
 
Posts: n/a
Hi,

I am using DEFINE_CG_MOTION udf in one of my problem. Is it possible to use the same UDF two times? Means if I use following syntax what will happen?

DEFINE_CG_MOTION(piston,.........) a a a a DEFINE_CG_MOTION(Cylinder,........) b b b b DEFINE_CG_MOTION(piston,.........) c c c c

Note that I am using "DEFINE_CG_MOTION(piston,.........)" two times and I want output of second as final one. I using this because some output from first 'piston' is used in 'cylinder' and 'cylinder' output is used in second 'piston' UDF. All the three UDFs use geometry so I need to repeat UDFs without changing name ('piston')

IS it right?

  Reply With Quote

Old   December 16, 2008, 19:16
Default Re: UDF query
  #2
Davy
Guest
 
Posts: n/a
You may not use the same name twice if you put them into the same library.
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FSI query CC CFX 2 September 1, 2008 01:31
MRF query sandip FLUENT 3 July 4, 2008 05:17
DPM query DPM_fluent_user FLUENT 0 June 23, 2008 12:13
query rajesh kumar gupta FLUENT 0 October 9, 2007 17:44
Query Andy FLUENT 3 January 31, 2006 01:48


All times are GMT -4. The time now is 15:47.