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

Difference between (DEFINE_VR_RATE) & (DEFINE_HET_RXN_RATE)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Dri

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2018, 10:35
Default Difference between (DEFINE_VR_RATE) & (DEFINE_HET_RXN_RATE)
  #1
New Member
 
Mohamed Sobhi
Join Date: Sep 2017
Posts: 4
Rep Power: 9
Moha Sobhi is on a distinguished road
Dear all;

Can anyone help me in understanding the main difference(s) between (DEFINE_VR_RATE) & (DEFINE_HET_RXN_RATE) user-defined function types?
Moha Sobhi is offline   Reply With Quote

Old   July 13, 2018, 11:29
Default
  #2
Dri
New Member
 
Adriana
Join Date: Oct 2012
Location: Canada
Posts: 7
Rep Power: 14
Dri is on a distinguished road
Hi there,

One of the main difference is the number of phases involved in your simulation. If you have one phase, then you use DEFINE_VR_RATE, while if you have multiple phases, where there is reaction among phases, then you use DEFINE_HET_RXN_RATE. There could be other differences depending on your simulation, so I encourage you to look at the theory guide and the UDF manual for further description on the macros. They are helpful.
Moha Sobhi and souza.emer like this.
Dri is offline   Reply With Quote

Old   January 8, 2019, 10:10
Default
  #3
Member
 
Emerson
Join Date: May 2018
Posts: 35
Rep Power: 8
souza.emer is on a distinguished road
Quote:
Originally Posted by Dri View Post
Hi there,

One of the main difference is the number of phases involved in your simulation. If you have one phase, then you use DEFINE_VR_RATE, while if you have multiple phases, where there is reaction among phases, then you use DEFINE_HET_RXN_RATE. There could be other differences depending on your simulation, so I encourage you to look at the theory guide and the UDF manual for further description on the macros. They are helpful.
But, could am I use the two UDF's?
DEFINE_VR_RATE and DEFINE_HET_RXN_RATE at the same time?

And one more thing, the DEFINE_VR_RATE macro could be used in a heterogeneous reaction environment? Like, the reaction
C + O2 = CO2
Where I used one UDF to modify the Reaction Rate with DEFINE_HET_RXN_RATE, and now I'm having trouble with carbon (C) consumption, it's not lowering =/


souza.emer 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
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 07:51
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 14:10
the effect of upwind difference hades Main CFD Forum 8 March 15, 2009 00:43
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 18:52
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 23, 2005 00:49


All times are GMT -4. The time now is 19:30.