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

Mass fraction via Cel file at outlet

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 6, 2003, 15:53
Default Mass fraction via Cel file at outlet
  #1
Jens
Guest
 
Posts: n/a
Hi,

I have a problem when I would like to calculate the averaged mass fraction of a mixture at thought the outlet.

The case is mixing two fluids in a large tank. The fluid is extracted using an outlet with a pump and then injected at another possition in the tank.

How can I calculate the averaged mass fraction thought the outlet area and then use this to specify the mass fraction at the inlet ???

Thanks.

Regards

Jens
  Reply With Quote

Old   April 7, 2003, 10:49
Default Re: Mass fraction via Cel file at outlet
  #2
Robin
Guest
 
Posts: n/a
Hi Jens,

Assuming a multicomponent fluid called "Fluid", a component named "componentA", and you are measuring flow at a boundary named "Outlet", the following expression will do the trick:

massFlowAve(Fluid.componentA.mf)@Outlet

Regards, Robin
  Reply With Quote

Old   April 7, 2003, 11:54
Default Re: Mass fraction via Cel file at outlet
  #3
windhair
Guest
 
Posts: n/a
In CFX 4, you can write a output file using Command file:
:>PATCH DATA PATCH NAME 'OUTLET' FILE NAME 'OUTLETAVERAGE.DAT' AVERAGE SPEICES1 EACH TIME STEP
  Reply With Quote

Old   April 28, 2003, 09:14
Default Re: Mass fraction via Cel file at outlet
  #4
Jens
Guest
 
Posts: n/a
Hi

I am having some problem setting the mass fraction using the method you describe.

I keep getting error:

"and then error found at item: massFlowAve

unrecognised name

Error processing expression: Mass Fraction = scAn error has occurred in cfx5solve: "

I define the massfraction in the cel file as:

sc = massFlowAve(Mixture.SodiumChlorite.mf)@outlettop

Can you give me any hints on what the problem is ???

Thanks

Regards

Jens

  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
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 07:16.