|
[Sponsors] |
April 6, 2003, 16:53 |
Mass fraction via Cel file at outlet
|
#1 |
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 |
|
April 7, 2003, 11:49 |
Re: Mass fraction via Cel file at outlet
|
#2 |
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 |
|
April 7, 2003, 12:54 |
Re: Mass fraction via Cel file at outlet
|
#3 |
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 |
|
April 28, 2003, 10:14 |
Re: Mass fraction via Cel file at outlet
|
#4 |
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 |
|
|
|
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 02:24 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 08:22 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |