|
[Sponsors] |
February 25, 2013, 12:08 |
Tissue Engineering
|
#1 |
New Member
Tim Maguire
Join Date: Sep 2009
Posts: 19
Rep Power: 17 |
I had a quick question. I am just trying to model "uptake" of a compound by biological cells on one of the walls.
I wasnt planning on using the transport and species reaction setup because I then need a complex reaction calculation to occur at the site of uptake, i.e. a wall face. Which UDF function should I use for this? I am guessing it is more of an adsorption problem than a surface reaction problem. Thanks! -Tim |
|
February 25, 2013, 16:18 |
|
#2 |
New Member
Tim Maguire
Join Date: Sep 2009
Posts: 19
Rep Power: 17 |
As an update I am using the DEFINE_PROFILE macro. I want to try it to setup an inlet concentration first, and then use if to specify a flux at another wall once I know I have it working.
I tried the following code, which seems to run, but the concentration within the flow volume, but it seems that the whole flow volume is then immediately filled at the same concentration, specified by the UDF. Code:
#include "udf.h" /****************************************************************** UDF that sets the inlet concentration *******************************************************************/ /* define the constants */ #define CON 4.68 /* []= mol/m3 */ /* DEFINE_PROFILE is a fluent defined macro to define a custom boundary profile thatvaries as a function of spatial coordinates or time */ DEFINE_PROFILE(face_conc, thread, position)/* define O2 inlet conc */ { face_t f; /* is an integer index that identifies a particular face within a given thread */ begin_f_loop(f, thread) /* starts a loop */ { /* F_Profile specifies the function */ F_PROFILE(f, thread, position) = CON; /* In this case equal to a constant defined earlier */ } end_f_loop(f, thread) /* end of the loop */ } |
|
Tags |
cfd, fluent, tissue engineering |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aerospace Engineering Graduate Study at TU Delft | pkrbest | Main CFD Forum | 0 | January 19, 2010 06:32 |
CFD and Chemical Engineering | tai | Siemens | 0 | July 3, 2008 01:33 |
Diffusion from fluid region into porous tissue. | Lindz | FLUENT | 0 | August 3, 2007 08:34 |
Monitoring Engineering Behaviour | Yehia | Siemens | 0 | March 14, 2007 06:48 |
Engineering CFD training period | DESERT Jean-Michel | Main CFD Forum | 1 | August 10, 1998 13:02 |