|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hello
I want to model the O2 consumption on tissue surface as Michaelis-Menten equation, which states: R=Vm*Ci/(K+Ci) where Vm and K are constant and Ci is O2 concentration at the wall. In UDF (DEFINE_SR_RATE) Ci is defined by the molar concentration, therefore I have to convert it by multiplying the mass fraction of O2 by density and divide it by the molar weight, am I right?. I think the density must be defined at the centre not the face and in surface reaction is defined at the face, so how can I get the density at the cell centre? please help!!. Thanks |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
DEFINE_SR_RATE(user_rate,f,t,r,mole_weight,species _mf,rate) {
dcell = C_R(F_C0(f,t),t->t0); *rate = /*kmol/m2-s */ } |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
Hi Saghir,
Thanks, but can please explain more?. I tried to do like this: Thread *t0=t->t0; cell_t c0=F_C0(f,t); c1=C_R(c0,t0)*s1/mw1; but i got this msg "structure reference not implemented". Regards |
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
you must write directly
reel dcell; dcell = C_R(F_C0(f,t),t->t0); or Thread *t0; cell_t c0; c0 = F_C0(f,t); t0 = THREAD_T0(t); reel dcell; dcell = C_R(c0,t0); |
|
![]() |
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
hi, can u explain about ur problem.
|
|
![]() |
![]() |
![]() |
#6 |
Guest
Posts: n/a
|
Thanks Saghir,
i guess my problem is in the compiler, I will try to install a new one and try agin. many thanks, Hi Suribabu, my problem is mentioned in the first post here by Jon. Regards, |
|
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
methane steam reforming reaction rate... | yerem3 | FLUENT | 0 | August 30, 2010 10:43 |
mass flow rate on the Iso-clip surface & interior | Sunil Gupta | FLUENT | 0 | April 22, 2008 10:29 |
Wall Surface Reaction!!!! | ansonkuo | FLUENT | 0 | December 24, 2007 03:15 |
accessing sover data for surface deposition rate | Ashish Jain | FLUENT | 0 | June 4, 2005 04:39 |
backwards surface reaction | Andrew Garrard | FLUENT | 2 | May 15, 2003 09:14 |