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

udf ....

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2010, 11:01
Default udf ....
  #1
Member
 
Join Date: Apr 2010
Posts: 50
Rep Power: 7
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
hi my freinds!

i write a udf for the outlet B.C ! i have 8 core pc , & windows is 7 ! i wanna run fluent in parallel on my pc ! is it possible to use udf in this condition????


i look forward for yours attention!!!!!
saha2122 is offline   Reply With Quote

Old   November 7, 2010, 11:11
Default Parallelize
  #2
New Member
 
Anonymous
Join Date: Jun 2009
Posts: 18
Rep Power: 8
vinerm is on a distinguished road
Yes, you can use udf in parallel, however, you have to parallelize the code. Parallelization is really easy for UDFs due to Fluent's available directive, like RP_HOST, etc. Just look for it in documentation.

You can try using it without parallelization, however, as you said you are using to specify a boundary condition, most likely you are using DEFINE_PROFILE, so, parallelization is must else it will give issues.
vinerm is offline   Reply With Quote

Old   November 9, 2010, 02:30
Default
  #3
Member
 
Join Date: Apr 2010
Posts: 50
Rep Power: 7
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
hi dear
from the last part of your post :[ You can try using it without parallelization, however, as you said you are using to specify a boundary condition, most likely you are using DEFINE_PROFILE, so, parallelization is must else it will give issues]
, do you mean that parallelization of my udf is not necessary even i use parallel fluent ? [because it is the Boundary condition udf?]
ya? do i understand correctly?
saha2122 is offline   Reply With Quote

Old   November 9, 2010, 02:41
Default
  #4
Member
 
Join Date: Apr 2010
Posts: 50
Rep Power: 7
saha2122 is on a distinguished road
Send a message via Yahoo to saha2122
when i interpreted the udf , i get the below message, the error part that i make it bold !!! i dont know if this is an important error, but why in the outlet i can use this boundary udf!!!!!!!! or why fluent allow me to start the iteratation with no problem!!!!!!!!!!!!!!!!!!

cells..
cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig-host.h>" "K:\Yas-Run\89.8.16\diff-draft\pressure.outlet
cpp"
error: udf compiler: cannot execute cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig-host.h>" "K:\Yas-Ru
\89.8.16\diff-draft\pressure.outlet.cpp"
cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<C:/Users/Samaneh/AppData/Local/Temp/udfconfig-node0.h>" "C:/Users
Samaneh/AppData/Local/Temp/pressure.outlet.cpp.0.c"
cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<C:/Users/Samaneh/AppData/Local/Temp/udfconfig-node1.h>" "C:/Users
Samaneh/AppData/Local/Temp/pressure.outlet.cpp.1.c"
saha2122 is offline   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
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
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 09:16.