|
[Sponsors] |
August 26, 2018, 15:56 |
How to remove any diffusion on reactingFoam?
|
#1 |
New Member
Vitor Dal Bó Abella
Join Date: May 2016
Posts: 6
Rep Power: 10 |
I am using reactingFoam and I noticed that species spread even if I remove diffusive term on YEqn. How to solve it?
I am simulating a simple 1D Plug Flow Reactor by now and species travel much faster than flow speed due to diffusion. This effect intensifies a specie mass fractions is close to 1. If the problem is due to numeric schemes, which one should I use? fvm::ddt(rho, Yi) + mvConvection->fvmDiv(phi, Yi) //- fvm::laplacian(turbulence->muEff(), Yi) == reaction->R(Yi) + fvOptions(rho, Yi) |
|
September 6, 2018, 05:35 |
|
#2 |
Member
benoit favier
Join Date: Jun 2017
Posts: 64
Rep Power: 8 |
This should not be occuring. Are you sure that you are calling your modified solver, and that the compilation terminated correctly ?
There can be a bit of numerical diffusion when there is convection, but i doubt that there is enough for you to notice. You should provide the source code for your solver and a simplified test case so that this could be reproduced. |
|
September 11, 2018, 04:00 |
|
#3 | |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
Quote:
Please be aware that removing the diffusive term of your transport equation may yield unphysical results. The same way as setting the diffusion coefficient to zero does. If your simulation is to diffusive, increase the flow speed (see Peclet number)
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
||
Tags |
reactingfoam; diffusion |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reactingFoam with constant diffusion | c_dowd | OpenFOAM Running, Solving & CFD | 1 | July 16, 2017 10:00 |
Altering Diffusion in reactingFoam | Speno93 | OpenFOAM Running, Solving & CFD | 0 | July 15, 2017 14:19 |
reactingFoam, UEqn explained and diffusion calculation | DuarteMagalhaes | OpenFOAM Programming & Development | 2 | October 27, 2014 09:24 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
reactingFoam modification for isothermal binary diffusion of gases | LastLantean | OpenFOAM Running, Solving & CFD | 0 | January 25, 2013 04:46 |