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

Setting up a UDF to describe a reaction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2019, 18:59
Default Setting up a UDF to describe a reaction
  #1
New Member
 
MCKoz
Join Date: Apr 2018
Posts: 9
Rep Power: 8
dinknflicka is on a distinguished road
Hi all,

I currently have a UDS set up with an inlet species mass fraction. So far, I have included a UDF that describes the decrease in this mass fraction in the volume over time (I am modeling a death rate).

In addition to this setup of modeling a death rate, I want to include a correlation that describes the reaction of this species (those that have not died) into another type of species. I'm currently not sure how to go about doing this.

Do I need to create another UDS that the remaining species can transform into and then apply the reaction correlation to the second UDS? Additionally, would this reaction term use a DEFINE_SOURCE macro, as I did for the death rate of the species? Any guidance would be greatly appreciated on this topic.
dinknflicka is offline   Reply With Quote

Reply

Tags
user defined function


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
A general question on using UDF for defining reaction kinetics Morijef Fluent UDF and Scheme Programming 0 September 19, 2018 16:37
Is it possible to add volumetric udf that is dependent on already specified reaction? sooraj546 FLUENT 0 May 22, 2018 16:05
[help!] Empirical Reaction Rate UDF cinwendy Fluent UDF and Scheme Programming 8 June 14, 2017 08:16
surface reaction UDF taekyu8 Fluent UDF and Scheme Programming 1 June 16, 2013 04:23
UDF : Chemical Reaction in Catalytic Converter adhimac FLUENT 1 March 27, 2001 15:04


All times are GMT -4. The time now is 12:03.