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

How to remove any diffusion on reactingFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2018, 15:56
Default How to remove any diffusion on reactingFoam?
  #1
New Member
 
Vitor Dal Bó Abella
Join Date: May 2016
Posts: 6
Rep Power: 10
2vdba2 is on a distinguished road
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)
2vdba2 is offline   Reply With Quote

Old   September 6, 2018, 05:35
Default
  #2
Member
 
benoit favier
Join Date: Jun 2017
Posts: 64
Rep Power: 8
Benben is on a distinguished road
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.
Benben is offline   Reply With Quote

Old   September 11, 2018, 04:00
Default
  #3
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Quote:
Originally Posted by 2vdba2 View Post
This effect intensifies a specie mass fractions is close to 1. If the problem is due to numeric schemes, which one should I use?
Holzmann CFD did a study comparing the numerical solution of different schemes, which you can find here.


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
RobertHB is offline   Reply With Quote

Reply

Tags
reactingfoam; diffusion


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
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


All times are GMT -4. The time now is 01:50.