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, 09:35
Default Difference between (DEFINE_VR_RATE) & (DEFINE_HET_RXN_RATE)
  #1
New Member
 
Mohamed Sobhi
Join Date: Sep 2017
Posts: 4
Rep Power: 8
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, 10:29
Default
  #2
Dri
New Member
 
Adriana
Join Date: Oct 2012
Location: Canada
Posts: 7
Rep Power: 13
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, 09:10
Default
  #3
Member
 
Emerson
Join Date: May 2018
Posts: 35
Rep Power: 7
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 06:51
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 13:10
the effect of upwind difference hades Main CFD Forum 8 March 14, 2009 23:43
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 17:52
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 22, 2005 23:49


All times are GMT -4. The time now is 08:20.