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

Volume flow rate and assinged pressure on a BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2017, 10:57
Default Volume flow rate and assinged pressure on a BC
  #1
Member
 
Tarantino
Join Date: Feb 2013
Posts: 46
Rep Power: 13
Tarantino is on a distinguished road
Hello all!

In a UDF, I need to return the volume flow rate on a pressure outlet boundary. How can I do so? Is there any macro for this?

In addition, I want to return the pressure outlet which was assigned to that boundary.
I want to know how this can be done? Is there any macro for this?

Thanks.
Tarantino is offline   Reply With Quote

Old   September 17, 2017, 21:24
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Quote:
Originally Posted by Tarantino View Post
Hello all!

In a UDF, I need to return the volume flow rate on a pressure outlet boundary. How can I do so? Is there any macro for this?

In addition, I want to return the pressure outlet which was assigned to that boundary.
I want to know how this can be done? Is there any macro for this?

Thanks.

Hello

Answers to these questions can be found in fluent tutorials. See ANSYS Fluent Tutorial Guide
However,
monitor for volume flow rate:
In fluent GUI go to solution -> Monitors -> Surface Monitors -> create ->
you may plot (to window) and/or write (to file) on each iterations (for stedy-state) or each timestep (transient) -> under Report Type choose Volume flow rate -> select outflow under Surfaces list -> OK


monitors for pressure:

all the same, but under Report Type choose Area-Weight Average-> Field Variable is Pressure -> Static Pressure -> select outflow under Surfaces list -> OK

Read manual
Best regards
AlexanderZ is offline   Reply With Quote

Old   September 18, 2017, 01:32
Default
  #3
Member
 
Tarantino
Join Date: Feb 2013
Posts: 46
Rep Power: 13
Tarantino is on a distinguished road
Hi AlexanderZ,

I think you didn't read my question or you misunderstood!
I want to return volume flow rate and assigned pressure on a pressure outlet boundary in a UDF not in TUI!!
Tarantino is offline   Reply With Quote

Old   September 18, 2017, 23:57
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Hello

I missed your point about UDF.

Read ANSYS Fluent Customization Manual
3.2.4.4. Flow Variable Macros at Interior and Boundary Faces

F_P(f,t) built in macros for Pressure on boundary
F_FLUX(f,t) built in macros for mass flow rate on boundary

Try to search tutorials with these functions

Best regards
AlexanderZ 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



All times are GMT -4. The time now is 10:25.