Description of Reactingtwophaseeulerfoam Solver With A Focus On Mass Transfer Modeling Terms
Description of Reactingtwophaseeulerfoam Solver With A Focus On Mass Transfer Modeling Terms
Submitted by:
Thummala Phanindra Prasad,
Environmental Engineering Department,
Anadolu University of Technology,
Esksiehir, Turkey
This presentation is submitted as part of project work
for the course “CFD with Open Source Software” ,
taught by Prof.Hakan at Chalmers University of
Technology, Sweden
Submitted to:
Prof. Hakan Nilsson,
Department of Applied Mechanics,
Division of Fluid Dynamics, at Chalmers
University of Technology in Sweden.
Overview
Mass Transfer process
Overview of the code
Species transport equation
Tutorial
Limitations
Mass transfer process
The main difference between heat and mass transfer processes is that at the
interface the temperature will remain same in both the phases but the
concentration varies . It can be determined from VLE curves or any other
equilibrium relations like Henry’s law, Saturation model law etc…
Overview of the Source code
The source code of the solver is located at:
$FOAM_APP/solvers/multiphase/reactingEulerFoam/
reactingTwoPhaseEulerFoam/reactingTwoPhaseEul
erFoam.C
Face momentum formulation (#include
pUf/createDDtU.H) is given in additional to
ccollocated momentum formulation.
Currently it is not clear if this face-based
momentum equation formulation is preferable for
all Euler-Euler simulations (comment from
developers) and hence it must be activated explicitly
Overview of the Source code
The facemomentum formulation can be
activated by explicitly specifying in PIMPLE
controls in casedirectory/system/fvsolution file
as follows:
Species transport equation
In the reactingTwoPhaseEulerFoam.C file the
species transport equation is given by :
#include "YEqns.H”
Using the code in this file the amount of mass transfer of the
species/phase as a whole is calculated.
The left hand side of this equation is a species fraction equation which is
created depending upon the phase model that has been selected. For
example, if the phase model of gas is reactingPhaseModel then on
reading the command the OpenFoam creates the equations for all
individual species as described in:
$FOAM_APP/solvers/multiphase/reactingEulerFoam/phaseSystems/ph
aseModel/MultiComponentPhaseModel/MultiComponentPhaseModel.C
Species transport equation
Species transport equation
The R(Yi) terms are contribution from reactive terms defined for
reacting mixture and accessed by reacting phase model at:
$FOAM_APP/solvers/multiphase/reactingEulerFoam/phaseSystems/p
haseModel/ReactingPhaseModel/ReactingEulerFoam.C
where the term "reaction_" term is a table of species, their reactions and
thermo information retrieved using "foamChemistryReader" key word
when reacting mixture is used as a phase.
The source term R(Yi) is calculated using combustion models available
for "rhoCombustionModel" setting through combustion properties.
They are called
upon when the fluid model (phase model) is "ReactingPhaseModel" as
defined in:
Species transport equation
The source term R(Yi) is calculated using combustion models
available for "rhoCombustionModel" setting through combustion
properties.
They R(Yi)are called upon when the fluid model (phase model) is
"ReactingPhaseModel" as defined in:
$FOAM_APP/solvers/multiphase/reactingEulerFoam/phaseSystems/p
haseModel/phaseModel/phaseModels.C
The combustion model intern refers to the Chemistry model setting
which will be described in a seperate chemistry file corresponding
to the phase.
The chemistry models will generate the source terms R(Yi) and feed
back to the species code. The details of the various chemistry
models and solvers for chemistry can be found at:
$FOAM_SRC/thermophysicalModels/chemistryModel/chemistry
Model/chemistryModel/chemistryModel.H
Tutorial
For understanding the reactingTwoPhaseEulerFoam code let us use a
tutorial named bubbleColumnEvaporatingReacting tutorial located in
$FOAM_TUTORIALS folder
To copy the tutorial type the following command:
cp -r
$FOAM_TUTORIALS/multiphase/reactingTwoPhaseEulerFoam/RAS/b
ubbleColumnEvaporatingReacting $FOAM_RUN
And open the tutorial directory:
cd $FOAM_RUN/bubbleColumnEvaporatingReacting
The file structure is similar to any other standard tutorials and hence I’m
not introducing it explicitly
Tutorial
Problem description:
This tutorial describes how to pre-process, run and post-process a
Water Gas Shift Reaction (WGSR)taking place in a 3D bubble
column reactor. The reacting fluids are reacting gas (AIR,CO) and
pure liquid water. The products formed were CO2 and H2 along with
water vapor. The flow of phases were modeled with Eulerian-Eulerian
Solver. Also, Separate species mass fraction transport equations were
solved for all the individual species involved:CO,H2O,AIR,CO2,H2.
The tutorial helps in understanding the modeling of multiphase
reactive fuids involving reaction, heat and mass transfer between
phases.
Tutorial
Problem description:
The geometry consists of a 3D block with a 0.15x0.1 m2 base and a
length of 1m .The reactor is filled with water till height of 0.5m and
assumed to have 0.1% dissolved air. Air enters from the bottom inlet
at 0.1m/s. The system is initially assumed to be at 400K. The overall
reaction involved is:
Tutorial
Boundary and initial conditions:
The boundary conditions for the
bubbleColumnEvaporatingReacting tutorial are very simple.
All walls are modeled as adiabatic. The reacting gas enters
from the bottom of the column at a speed of 0.1m/s. The AIR
mass fraction in the inlet gas is 0.9 and that of CO is 0.1.
Tutorial
The presence of water initially up to a height of 0.5m is declared by
using setFieldsDict (given in system folder) functionality as given
below: