|
[Sponsors] |
ScalartranportFoam solving with chemical reaction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 13, 2017, 03:43 |
ScalartranportFoam solving with chemical reaction
|
#1 |
New Member
Join Date: Apr 2014
Posts: 8
Rep Power: 12 |
Dear Foamers,
i have some trouble with solving the scalar transport equation in conjunction with a chemical reaction in the concentration field. The simulation task sketches as follows: Two Species are transported along a computational domain. When some amount of species A touches Species B a chemical reaction (sink in the concentration field) takes place. The simulation works for moderate Diffusion and chemical reaction strength. When the reaction strength is rised, the simulation is still stable, but there are heavy unphysical oscillations inside the domain. The oscillations come along the conncection lines with the underlying blocks of the block structured mesh. The code is actually working, so in my opinion is seems like i took the wrong options for the simulation. A picture of the error and of the used descritization schemes is included. Has anyone a hint, how what could be the problem? Regards Christian |
|
March 17, 2017, 04:19 |
|
#2 |
New Member
Sebastian
Join Date: Feb 2017
Posts: 22
Rep Power: 9 |
Hi Christian,
in which way you modeled the reaction? Is the sink term modeled as some reaction rate times the concentration (e.g. r_c*C, with C the concentration)? Am I correct that the reaction rate is only non-zero at the interface? If this is the case, you might have large jumps in the coefficients at the interface (when you switch on reaction) and this jumping coefficients can cause oscillations. I started to model flow through a porous medium. Here the resistance is added as source term in part of the domain. porousSimpleFoam produces velocity oscillations around the interface (see e.g. https://bugs.openfoam.org/view.php?id=134 ). Therefore I guess that you might get the same problems with oscillations at your interface. I don't know if those oscillations at interface are a general problem of openFOAM. Maybe some more experienced user can give here more insight. Regards Sebastian |
|
Tags |
chemical reactions, mass transfer, numerical error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |