CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   Passive scalar initial condition (http://www.cfd-online.com/Forums/cd-adapco/56618-passive-scalar-initial-condition.html)

Adam May 12, 2008 12:47

Passive scalar initial condition
 
I am trying to model Taylor-Aris dispersion in a pipe. The flow field is steady-state. I need to partition the initial concentration along the axis of the pipe so that there is a thin "disc" with uniform, dilute concentration somewhere in the pipe and zero outside that region. In more precise terms, I need to define a square wave along the z-coordinate while maintaining symmetry along r and theta. Has anyone done this?... or have an idea of how to start? It seems like it should be relatively simple but I've been working at it for a while

Adam May 13, 2008 17:23

Re: Passive scalar initial condition
 
In case anyone is curious the trick is to define different cell types of the same material, then write a user subroutine to select a certain type and change the concentration.


All times are GMT -4. The time now is 04:44.