![Page 1: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/1.jpg)
Implementation of soot model in aachenBomb tutorial
-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology
Dec-9-2015, CFD with OpenSource software
![Page 2: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/2.jpg)
Overview
● Learning Objectives● Introduction● Computational domain and boundary conditions● Input files for the aachenBomb case● Introduction to soot modelling● Modification of existing soot model● Implementation● Post processing and a look into sampleDict
![Page 3: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/3.jpg)
Learning Objectives● Introduction to combustion solvers in openFOAM 3.0.x and insight into the
aachenbomb case of the sprayFoam solver
● learn how to set up the aachenbomb case and use the sprayFoam solver
● learn how to implement a soot model into the aachenBomb tutorial
● learn some basic post processing techniques in openFOAM paraView
![Page 4: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/4.jpg)
Introduction to aachenBomb tutorial
● Computational model to simulate combustion stroke conditions in Internal Combustion Engines
● Computational domain identical to constant volume combustion chamber setup in ECN Sandia
● Boundary conditions in accordance with Engine Combustion Network
![Page 5: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/5.jpg)
Combustion solvers in OpenFOAM 3.0.x
In this tutorial focus the focus is on sprayFoam
![Page 6: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/6.jpg)
Geometry and boundary conditions Dimensions : 0.02x0.1x0.02m Fuel Injection in the middle directed in negative y
Boundary conditions
![Page 7: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/7.jpg)
Input files for the aachenBomb tutorial
![Page 8: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/8.jpg)
Introduction to soot modeling● Basic combustion chemistry
● Soot model based on existing OpenFOAM model
● Mixturefraction soot model
● Developed for fireFoam solver (methane combustion)
● Here it is modified for n-Heptane combustion
![Page 9: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/9.jpg)
● Simple state model
● It is not solved separately
● Based on mass fraction of CO2
● Drawback: Calculates soot at all times whenever CO2 is produced
![Page 10: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/10.jpg)
Modification of soot model● Soot produced only in fuel rich regions
● Satisfy the following condition:
![Page 11: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/11.jpg)
Implementation of the soot model● Copying and renaming the soot model
![Page 12: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/12.jpg)
Modify the code
![Page 13: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/13.jpg)
Create IO Object to output calculated soot value
![Page 14: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/14.jpg)
● Compile the soot model contained in radiation model library
![Page 15: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/15.jpg)
Copying and renaming the sprayFoam solver
● The sprayFoam solver has to include the modified radiation library
● Change Make/files and Make/options
● Compile the solver
![Page 16: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/16.jpg)
Running the aachenBomb case
● Add radiationProperties file from
● This file includes the input for soot model
![Page 17: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/17.jpg)
● Also add soot file in the 0/ folder for
● This is required by the soot model as initial conditions (specified in IO object)
● The case is now ready to be run
![Page 18: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/18.jpg)
Post processing Tracking lagrangian particles using glyph
![Page 19: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/19.jpg)
Slice of Temperature after combustion has started
Time, t=1.4ms
![Page 20: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/20.jpg)
Comparison of soot models Slice of soot at t=1.4ms
Existing model Modified model
![Page 21: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/21.jpg)
Slice of CO2 at t=1.4ms
![Page 22: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/22.jpg)
A look into sampledict
Soot distribution versus x-distance at t=1.4ms, for y=0.05m and z=0.05m
![Page 23: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/23.jpg)
Summary
● Introduction to the aachenBomb tutorial
● Introduction to soot modeling
● Implementation of soot model source code
● Implementation of the sprayFoam solver
● Post processing and a look into sampleDict
![Page 24: Implementation of soot model in aachenBomb tutorialImplementation of soot model in aachenBomb tutorial-Vignesh Pandian Muthuramalingam-PhD student, Chalmers university of Technology](https://reader035.vdocuments.net/reader035/viewer/2022071016/5fcf44c7ed0f0a27c31fc1fa/html5/thumbnails/24.jpg)
Thank you!