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

Exiting a UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2011, 18:39
Default Exiting a UDF
  #1
Member
 
pranab_jha's Avatar
 
Pranab N Jha
Join Date: Nov 2009
Location: Houston, TX
Posts: 86
Rep Power: 16
pranab_jha is on a distinguished road
Hi,
I am using a UDF to specify a pressure boundary condition. I want to know if that when I reach a specific pressure, how can I stop using the UDF at that time-step and change the BC.

I use a journal file to give the commands, so in short, if I get that pressure condition, I would like to change the BC from the UDF to a constant using the journal file itself.

Has somebody had any success or experience in this?
pranab_jha is offline   Reply With Quote

Old   August 16, 2011, 13:00
Default
  #2
New Member
 
Jack cosby
Join Date: Jul 2011
Posts: 15
Rep Power: 14
3DmaniacSLDWRKS is on a distinguished road
any luck? if so plz share your experience with us

thanks
3DmaniacSLDWRKS is offline   Reply With Quote

Old   August 23, 2011, 04:47
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 3
Rep Power: 14
D.Q.Zheng is on a distinguished road
I don't know whether the following could be helpful.

Maybe you can use 'If' statements in your UDF to define BC, e.g.

If(pressure_now<pressure_condition)
{}
else
{}
D.Q.Zheng is offline   Reply With Quote

Reply

Tags
boundary condition, exit, udf


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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


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