|
[Sponsors] |
doubt in concentration update in each time step.....? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 4, 2018, 10:55 |
doubt in concentration update in each time step.....?
|
#1 |
Member
Join Date: Apr 2017
Location: india
Posts: 96
Rep Power: 9 |
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*/ *rr_t=*rate; } } Kindly help me out ............thanks a lot in advance |
|
Tags |
fluent - udf - parallel, udf code, volumetric reaction |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
Time Step Continuity Errors simpleFoam | Dorian1504 | OpenFOAM Running, Solving & CFD | 1 | October 9, 2022 10:23 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |