# simple diffusion problem

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

 May 21, 2010, 07:40 simple diffusion problem #1 New Member   Join Date: Apr 2010 Location: Athens, Greece Posts: 15 Rep Power: 8 I'm trying to simulate a simple -only- diffusion problem (steady state). There is a box that its lower face produces CO2. The top face of the box has an opening and the box is surrounded by air (at 25C). Finally there should be due only to diffusion a mix of air and CO2 inside the box (is it not?). There are no velocites at all (as i said only diffusion and no convection). What boundaries should i use supposing that initially there is no CO2 in the box (initialisation -> V=0 and CO2 mass fraction=0.0 in the domain)? LOWER FACE: WALL type and define a source of C02 (flux). OR INLET type with velocity equal to 0 and mass fraction of CO2 equal to 1.0 TOP FACE: OPENING type with pressure equal to 0 and mass fraction of CO2 equal to 0. (air is defined as constraint so its mass fraction there would be 1.0) OR OUTLET type with Pres=0 OR SOMETHiNG ELSE????????? I get no good results with everything i try? Maybe my setup has a flaw buit i have checked everything many times.....Anyway is only diffusion and no convection problems solvable in CFX?

 May 22, 2010, 07:02 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 12,638 Rep Power: 98 You could set this up with mass fractions and use the expert parameters to not solve the fluids, heat transfer and turbulence equations. Then the only equation being solved would be the mass fraction and you would get a diffusion model. A simpler approach may be to map it across to a thermal simulation. CFX supports a thermal only simulation for solids. Map mass fractions across to temperature and diffusivity to thermal conductivity.

 May 25, 2010, 08:33 #3 New Member   Join Date: Apr 2010 Location: Athens, Greece Posts: 15 Rep Power: 8 Thanks a lot ghorrocks......just did it and it seems correct for the first time

 Tags diffusion, no convection, steady state

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post openfoam1 OpenFOAM 2 January 27, 2010 15:17 katakgoreng Main CFD Forum 4 December 28, 2009 05:09 Jouch FLUENT 4 October 21, 2004 22:28 Mikhail Main CFD Forum 40 September 9, 1999 09:11 Davy Main CFD Forum 0 August 21, 1998 06:19

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