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

Changing Pressure-inlet to Wall for Inlet valve (from UDF and Scheme)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By esco_rep

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2017, 19:42
Default Changing Pressure-inlet to Wall for Inlet valve (from UDF and Scheme)
  #1
New Member
 
steve
Join Date: Feb 2015
Posts: 4
Rep Power: 11
esco_rep is on a distinguished road
Hi All,

I'm simulating a simple 'valve bc' to allow a tube to purge after exhausting its high pressure gas. I have used a execute on demand UDF and scheme file which allows the switch between a wall and a pressure inlet once the pressure inside the tube gets below a desired pressure.

When i run the simulation I get a segmentation fault the iteration after the wall switches to pressure inlet. When i call the files/macros manually I have npo issue and it runs fine. Likewise if i continue to run the case after the fault it works as desired.

I am a little stumped as to why, so if someone can shed some light i would appreciate it!

peace
esco_rep is offline   Reply With Quote

Old   March 28, 2017, 21:21
Default
  #2
New Member
 
steve
Join Date: Feb 2015
Posts: 4
Rep Power: 11
esco_rep is on a distinguished road
Solving my own question...make sure the updates are set to the same interval as you call the udf/scheme. Always love a simple answer.lol
chaitanyaarige likes this.
esco_rep is offline   Reply With Quote

Reply

Tags
boundary conditions, inlet valve, scheme, 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
Is it possible? Changing BC from wall to pressure-outlet with an UDF trigger jayemes Fluent UDF and Scheme Programming 12 October 5, 2018 12:40
Accessing wall clock time from Scheme or UDF Angelo Sozzi FLUENT 2 February 23, 2018 05:03
changing scheme variable with UDF? Wagemakers FLUENT 17 September 30, 2015 14:34
Calling zone name, zone id and total pressure from Fluent scheme to UDF kuldip Fluent UDF and Scheme Programming 2 October 6, 2014 00:23
How to combine UDF and Scheme? ali hemmati Fluent UDF and Scheme Programming 3 March 19, 2011 14:45


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