CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

doubt in concentration update in each time step.....?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2018, 09:55
Default doubt in concentration update in each time step.....?
Join Date: Apr 2017
Location: india
Posts: 96
Rep Power: 8
sooraj546 is on a distinguished road
I am writing a udf for the volumetric rate: the vr rate is defined in terms of one of the concentration of the reacting species using Arrhenius eq , so after first time step the new concentration will be the concentration after rate calculation, will it update automatically or i have to specify some thing !

real temp= C_T(c,t);

Y_fe2o3=C_YI(c, t, 0);/*mass fraction*/
X_fe203=Y_fe203*C_R(c, t); /*( kg/m3 )*/

if (!strcmp(r->name, "reaction-1"))

*rate= -((28.432*pow(10,17))*exp(-607*1000/(8.314*temp))*X_fe2o3);/* kg/m3-sec*/


Kindly help me out ............thanks a lot in advance
sooraj546 is offline   Reply With Quote


fluent - udf - parallel, udf code, volumetric reaction

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
Time Step Continuity Errors simpleFoam Dorian1504 OpenFOAM Running, Solving & CFD 1 October 9, 2022 09:23
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34

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