|
[Sponsors] |
How can I get mole fraction on boundary condition instead of mass fraction? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 4, 2022, 08:18 |
How can I get mole fraction on boundary condition instead of mass fraction?
|
#1 |
New Member
Alper
Join Date: Jan 2022
Posts: 5
Rep Power: 4 |
This is my N2 initial conditions. But it's mass fraction. How can I get mole fraction on boundary condition instead of mass fraction?
Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class volScalarField; location "0"; object N2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0.76162; boundaryField { inletfuel { type fixedValue; value uniform 0.74819; } inletair { type fixedValue; value uniform 0.76162; } outlet { type inletOutlet; inletValue uniform 0.76162; value uniform 0.76162; } axis { type empty; } leftside { type zeroGradient; } burnerwall { type zeroGradient; } burnertip { type zeroGradient; } front { type wedge; } back { type wedge; } } // ************************************************************************* // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 21:43 |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 16, 2020 23:44 |
Match Pressure Inlet/Outlet Boundary Condition Mass Flow Rate | MSchneid | Fluent UDF and Scheme Programming | 3 | February 23, 2019 06:00 |
Conversion of mass fraction to mole fraction in FLUENT | prince_pahariaa | FLUENT | 0 | August 26, 2014 08:08 |
Overflow Error in Multiphase Modelling with Two Continuous Fluids | ashtonJ | CFX | 6 | August 11, 2014 14:32 |