CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   source terms and mixing in CFX (http://www.cfd-online.com/Forums/cfx/18367-source-terms-mixing-cfx.html)

Timothy Pau July 20, 2000 18:36

source terms and mixing in CFX
 
I am currently using CFX, the problem is that I have a cylinderical vessel with two inlets (say inlet1 and inlet2) and an outlet. My supervisor wants me to find the mean residence time of the vessel, and the way he does it in Fluent is that when the fluid from inlet1 carrying species 1 enters the vessel it transforms itself into species 3 at a constant rate, inlet2 is carrying species2. So that the longer the time species1 stays in the reactor the more concentration of species3 it is going to produce. Species 2 is inert. So you end up so a plot of mass fractions of each of the species, in a sense showing areas of the vessel where species1 (from inlet1) is stagnant and where it is not mixing well.

apparently I am meant to use some source terms but being new to CFX I am not sure how the subroutine works or how I am meant to alter it. I was wondering if your expertise could shed somelight on my situation, I think the subroutine is called USRSRC

I would greatly appreciate any help

Hyun S. Lee July 27, 2000 22:55

Re: source terms and mixing in CFX
 
Dear Timothy Pau

Please check out the following CFX user subroutine archieve which contains several useful user fortran files including "USRSRC.f". Click the icon!!

http://bgtibm1.me.uiuc.edu/people/d-...subroutine.gif

Plus, some lecture material written by Simon Lo would help your understanding. Please contact CFX agent.

Regards, Hyun S. Lee

Yi August 8, 2000 11:32

Re: source terms and mixing in CFX
 
hi,

I am trying to simulate a flow field with multiple gas injections inside the domain. More specifically, primary gas is injected from bottom INLET; secondary gas is injected at several points in the flow domain.

Is it possible to only use the commond lines to implement the simulation using CFX4.3?

Thanks in advance.

Yi

Yi August 9, 2000 06:11

Re: source terms and mixing in CFX
 
Forget this post. I solved it aleady.


All times are GMT -4. The time now is 08:06.