CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

Gas Concentration errors with SORSCA and FLUINJ

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 18, 2008, 11:04
Default Gas Concentration errors with SORSCA and FLUINJ
  #1
Emmanuel Resch
Guest
 
Posts: n/a
Hi, I am having some confusing problems with mass removal and redistribution. The physical setup is a 2d structured mesh, quasi-rectangular domain (one large rectangle for channel flow, with a smaller rectangle on top which represents a porous ceramic), with helium as a background fluid and hydrogen and water as scalars. The cells along the upper boundary of the smaller rectangle have a mass removal condition (using FLUINJ) and scalar redistribution (using SORSCA) such that hydrogen is consumed and water is produced. The larger rectangle has standard inlet and outlet conditions. There are symmetry conditions on the sides and bottom, so that 2-D axisymmetric flow is simulated. I have density set as ideal gas as a funtion of T and p.

My UDFs seem to be working fine. The problem is that the overall mass balance doesn't make any sense. It seems that the outlet density and inlet density are somehow fixed to not vary, although there is variation within the domain. This is the same for the mass fractions and concentrations for inlet and outlet for both scalars remain the same. What should be happening, from inlet to outlet, is that hydrogen is to be consumed along the length, water should be produced along the length, and the fluid density should thus increase along the length.

Does anyone have any suggestions?
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SORSCA & FLUINJ KK CD-adapco 2 January 30, 2008 07:43
FLUINJ + PDF COMBUSTION Jorge CD-adapco 3 March 14, 2006 13:50
fluinj.f CMB CD-adapco 1 October 16, 2003 04:22
cell Area in SORSCA & FLUINJ july CD-adapco 5 June 4, 2002 08:04
FLUINJ USER SUBROUTINE! Spyridon CD-adapco 8 May 22, 2002 05:31


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