This content is not included in your SAE MOBILUS subscription, or you are not logged in.
Development of Fully-Automatic Parallel Algorithms for Mesh Handling in the OpenFOAM®-2.2.x Technology
ISSN: 0148-7191, e-ISSN: 2688-3627
Published September 08, 2013 by SAE International in United States
Annotation ability available
The current development to set up an automatic procedure for automatic mesh generation and automatic mesh motion for internal combustion engine simulation in OpenFOAM®-2.2.x is here described. In order to automatically generate high-quality meshes of cylinder geometries, some technical issues need to be addressed: 1) automatic mesh generation should be able to control anisotropy and directionality of the grid; 2) during piston and valve motion, cells and faces must be introduced and removed without varying the overall area and volume of the cells, to avoid conservation errors. In particular, interpolation between discrete fields is frequent in computational physics: the use of adaptive and non-conformal meshes necessitates the interpolation of fields between different mesh regions. Interpolation problems also arise in areas such as model coupling, model initialization and visualisation. This paper discusses the efficient implementation of the sliding interface, an algorithm to handle motion and topological changes in a moving-mesh Finite Volume Method (FVM) framework, that has been implemented to work with the newest mesh handling strategy of OpenFOAM®-2.2.x in a massively parallel environment. The algorithm performs a consistent second order interpolation between flow regions connected through non-conformal interfaces, opening the use of the code to a wide range of applications: the simulation of the piston motion trough scavenging ports in a two-stroke engine, the generation of cylinder grids characterized by a high quality mesh near the valve region, the reduction of the mesh size in external flow calculations. Consistent interpolation across non conformal interfaces represents a very important factor in LES, where discretization error and interpolation errors during mesh motion can have a significant impact on the quality of the results. Finally, in order to automate the mesh generation process of complex engine geometries, the algrithm for mesh motion has been applied to work with STL geometries, that are used for run-time generation of hexahedra and split-hexahedra grids on IC geometries, by a fully parallelised algorithm with automatic domain decomposition, without the loss of any geometric feature.
CitationPiscaglia, F., Montorfano, A., and Onorati, A., "Development of Fully-Automatic Parallel Algorithms for Mesh Handling in the OpenFOAM®-2.2.x Technology," SAE Technical Paper 2013-24-0027, 2013, https://doi.org/10.4271/2013-24-0027.
- Lucchini, T., D'Errico, G., Jasak, H., and Tukovic, Z., “Automatic Mesh Motion with Topological Changes for Engine Simulation,” SAE Technical Paper 2007-01-0170, 2007, doi:10.4271/2007-01-0170.
- OpenCFD Ltd. OpenFOAM®: The open source cfd toolbox, 2013.
- Jasak H.. OpenFOAM®-extend project: the Community-driven Release of OpenFOAM®, 2013.
- Jasak H.. Error analysis and estimation in the Finite Volume method with applications to fluid flows. PhD thesis, Imperial College, University of London, 1996.
- Nuti, M., “Emissions from Two-Stroke Engines,” Society of Automotive Engineers, Inc., Warrendale, PA, ISBN 978-0-7680-7726-1, 1998.
- Juretić F. and Gosman A. D.. Error analysis of the finite-volume method with respect to mesh type. Numerical heat transfer, part B: fundamentals, 57:414-439, 2010.
- Haworth D.C. and Jansen K.. Large-eddy simulation on unstructured deforming meshes: towards reciprocating ic engines. Computers & Fluids, 29(5):493-524, 2000.
- Thobois, L., Rymer, G., Soulères, T., and Poinsot, T., “Large-Eddy Simulation in IC Engine Geometries,” SAE Technical Paper 2004-01-1854, 2004, doi:10.4271/2004-01-1854.
- Piscaglia, F., Montorfano, A., and Onorati, A., “Towards the LES Simulation of IC Engines with Parallel Topologically Changing Meshes,” SAE Int. J. Engines 6(2):926-940, 2013, doi:10.4271/2013-01-1096.
- Piscaglia F., Montorfano A., Onorati A., and Brusiani F.. Boundary conditions and sgs models for les of wall-bounded separated flows: an application to engine-like geometries. Oil & Gas Science and Technology, in press, 2013.
- Greenshields C. J., Weller H. G., Gasparini L., and Reese J. M.. Implementation of semi-discrete, non-staggered central schemes in a colocated, polyhedral, finite volume framework, for high-speed viscous flows. International Journal for Numerical Methods in Fluids, 63(1):1-21, 2010.
- Pope S. B.. Turbulent Flows. Cambridge University Press, 2001.
- Brusiani, F., Forte, C., and Bianchi, G., “Assessment of a Numerical Methodology for Large Eddy Simulation of ICE Wall Bounded Non-Reactive Flows,” SAE Technical Paper 2007-01-4145, 2007, doi:10.4271/2007-01-4145.
- Brusiani, F., Bianchi, G., Baritaud, T., and d'Espinosa, A., “Using LES for Predicting High Performance Car Airbox Flow,” SAE Int. J. Passeng. Cars - Mech. Syst. 2(1):1050-1064, 2009, doi:10.4271/2009-01-1151.
- Piscaglia F., Montorfano A., and Onorati A.. Development of a non-reflecting boundary condition for multidimensional nonlinear duct acoustic computation. Journal of Sound and Vibration, 332(4): 922-935, 2013.
- Morse A., Whitelaw J.H., and Yianneskis M.. Turbulent flow measurement by laserdoppler anemometry in a motored reciprocating engine. Tech. Rep. FS/78/24, 1978.
- Piscaglia, F., Montorfano, A., and Onorati, A., “Improving the Simulation of the Acoustic Performance of Complex Silencers for ICE by a Multi-Dimensional Non-Linear Approach,” SAE Int. J. Engines 5(2):633-648, 2012, doi:10.4271/2012-01-0828.
- Montorfano A., Piscaglia F., and Ferrari G.. Inlet boundary conditions for incompressible les: A comparative study. Mathematical and Computer Modelling, 2011. doi:10.1016/j.mcm.2011.10.077.
- Piscaglia F., Montorfano A., and Onorati A.. Multi-dimensional computation of compressible reacting flows through porous media to apply to internal combustion engine simulation. Mathematical and Computer Modelling, 52(7-8):1133-1142, 2010.
- Piscaglia F., Montorfano A., Ferrari G., and Montenegro G.. High resolution central schemes for multi-dimensional nonlinear acoustic simulation of silencers in internal combustion engines. Mathematical and Computer Modelling, 54(7-8):1720-1724, 2011. doi:10.1016/j.mcm.2010.12.020.
- Piscaglia, F., Montorfano, A., Onorati, A., and Ferrari, G., “Modeling of Pressure Wave Reflection from Open-Ends in I.C.E. Duct Systems,” SAE Technical Paper 2010-01-1051, 2010, doi:10.4271/2010-01-1051.
- Piscaglia F. and Ferrari G.. A novel 1d approach for the simulation of unsteady reacting flows in diesel exhaust after-treatment systems. Energy, 34(12):2051-2062, 2009.
- Piscaglia, F., Montorfano, A., and Onorati, A., “Development of a Multi-Dimensional Parallel Solver for Full-Scale DPF Modeling in OpenFOAM®,” SAE Technical Paper 2009-01-1965, 2009, doi:10.4271/2009-01-1965.