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

Getting "p" properties at injection from knowing "p" at wall in DEFINE_DPM_BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2015, 05:30
Default Getting "p" properties at injection from knowing "p" at wall in DEFINE_DPM_BC
  #1
New Member
 
Join Date: Apr 2015
Posts: 28
Rep Power: 11
Manathan is on a distinguished road
Hello everyone !

I'm using DEFINE_DPM_BC to know identify which stream/particle hit my wall and so i can recover the accretion rate for each cell along the wall that was hit.

But I also need to know the initial flow rate corresponding to the same particle but at its injection.
Basically I need :

P_FLOW(p_wall) => I obtain it since my p in DEFINE_DPM_BC correspond to the particle at the wall
P_FLOW(p_injection) => with p_injection coming from the same stream than p_wall



Do you have any idea how to get it ?
Manathan is offline   Reply With Quote

Old   April 9, 2015, 05:51
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
The macro P_FLOW_RATE(p) gives the injection stream's flow rate [kg/s].
`e` is offline   Reply With Quote

Old   April 9, 2015, 05:56
Default
  #3
New Member
 
Join Date: Apr 2015
Posts: 28
Rep Power: 11
Manathan is on a distinguished road
Thanks !

So now I need to divide this mass flow rate by the face area through which the stream is going at injection (first cell).
I've identified the first cell(c,t) for each stream and thought using thoes function C_FACE(c,t,i) to identify "f" and C_FACE_THREAD to identify "t" of the specific face and use F_AREA(A,f,t) to obtain the face AREA I need at injection.

My problem is the index "i", I don't know its value because I don't know the convention of the index for cell, especially for cell at inlet.

Do you have any ideas please ?

Last edited by Manathan; April 9, 2015 at 07:36.
Manathan 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
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
Wall Bc with injection murat Main CFD Forum 0 February 26, 2003 13:28
properties on the grid next to the wall raharjo FLUENT 2 December 7, 2001 12:59
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 01:16


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