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

UDF running three times each iteration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2014, 09:24
Unhappy UDF running three times each iteration
  #1
Member
 
Anonymous
Join Date: Mar 2014
Posts: 84
Rep Power: 12
marauder is on a distinguished road
When I'm interpreting the UDF it is doing it three times like this
Code:
cpp -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/cortex/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/client/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/multiport/src" -I. -DUDF
ONFIG_H="<udfconfig-host.h>" "D:\cfd runs\new\usf\udf_trial1.c"

cpp -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/cortex/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/client/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/multiport/src" -I. -DUDF
ONFIG_H="<C:/Users/623465~1.DSB/AppData/Local/Temp/udfconfig-node0.h>" "C:/Users//AppData/Local/Temp/udf_trial1.c.0.c"

cpp -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/cortex/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/client/src" -I"C:\PROGRA~1\ANSYSI~1\v140\fluent\fluent14.0.0/multiport/src" -I. -DUDF
ONFIG_H="<C:/Users/623465~1.DSB/AppData/Local/Temp/udfconfig-node1.h>" "C:/Users/AppData/Local/Temp/udf_trial1.c.1.c"
When I make a run the udf is getting executed three times per iteration giving some garbage values in two of those, which is affecting my run what is the reason for this??
marauder is offline   Reply With Quote

Old   August 4, 2014, 09:37
Default
  #2
Member
 
Anonymous
Join Date: Mar 2014
Posts: 84
Rep Power: 12
marauder is on a distinguished road
Sorry! Got it! Switched on parallel when my code was written for serial computing!
marauder is offline   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
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 11:47
ITERATION in udf slek Main CFD Forum 0 July 8, 2010 21:09
A Loop problem when running UDF in the batch mode Jun Geng FLUENT 3 July 16, 2008 08:34
compiling my UDF Seyed Farid Hosseinizadeh FLUENT 22 February 14, 2006 10:19
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03


All times are GMT -4. The time now is 02:28.