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

How can I add mass source or area source(if possible) to a Wall boundary in Fluent?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By torjo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2020, 02:59
Default How can I add mass source or area source(if possible) to a Wall boundary in Fluent?
  #1
New Member
 
THA SEANGHAI
Join Date: Aug 2020
Location: Cambodia
Posts: 25
Rep Power: 6
THA SEANGHAI is on a distinguished road
Hello! I want to know how to add mass source [kg/m³s] or if it is possible I prefer to add area source [kg/m²s] to a boundary in fluent. How can I do it? Please help me! Thank You!
THA SEANGHAI is offline   Reply With Quote

Old   September 9, 2020, 09:41
Default Possible solution
  #2
New Member
 
Join Date: Apr 2018
Posts: 8
Rep Power: 8
torjo is on a distinguished road
Hi,

I think you need to turn to UDF programming to do this.

Either:
Create a define_source UDF, in which you identify cells at the wall somehow and apply the source you would like.

Or (and probably better):
Create a define_adjust UDF, in which you do a face loop on the thread of the wall, use F_C0 and THREAD_T0 to identify the cell corresponding to the face, and set a C_UDMI corresponding to the source you would like.
Then create a define_source UDF that sets the source term to the C_UDMI value.

BR.
Torjo
THA SEANGHAI likes this.
torjo is offline   Reply With Quote

Old   September 9, 2020, 21:51
Default
  #3
New Member
 
THA SEANGHAI
Join Date: Aug 2020
Location: Cambodia
Posts: 25
Rep Power: 6
THA SEANGHAI is on a distinguished road
Quote:
Originally Posted by torjo View Post
Hi,

I think you need to turn to UDF programming to do this.

Either:
Create a define_source UDF, in which you identify cells at the wall somehow and apply the source you would like.

Or (and probably better):
Create a define_adjust UDF, in which you do a face loop on the thread of the wall, use F_C0 and THREAD_T0 to identify the cell corresponding to the face, and set a C_UDMI corresponding to the source you would like.
Then create a define_source UDF that sets the source term to the C_UDMI value.

BR.
Torjo
Thank for your idea!I am very young in UDF, I will take a look at what you said, and I will come here again if I do not understand anything!
THA SEANGHAI 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 17, 2020 00:44
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 19:02
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 11:00
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07


All times are GMT -4. The time now is 14:15.