CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Species Transport and Diffusion in OpenFOAM 11

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2024, 04:32
Default Species Transport and Diffusion in OpenFOAM 11
  #1
New Member
 
Engineer
Join Date: Mar 2013
Posts: 27
Rep Power: 13
nnprashant is on a distinguished road
Hallo Foamers,

I want to explain in detail, the task at hand and the outcome of results using OpenFOAM v11 and comparing it with ANSYS Fluent

The task is a classical T-Junction Pipe with 2 inlets and a single outlet. The flow media is a multicomponent (O2, N2, H2Og, H2) non-reacting compressible gas with different mass flow rates. The main goal is to investigate the H2 Diffusion in Pipe and at outlet.

A total of 4 meshes (Hexa, Poly, PolyHexaCore and Tetrahedral) were used to monitor the impact of discretization error in OpenFOAM.

To properly capture turbulence, wall resolved meshes were created and Realizable K-Epsilon turbulence model was chosen. To avoid abrupt fall of K residuals for Realizable K Epsilon model, the simulations were started with Standard KEpsilon and were dynamically changed to Realizable K Epsilon.

Different parameters like Wall Yplus, H2 Diffusion, WallShearStress were chosen to compare the effect of mesh type and find the differences between OpenFOAM and Ansys Fluent.

In OpenFOAM, all schemes are set to Second order and a robust FvSolution was defined which was suitable for all mesh types.

What are the findings :
[LIST] Except for Hexa mesh, the H2 diffusion in the pipe is really large even when using second order schemes. Is it a known issue or is there any solution to it.
  • The result of Poly Hexa Core mesh in OpenFOAM matches good with Ansys Fluent with the same mesh, when 1st Order Upwind scheme for species transport is selected in Ansys Fluent.
The Hexa result in OpenFOAM matches good with the Poly Hexa Core with Ansys Fluent using 2nd Order Upwind scheme for species transport is used.

Please find the pictures attached and any help or suggestion is highly appreciated.


Physical Properties:
FoamFile
{
format ascii;
class dictionary;
location "constant";
object physicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heRhoThermo;
mixture multicomponentMixture; // coefficientWilkeMulticomponentMixture ;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}


defaultSpecie N2;

#include "thermo.compressibleGas"



I have tried both the mixture properties mentioned above and no change in the final result of H2 diffusion was observed.

Main question is as how to set the gradient of the species solver in OpenFOAM v11 to second order ?
Attached Images
File Type: jpg Pic-1.jpg (137.9 KB, 27 views)
File Type: jpg Pic-2.jpg (101.6 KB, 18 views)
File Type: jpg Pic-3.jpg (97.8 KB, 14 views)

Last edited by nnprashant; June 26, 2024 at 11:43.
nnprashant is offline   Reply With Quote

Old   June 26, 2024, 10:29
Default
  #2
New Member
 
Engineer
Join Date: Mar 2013
Posts: 27
Rep Power: 13
nnprashant is on a distinguished road
Main question is as how to set the gradient of the species solver in OpenFOAM v11 to second order ?

Last edited by nnprashant; June 26, 2024 at 11:43.
nnprashant is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Diffusion with Species transport model Cerbadave FLUENT 0 March 3, 2023 11:37
How to model species transport only due to diffusion? adhicurry ANSYS 0 May 25, 2021 17:51
Moisture diffusion by species transport between air and porous desiccants jas123 FLUENT 1 April 14, 2019 13:51
inlet diffusion at the species transport ahchoo FLUENT 1 May 8, 2017 00:19
Regarding Species Transport for Diffusion kayne91 FLUENT 0 September 8, 2013 01:12


All times are GMT -4. The time now is 21:59.